> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/hardware-guides/the-things-stack.md).

# The Things Stack

The details of integration with The Things Stack (including The Things Network)

Blynk offers integration with [The Things Stack](https://www.thethingsnetwork.org/), facilitating bidirectional communication, device lifecycle management, and provisioning.

This integration works seamlessly across different instances of The Things Stack, including:

* [The Things Stack Cloud](https://www.thethingsindustries.com/docs/the-things-stack/cloud/)
* [The Things Stack Enterprise](https://www.thethingsindustries.com/docs/the-things-stack/host/)
* [The Things Stack Sandbox](https://www.thethingsindustries.com/docs/reference/ttn/)
* [The Things Stack Open Source](https://www.thethingsindustries.com/docs/the-things-stack/host/)

Regardless of which instance you choose, follow the same integration flow to ensure consistent functionality and smooth operation.

<figure><img src="https://1839001309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBFTVMf7L6S67HOuqVC%2Fuploads%2FCAN0HEryI2tDonczzzhD%2Fintegrations%202.png?alt=media&amp;token=61e2e164-2501-4dec-af2d-7ebc55803463" alt=""><figcaption><p>Integrations Section</p></figcaption></figure>

{% content-ref url="/pages/kpjOyo3sK6C7oCfiBr1H" %}
[Getting Started](https://docs.blynk.io/en/hardware-guides/the-things-stack/getting-started.md)
{% endcontent-ref %}

{% content-ref url="/pages/A09QzphTtmb9MghvsW6L" %}
[Device Grouping](https://docs.blynk.io/en/hardware-guides/the-things-stack/device-grouping.md)
{% endcontent-ref %}

{% content-ref url="/pages/11s3BoqpSDjCIXe2x3DW" %}
[Automated Device Onboarding](https://docs.blynk.io/en/hardware-guides/the-things-stack/automated-device-onboarding.md)
{% endcontent-ref %}

{% content-ref url="/pages/3HhYNKEqnsvnEtlWHuQh" %}
[System DataStreams](https://docs.blynk.io/en/hardware-guides/the-things-stack/system-datastreams.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blynk.io/en/hardware-guides/the-things-stack.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
