• 05/22/2016
  • Public Content

Connecting to Microsoft Azure* with Node-RED*

This guide will walk you through adding the IoT Cloud repository to your Intel® IoT Gateway and adding support for Microsoft Azure* so you can begin developing applications for this platform in your programming language of choice.
This section is geared toward users working with Intel® IoT Gateway Software Suite.


  • Intel® IoT Gateway technology running Wind River* Intelligent Device Platform XT (IDP) 3.1 or above with internet access
  • A host computer on the same network as the Intel® IoT Gateway
  • Terminal access to the Intel® IoT Gateway from your host computer
  • Microsoft Azure account: https://portal.azure.com/
  • If you haven't already, set up your gateway.

Adding the IoT Cloud repository to your Intel® IoT Gateway

  1. Access the console on your gateway using either a monitor and keyboard connected directly to the gateway or SSH (recommended).
  2. Add the GPG key for the cloud repository using the following command:
    rpm --import http://iotdk.intel.com/misc/iot_pub
  3. On your host computer, open a web browser and load the Intel® IoT Gateway Developer Hub interface by entering the IP address of your gateway in the address bar.
    You can find your gateway’s IP address using the
  4. Log in to the IoT Gateway Developer Hub interface using your credentials. The default login and password are both 
  5. Go to the
    section and click the
    Add Repo +
  6. Populate the fields with the following information and click
    Add Repository
    • Name:
    • URL:
  7. Finally, click
    Update Repositories
    to update the package list.

Monitoring device events (Optional)

You can monitor devices in your IoT Hub using the
utility from the command line. There is also a Windows utility called
Device Explorer
if you prefer a visual application: https://github.com/Azure/azure-iot-sdks/blob/master/tools/DeviceExplorer/doc/how_to_use_device_explorer.md
To monitor device events in the command line on your gateway, run the following command (providing your connection string and device name):
iothub-explorer "[YOUR IOT HUB CONNECTION STRING]" monitor-events [YOUR DEVICE NAME]
If the Node-RED flow is deployed and running, you should see the random numbers being sent to Azure in the console output, similar to the screenshot below.

Next Steps

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.