# Chirpstack

## **Connecting Chirpstack V4 to MClimate’s LoRaWAN broker**

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

![](/files/DF1TGx1n2CRd73LXNJbE)

### **2. Go to API Keys and create new key**

![](/files/5HZ4In2mbV67MD8UfeKS)

### **3. Copy Token**

![](/files/kUN3mA9EaQJr7K4UlYna)

### **4. Click on "add" in integrations tab in created application**

![](/files/uy5UUuAJ5mqAEs3DUHVi)

### **5. Add HTTP integration**

* Fill the fields&#x20;
  * Payload marshaler - **JSON**
  * Endpoint URL - **<https://lorawan-broker.mclimate.eu/chirpstack>**
  * Headers
    * header name - **m-token**, header value - **copied M Token from** [**MClimate Enterprise->Integrations**](https://enterprise.mclimate.eu/integrations)
    * header name - **token**, header value - **copied API Token**
    * header name - **url,** header value - **your** [**ChirpStack Application Server**](https://www.chirpstack.io/application-server/api/) **Url with exposed port 8090**\
      **( example: <http://212.39.89.221:8090> )**

![](/files/4fMyBDxihnx53jLkwBbl)

### **6. Done**

##

## **Connecting Chirpstack V3 to MClimate’s LoRaWAN broker**

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

![](/files/-McxBOh2hvRqYN-ITUj6)

### **2. Go to API Keys and create new key**

![](/files/-McxDwXXoYCUsI_ZL3V9)

### **3. Copy Token**

![](/files/-McxEDeUDws2YwkKVZkI)

### **4. Click on "add" in integrations tab in created application**

![](/files/-McxCuFel3JV0ANt2yG5)

### **5. Add HTTP integration**

Fill the fields&#x20;

* Payload marshaler - **JSON**
* Endpoint URL - **<https://lorawan-broker.mclimate.eu/chirpstack>**
* Headers
  * header name - **m-token**, header value - **copied M Token from** [**MClimate Enterprise->Integrations**](https://enterprise.mclimate.eu/integrations)
  * header name - **token**, header value - **copied API Token**
  * header name - **url,** header value - **your** [**ChirpStack Application Server**](https://www.chirpstack.io/application-server/api/) **Url with exposed port 8080**\
    **( example: <http://212.39.89.221:8080> )**

![](/files/nD1A1OOaS8GpayueDqz5)

### **5. Done**


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
