# Akenza

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

### **1. Create API key**

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FXe25KKaw9nQNt57HdX2e%2FScreenshot%202023-04-25%20at%2013.47.29.png?alt=media&#x26;token=cfc118b2-eefb-4906-9701-2676bfec64c4" alt=""><figcaption></figcaption></figure>

### **2. Copy API Key**

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FidaDOrYyt9W88isV1ma8%2FScreenshot%202023-04-25%20at%2013.47.42.png?alt=media&#x26;token=2aa4833a-a804-4b86-8b3f-08e2455cf2a3" alt="" width="563"><figcaption></figcaption></figure>

### 3.Go to workspaces -> your workspace -> Data flows -> Create data flow -> Connect a device over HTTP

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FMcTflkP8Kycc0bTfi6rQ%2FScreenshot%202023-05-25%20at%2017.34.59.png?alt=media&#x26;token=20c874e8-b7d0-40b5-991b-7ec4a94f24de" alt=""><figcaption></figcaption></figure>

### **4. Create output connector -> Webhook**

* **Paste the API key in the Auth headers**
* **The URL shoud be:** [**https://lorawan-broker.mclimate.eu/akenza**](https://lorawan-broker.mclimate.eu/akenza)
* **Method shoud be POST**
* **Get the M-token from** [**https://enterprise.mclimate.eu/integrations**](https://enterprise.mclimate.eu/integrations)
* **Paste the M-token in headers with key "m-token"**
* **Type - HTTP**
* **HTTP Type - All**
* **URL - <https://lorawan-broker.mclimate.eu/up-b-one?m-token={your> m-token(step2)}**
* **Authentication type - token**
* **Token - Step 3**

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FVyQiIStMrlZUxzt1jZ8p%2FScreenshot%202023-05-25%20at%2017.39.16.png?alt=media&#x26;token=1ae99c2e-3558-4c51-a19b-32e5166529df" alt=""><figcaption></figcaption></figure>

### **5. Add Device type -> Seach for Vicki**

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FTOe1WZqBlQGeBOOoAOyI%2FScreenshot%202023-05-25%20at%2017.39.53.png?alt=media&#x26;token=25564dd6-0457-4d4f-9ea4-a385f3c1a08d" alt=""><figcaption></figcaption></figure>

### **6. N**ame the Data flow and you're done&#x20;
