Skip to content
The Things Stack documentation home
Getting Started Concepts Cloud Enterprise Integrations API Hardware
Getting Started Concepts
Cloud Enterprise
Integrations API Hardware
Get The Things Stack

    Recent searches

      Popular pages

      • Getting Started
      • Adding Gateways
      • Adding Devices
      • Payload Formatters
      • Webhooks
      • Authentication

      No results for “”.

      • Check the spelling, or try fewer or more general words.
      • Ask the community on The Things Network Forum
      • Contact support
      ↑↓ to navigate ↵ to open Esc to close

      Integrations

      • Overview
      • Adding Applications
      • Data Formats
      • Payload Formatters
      • Webhooks
      • Storage Integration
      • Integrate with popular IoT platforms
        • akenza
        • AllThingsTalk Maker
        • AnyViz
        • AWS IoT
        • Azure IoT Central
        • Azure IoT Hub
          • Architecture
          • Deployment Guide
          • Managing Devices
          • Messages and Device Twin
          • Update
          • Uninstall
        • Blockbax
        • Blynk
        • Cayenne
        • Cloud Studio
        • Daizy
        • Datacake
        • Delmation Products
        • deZem
        • evrlast
        • Homey
        • InfluxDB Cloud 2.0
        • IoT in a Box
        • IoT Wonderland
        • Kaa
        • Losant IoT Platform
        • MClimate
        • my IoT open Tech
        • Qubitro
        • TagoIO
        • Telemetry2U
        • Tellsens
        • thethings.iO
        • Thinger.io
        • ThingsBoard
        • ThingSpeak
        • TTN Mapper
        • Ubidots
        • UIB
        • UnaConnect
        • Widgelix
        • Withthegrid
        • Zoho IoT
      • Other integrations
      • Application Packages
      • Examples

      Deployment Guide

      Updated 28 October 2026 Edit on GitHub
      Copy page
      • View as MarkdownThis page as plain text
      • Open in ChatGPTAsk questions about this page
      • Open in ClaudeAsk questions about this page

      Learn how to deploy the Azure IoT Hub integration for The Things Stack.

      Prerequisites

      1. Access to an Azure account. Create a new account
      2. An application in The Things Stack. See instructions

      Create API Key

      Go to your application in The Things Stack Console, navigate to Integrations → Azure IoT on the left hand menu and click on Expand next to Azure IoT Hub. Now click on Generate API Key.

      Create API key

      Copy the generated API key and store it in a safe place, because you will need it in the next section.

      Leave the integration page open, as you will need to copy in your Azure IoT Hub hostname and Azure IoT Hub access key before saving the integration.

      Deploy Azure Resource Manager Template

      Deploy template

      View template as JSON or Bicep

      Settings

      The following parameters configure the integration:

      • Location: The region in which the Azure resources will be deployed. Defaults to the region used by the selected Resource Group.
      • Name Suffix: The suffix added to the Azure Resources. Defaults to a random string.
      • Stack Cluster Address: The address of your The Things Stack deployment. Can be retrieved from the Azure IoT integration page in The Things Stack (see image above).
      • Stack Application ID: The application ID of your application. Can be retrieved from the Azure IoT integration page in The Things Stack (see image above).
      • Stack API Key: The application API key that you generated in the previous step.
      • Enable fallback route: Defines if the Azure IoT Hub fallback route should be added. If enabled, uplink messages will be submitted to the default events endpoint in your Azure IoT Hub.
      Deploy Azure Resource Manager Template

      Click Review + Create, then Create.

      Note:

      Creating all resources can take up to five minutes. ☕

      When the deployment is done, you’ll see the status Your deployment is complete.

      Deployment Done

      After the deployment has finished, click Outputs.

      Deployment Outputs

      The two outputs can now be copied into your integration settings as Azure IoT Hub hostname and Azure IoT Hub access key. Click on Enable/Update Azure IoT Hub integration.

      Add Deployment Outputs

      Congratulations! 🎉 You have now set up the Azure IoT Hub integration for The Things Stack!

      ← Architecture Managing Devices →

      On this page

      • Prerequisites
      • Create API Key
      • Deploy Azure Resource Manager Template

      Sections

      Getting Started

      Concepts

      Cloud

      Enterprise

      Integrations

      API

      Hardware

      Sitemap

      View our Sitemap

      Contributing

      GitHub

      About Us

      The Things Industries

      Privacy Policy

      Cookie settings

      Cookie Settings

      We use cookies to enhance your experience, analyze site traffic and deliver personalized content. Read our Privacy Policy.

      Cookie categories