Setting an API key
- Once the module has been installed, you need to set your API Key. To start this, go to https://cloud.lifx.com. Sign in with your lifx account which you use for your bulbs, then click on your email. From here, click settings which will take you to where you can add an API key. Give it a good name so you know what it is used for.


- Then, go to your app. We've made it easy for you to set and change your API key from the program. Just run
lifxAPI.setKey("My-Cool-Key")
, changing "My-Cool-Key" to your api key. Then run the program, and your API key will be saved and remembered. How cool is that?!