Helix App Cloud provides an eloquent way to develop applications against the gateway from the cloud. It creates a connection between the gateway and the cloud so you can seamlessly develop, execute and debug code on the gateway from the cloud.
Demonstrate how-to connect the Intel IoT gateway to the Helix App Cloud. From there sample code will be available to test.
A) Gateway is connected to Internet
B) You must have an email address to register for Helix App Cloud
Launch Helix App Cloud
From the administration section of the Intel IoT Developer Hub, click the Launch button under the Helix App Cloud Icon
Copy Registration Code
Copy the Unique ID that is provided into your clipboard (ctrl + c). This Unique ID is used to associate your gateway with the Helix App Cloud service. It will be used after you sign-up, and log back in to verify your email.
Register and Verify an HAC Account
Follow the registration steps on Helix App Cloud (if you do not already have an account). If you already have an account, skip this step.
It is important that you verify your email within 20 minutes of copying the code, as it will expire. Please verify your email account at this point.
Add New Device
In Helix App Cloud, click New Device in the top right corner to add a new device.
Click Register an existing device using its unique ID
Paste in the Unique ID. (previously copied into clipboard)
Enter a device name, then click Register Device.
Create New project
Once your gateway is registered you will be able to create a new project. Click, Create new project.
Choose the project template and name the project
Select the JavaScript Hello World project template Name the project HelloWorld.
Open the Project
Click Open on the new project that was created.
When the IDE opens, click the hello.js file from the workspace pane
Click Run to execute the JavaScript on the gateway.
View the Console Output
View the console output at the bottom of the screen. Note how the process was started and run on the gateway and you can see the Hello World output.
Edit the script to log (print) different values and verify you can see the console output below.