A Node.js application using @arduino/arduino-iot-cloud and the new Explore IoT on Heroku.
On the Arduino IoT Cloud, Create a new API and download the resulting Client ID and Secret and set them as environment variables:
export CLIENT_ID="...."
export CLIENT_SECRET="...."
- Create an Heroku application:
heroku create <my-app-name>
- Set the Arduino Client and Secret IDs:
heroku config:set CLIENT_ID="...."
heroku config:set CLIENT_SECRET="..."
- Deploy to Heroku:
git push heroku main
- Open Application:
heroku open