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

# Senet

## **Connection between Senet and MClimate’s LoRaWAN broker using Webhooks** <a href="#connection-between-the-things-industries-and-mclimates-lorawan-broker-using-webhooks" id="connection-between-the-things-industries-and-mclimates-lorawan-broker-using-webhooks"></a>

{% hint style="info" %}
The guide assumes you have your device registered with the Senet platform and you have access to the Dashboard.
{% endhint %}

### 1. Creating a notifier in Senet

Expand the device settings for your device in the Senet Dashboard

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FDDFnIgKSAVJegpyy5NpY%2F1.png?alt=media&amp;token=65d1ac8d-f177-4d21-9419-f963fd36347f" alt=""><figcaption><p>Device settings</p></figcaption></figure>

Go to the NOTIFICATION TARGET section and select HTTP from the dropdown menu.

Enter the following URL in the text box: <https://lorawan-broker.mclimate.eu:443/senet>

You will need to create two Header Keys (make sure you name them with these exact names):

* m-token
* api-key

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FNYBbVvEBjdiWocFll1Bo%2F2.png?alt=media&amp;token=57b32174-d5d9-44c5-8d73-d1ca7c5dfd9c" alt=""><figcaption><p>Notification Target</p></figcaption></figure>

Proceed to the next section of the guide to learn how to generate the Header Values. Leave the rest of the settings with their default values.

### 2. Create Enterprise M-token

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%2FkhauNnsVBSKiikVdkmjt%2Fimage.png?alt=media&amp;token=182eae59-a170-4659-a3ce-6bb374278878" alt=""><figcaption><p>Creating an m-token</p></figcaption></figure>

Give it a name and copy it over into the m-token header value field in Senet

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FmBF3B2rDrhX0d6VeBrex%2Fimage.png?alt=media&amp;token=66e3fb34-1958-411b-a7cc-17c999909dce" alt=""><figcaption><p>Copying the token</p></figcaption></figure>

### 3. Create a Senet API-key

In the Senet Dashboard navigate to the Edit Account Info section.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F1QchYFs9dn9PUKLjExwx%2F3.png?alt=media&amp;token=cf681124-ef9e-4889-bda7-cea681861325" alt=""><figcaption><p>Account section</p></figcaption></figure>

Generate/Re-generate a new API Key and copy it over in the api-key header value field in Senet.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FDbfUi39BDgotng4pB05r%2F4.png?alt=media&amp;token=02278c40-1637-4f4e-878b-189008901ad2" alt=""><figcaption><p>Generating the API-Key</p></figcaption></figure>

Save the device settings in Senet, now that you have both the M-token and the API-Key and you are done.

Your device should now be visible in Enterprise.


---

# 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/senet.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.
