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
          • Architecture
          • Deployment Guide
          • Managing Things
          • Messages
          • Metrics
          • Update
          • Uninstall
          • Troubleshooting AWS IoT Integration
        • Azure IoT Central
        • Azure IoT Hub
        • 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 20 January 2025 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 AWS IoT integration for The Things Stack.

      Prerequisites

      1. Access to an AWS 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, go to API keys and click + Add API key.

      Enter a name, like AWS IoT integration, and grant at least the following individual rights:

      • View devices in application
      • View device keys in application
      • Create devices in application
      • Edit device keys in application
      • Edit basic application settings
      • View and edit application packages and associations
      • Write downlink application traffic
      • Read application traffic (uplink and downlink)
      Create API key

      Click Create API key, copy the key and store it in a safe place. You need the API key in the next section.

      Deploy AWS CloudFormation Template

      • Cloud
      • Enterprise
      • Sandbox

      View template

      View template

      View template

      Warning:

      Make sure to select the template related to your deployment only.

      Settings

      The Stack name is the unique name identifying the integration in your AWS account.

      The parameters configure the integration:

      • Principal Account ID Enterprise : AWS Account ID that The Things Stack authenticates with.
      • Thing Type Name: The unique AWS IoT Core thing type name for this integration.
      • Thing Name Scheme: The name that is given to AWS IoT things when they are created by the integration.
        • When using DevEUI, the name will appear as the numeric DevEUI, i.e 1122334455667788.
        • When using DeviceID, the thing name will be a combination of the CloudFormation stack name and the device ID as registered in The Things Stack, i.e. <stackName>_<DeviceID>.
      • Thing Shadow Metrics: Enable or disable updating the thing shadow with metrics.
      • Cluster Address: The cluster address of your The Things Stack deployment.
        • When using The Things Stack Cloud, go to The Things Stack Cloud Addresses to find your cluster address
        • When using The Things Stack Enterprise, enter your cluster address
        • When using The Things Network, select the community cluster from the dropdown
      • Application ID: The application ID for which you configure the integration.
      • Application API Key: The application API key that you generated before.

      Note:

      If you use The Things Network Stack V2 integration for AWS IoT, you must change the Thing Type Name to something other than lorawan to avoid conflicts.
      Create AWS CloudFormation Stack

      Check I acknowledge that AWS CloudFormation might create IAM resources.

      Click Create stack.

      Note:

      Creating all resources can take up to five minutes. ☕

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

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

      ← Architecture Managing Things →

      On this page

      • Prerequisites
      • Create API Key
      • Deploy AWS CloudFormation 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