> For the complete documentation index, see [llms.txt](https://docs.mclimate.eu/mclimate-lorawan-devices/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mclimate.eu/mclimate-lorawan-devices/integrations/thingpark.md).

# ThingPark Enterprise

## **Connecting ThingPark to MClimate’s LoRaWAN broker**

### **1. Create a new application server**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FYEmpQoMaS0Yi7EgxfzoB%2Fmw1920_t1.png?alt=media\&token=136944a1-f598-43bb-b3f3-79c8e0a8de77)

### **2. Content-type should be JSON untyped**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FZdIZaZ1mcCptaffhrU8g%2Fmw1920_t2.png?alt=media\&token=ec6f72df-f956-4a4e-a560-8d490794da40)

### **3. Add destination**

**Destination of MClimate’s LoRaWAN broker for ThingPark is: <https://lorawan-broker.mclimate.eu/thingpark>**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F4f4qnQ1XWtxuUqab692J%2Fmw1920_t3.png?alt=media\&token=cca5b5b4-805e-4566-9eea-640b548c84ca)

### **4. Securing the tunnel**

* **Go to** [**https://developers.mclimate.eu/lorawan-token**](https://developers.mclimate.eu/lorawan-token) **and Sign in with your MClimate account.**
* **Enter the Application server, AS\_ID, and click Create.**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FRWzslG8H8YN0ExMgq0Jz%2Fmw1920_t4.png?alt=media\&token=b228a60d-349f-4f1f-a9d7-1626c1720447)

* **Copy the token**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F76ZK9VeqROdMC3l6zpMt%2Fmw1920_t6.png?alt=media\&token=b14c542e-3448-4d12-a02c-bb500d8a32c6)

* **Active Uplink/Downlink security in your application server**
  * **Enter the AS ID - should be the same as that in the developers portal.**
  * **Paste the Token in the authentication key field.**
  * **Leave timestamp deviation empty.**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FtC310fDinJKPx5ksNThm%2Fmw1920_t7.png?alt=media\&token=7c53c9a8-77d0-469f-92aa-0e78dac70617)

### **5.** Go to <https://enterprise.mclimate.eu/integrations> and create your m-token.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F9sBwnGC7MJJKPHgWXWq4%2FScreenshot%202023-01-27%20at%2017.05.40.png?alt=media&amp;token=14a7b733-15a7-410b-b9e9-247cdabf41d3" alt=""><figcaption></figcaption></figure>

Copy the token.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FIhIXLnQn2XI8nfa6Rhwj%2FScreenshot%202023-01-27%20at%2017.05.53.png?alt=media&amp;token=e51bae38-c8d6-4070-97bb-b886ca293635" alt=""><figcaption></figcaption></figure>

### 6. Create two custom HTTP headers.

#### Header 1:

name: m-token

value: "value of the m-token you created in step 5"

#### Header 2:

name: url

value: "[https://thingparkenterprise.eu.actility.com/](https://thingparkenterprise.eu.actility.com/thingpark/lrc/rest/v2/downlink)"

### **7. Create new AS routing profile**&#x20;

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FZ6G05UklVFfRkgFMfaQd%2Fmw1920_t8.png?alt=media\&token=2b701d96-a57d-47d6-9279-63084574011f)

### **8. Add Destination**&#x20;

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F1BWOYzuSXqxi6cqVUWNa%2Fmw1920_t9.png?alt=media\&token=caaba2b0-4e6f-4a5b-a5c8-995bd8ca8c83)

### **9. In Device settings -> Choose the routing profile**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FoFXyovs3pxHXyFTlgljy%2Fmw1920_t10.png?alt=media\&token=fbc4fe30-bd5a-4c61-a4ee-a65efc4865ad)

### **10. Done**


---

# 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.mclimate.eu/mclimate-lorawan-devices/integrations/thingpark.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.
