1.) Make sure you have node.js installed https://nodejs.org/en/
2.) Get the code and install the modules
3.) edit main.js and set YOUR_ACCESS_TOKEN and YOUR_PRODUCT_ID
4.) enjoy!
#
# Clone this repo!
#
git clone git@github.com:spark/device-provisioning-helper.git
#
# Install the modules
#
cd device-provisioning-helper
npm install
#
# Set YOUR_ACCESS_TOKEN, and YOUR_PRODUCT_ID to match your device
# Edit main.js, these are at the top.
#
# Provision a device!
#
node main.js SOME_NEW_DEVICE