> 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/tektelic.md).

# Tektelic

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

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

![](/files/XvdXVCGzDzSFbcFYQ3hf)

### **2. Create new Custom Data Converter**

Encode function is generated automatically.

Decode function should be a valid Tektelic Decoder for one of our devices, for example the script from the [**Vicki Tektelic Decoder**](/mclimate-lorawan-devices/devices/mclimate-vicki-lorawan/decoding-and-bacnet-object-mapping/vicki-uplink-decoder.md#tektelic-decoder-javascript-es5), which you need to copy over.&#x20;

![](/files/HilGC9nt1Xb5rFkxVQlv)

### **3. Go to Manage Integrations**

![](/files/afXOyShZQ5nNgcSX1JqA)

### **4. Create new HTTP Integration**

* Fill the fields&#x20;
  * Type - should be **HTTP**
  * Data Converter - use the one you created - **MClimate Vicki**
  * Application address -  [lorawan-broker.mclimate.eu](https://lorawan-broker.mclimate.eu/)
  * port - **80**
  * Base path - **/tektelic**
* Copy token in the HTTP URL path.

![](/files/SjWmxbE8G2elSVoY0yyz)

* **Create MClimate token**
  * **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 - with token from HTTP URL path, and click Create.**

![](/files/4lPR7NSiP7fh3z6CZmOm)

* **Copy the token**

![](/files/lC7eUJAxC3IFpJfAwdrc)

* **Create Headers**
  * **1st header**
    * **Key - should be "mclimate\_token".**
    * **Value - Paste the token from developers portal.**
  * **2nd header**
    * **Key - should be "m-token".**
    * **Value - Paste the token from** [**MClimate Enterprise -> Integrations**](https://enterprise.mclimate.eu/integrations)

![](/files/q200PFl4EiePTtE2kcRR)

### **5. Move device to Application**

![](/files/rxN84Povd6Nt9dHjPBkP)

### **6. 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mclimate.eu/mclimate-lorawan-devices/integrations/tektelic.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
