# Kerlink

## **Connecting Kerlink MyLNS/WMC to MClimate’s LoRaWAN broker**

### **1. O**nce you have created a Cluster, click on Push Configurations

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FCCLMIYX6ucNxbpgDehNn%2FScreenshot%202022-02-01%20at%2012.09.31.png?alt=media\&token=baa2381d-283a-4fa8-8917-34d3d8caf959)

### **2. Create New push configuration**

* **Type - HTTP**
* **Message detail level - Network**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FzDwEgrZXNrI87VIx7YSz%2FScreenshot%202022-02-01%20at%2011.55.27.png?alt=media\&token=219d17bd-0653-4b0b-ac38-97d5da2ea401)

### **3. Fill the fields**&#x20;

* Url **- <https://lorawan-broker.mclimate.eu>**
* Data up route&#x20;
  * **/up-mylns** - for <http://mylns.wanesy.com/>
  * **/up-wmc** - for <https://wmc-poc.wanesy.com>

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F2YMWI7yugIr0Ysd3NCHk%2FScreenshot%202023-02-21%20at%2019.09.31.png?alt=media\&token=e7d64516-aa96-49b3-8747-f68736032a0d)

### **4.** Go to [https://developers.mclimate.eu ](https://developers.mclimate.eu)and sign in with your MClimate Account.&#x20;

### 5. Go to[ ](https://developers.mclimate.eu/lorawan-token)<https://developers.mclimate.eu/kerlink-token> to generate new token

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2Fy3Dt4EgVtI54jwxSccFP%2FScreenshot%202022-02-01%20at%2011.59.46.png?alt=media\&token=a927317a-01b6-4791-902b-539c099f27bb)

### **6. Copy username**

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FQhYCkHTGq7SkfDqmG38p%2FScreenshot%202022-02-01%20at%2012.01.59.png?alt=media\&token=ce612667-a8db-4c78-9cf5-2eeb568bfba4)

### **7.** Add custom headers

* ### header key - 'username', and value - {generated username}
* ### header key - 'm-token', and value - **copied M Token from** [**MClimate Enterprise->Integrations**](https://enterprise.mclimate.eu/integrations)

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FfrQE0iflv5P7Uddf4rco%2FScreenshot%202023-02-21%20at%2019.10.57.png?alt=media\&token=82804af6-963b-4857-b269-455b56b79857)

### **8. Go to 'Users' and create new user**&#x20;

This step is required in order to be able to send commands to the devices

* Username - shoud be the one from developers portal
* Email - Please use a valid email, you will be required to confirm it in order to validate the user
* Role - User
* Password - Should be the password copied from the developers portal
* Activation - Enable&#x20;

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FVLKoCLgsNGaubU8p8P8u%2FScreenshot%202022-02-01%20at%2012.03.33.png?alt=media\&token=d28a9224-26ec-439d-98f2-b06f2ccfe103)

### **9.** Check your email and click on the link in order to confirm your email

### **10. Link the cluster with push configuration**

Payload Type - shoud be Hexadecimal

![](https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FxoVeLH2wFZNwAwoAY8IB%2FScreenshot%202022-02-01%20at%2012.27.45.png?alt=media\&token=92924375-3fc5-45dc-9175-72881d302ae3)
