# Netmore

## **Connection between Netmore LNS and MClimate Enterprise** <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>

In order to properly create a **Netmore** integration with MClimate Enterprise you need to configure your Application to connect Enterprise platform.

## Configuring the MClimate Enteprise integration

Head over to the link <https://enterprise.mclimate.eu/> and log into your account. Go to the Integrations section and create a new M-token (you only need to enter a name).&#x20;

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F2sruiNjGRTrsSxgt5yRi%2Fimage.png?alt=media&#x26;token=9845ac33-f214-4ea7-8966-f5eb9633bc4d" alt=""><figcaption><p>M-token creation</p></figcaption></figure>

Make sure to copy and save it as you will need it later.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FnMvaFtEeA0u0IZbavYd9%2Fimage.png?alt=media&#x26;token=417677b8-981a-4b81-9886-c256227fcb4f" alt=""><figcaption><p>Copying the M-token</p></figcaption></figure>

Next, open up the Netmore integration.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2Fv9gySTS6mNatSLm9XjTm%2Fimage.png?alt=media&#x26;token=72aea925-0f3e-4f27-ad9f-921480d0c5cf" alt=""><figcaption><p>Netmore integration</p></figcaption></figure>

You need to fill in the requested field where:

**M-token** - the value of the M-token you just created

**User** - the username for your Netmore account

**Password** - the password for your Netmore account

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FkQqKT2bl3jA9necFfvWc%2Fimage.png?alt=media&#x26;token=70a40287-0e4e-4252-b206-87cb8ca7a1dd" alt=""><figcaption><p>RAK WisGateOS2 Integration</p></figcaption></figure>

## Configuring the Netmore platform integration

Log into your Netmore account and open up the navigation menu in the top right. Select Service Providers -> MClimate

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F3yIPntR6FDl4leafJ45d%2Fimage.png?alt=media&#x26;token=fd382774-9198-4ec7-82a7-319869f150d6" alt=""><figcaption><p>Service Providers -> MClimate</p></figcaption></figure>

Open up the Export Configs section (refer to the image below).

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FxIfgzLBs9UEzsWN1Nh4G%2Fimage.png?alt=media&#x26;token=0be13d98-8c20-4789-919b-f3e6ca65a39a" alt=""><figcaption><p>Export Config</p></figcaption></figure>

Create a new configuration via the button (refer to the image below).

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FTaKaNvyspfE6tw4n4rPY%2Fimage.png?alt=media&#x26;token=52e686f0-b868-48d6-88f0-26b825cbde85" alt=""><figcaption><p>New Export Config creation</p></figcaption></figure>

In the configuration window fill in the parameters, where:

**Name** - chose an appropriate name

**Export format** - Default Other (All)

**Export Type** - HTTP Push

**Url** - <https://lorawan-broker.mclimate.eu/netmore>

Finally create a single Header with the following parameters

**Name** - m-token

**Value** - "the value of the Mtoken you created in the previous step"

Your configuration should be similar to the one below.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FHxG0zMAaJFxQIoAAOKBg%2Fimage.png?alt=media&#x26;token=eb9321d9-1eae-4aef-8bd1-74c6cee97d94" alt=""><figcaption><p>Configuration parameters</p></figcaption></figure>

You should see your new Configuration listed.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FEOjbQhHiTMkkH4E1y8Rx%2Fimage.png?alt=media&#x26;token=9c575a72-4aed-46e8-9b3c-86c534d1515b" alt=""><figcaption><p>Configuration list</p></figcaption></figure>

The last step in the process is to apply the Configuration to your sensor device. Open up one of the sensor you intend to use with MClimate Enterprise, and select the newly created Export Config.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2F7JfsXWVg0scEANpeTKHA%2Fimage.png?alt=media&#x26;token=04205c6e-34c6-44a5-bf0a-baabe75ce4de" alt=""><figcaption><p>Export Config selection</p></figcaption></figure>

You should see the newly created Export Config in the drop down menu.

<figure><img src="https://3940008670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McDr-jr9h3qA888r1Yp%2Fuploads%2FCFGS6IW10I9xe1kpnGFZ%2Fimage.png?alt=media&#x26;token=7abc549b-15b3-46b8-a6c7-b2da0be1c85b" alt=""><figcaption><p>Enterprise Export Config</p></figcaption></figure>

The settings are applied immediately upon selection. If you have configured everything as per our instructions the traffic from your MClimate sensors will be connected with the MClimate Enterprise platform now.

{% hint style="warning" %}
This guide assumes you have already provisioned the sensor on the Netmore platform. If you have not please refer to the official documentation from Netmore as this is out of the scope of this document.
{% endhint %}
