Build an Application
An application can connect to The Things Network in different ways:
In the most low-level scenario, the application uses standard protocol libraries to connect directly to The Things Network’s Handler APIs:
The Data API allow you to receive events and messages from devices as well as send messages to devices. You can use the Data API via:
- AMQP (coming)
Application Manager API
The Application Manager API let you manage applications and devices registered to it. You can use the Application Manager API via:
- gRPC (to be documented)
If you’d like to contribute to a SDK, contact us.
SDKs may not always wrap all available APIs.
Integrations are the easiest way to connect your devices to an applications. An integration uses the same APIs or SDKs an application could use directly. Together with the private or public APIs of the platform it ties up the application running on the platform with The Things Network:
Platform Integrations completely frees you from any code and even The Things Network Console or CLI. A good example is an integration for Azure IoT Hub or AWS IoT, where the user could manage his application and devices from there, while the integration takes care of synchronizing with The Things Network.
A common integration is to forward messages to some webhook or other messaging endpoint (uplink messages). For these situations we provide a set of messaging integrations which act as a bridge between the Handler Data API and any endpoint you configure. It also provides you with an endpoint to send messages back to devices (downlink messages). Easy to configure and use is the HTTP Integration.
For some messaging integrations we provide a configuration template. Instead of manually configuring the HTTP Integration, we ask you only for variables like a platform key and generate the configuration for you.