---
title: MindSphere Integration Guide
slug: litmusedge-v2/how-to-guides/integration-guides/mindsphere
description: Learn how to set up the MindSphere connector. 
docTags: 
createdAt: 2022-11-24T18:25:41.000Z
---

Review the following guide for setting up an integration between Litmus Edge and MindSphere.

# Step 1: Create a MindSphere Aspect

**To create a MindSphere aspect:**

1. Log in to MindSphere.&#x20;
2. From the dashboard, select **Asset Manager**.
   The *Asset Manager* pane appears.&#x20;
3. From the left pane, select **Aspects**.
   The *Aspects&#x20;*&#x70;ane appears.&#x20;
4. Click **Create aspect**.&#x20;
   The *Create aspect* dialog box appears.&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/d-qVuqoy2RubNqKwBjr3o_mindsphere-create-aspect.png" size="80" width="871" height="701" caption="Create aspect dialog box" position="center" showCaption="true"}
5. In the **Name&#x20;**&#x66;ield, enter **Litmus**.&#x20;
6. Scroll to the bottom and click **Add variable**.
   The *Variables&#x20;*&#x73;ection drops down.&#x20;
7. Configure the following parameters.&#x20;
   - **Name**: Enter **temperature**.&#x20;
   - **Data type**: Select **LONG**.&#x20;
   - **Unit**: Enter **C**.&#x20;
8. Click **Add variable**.&#x20;
   A new row appears in the *Variables&#x20;*&#x73;ection.&#x20;
9. Configure the following parameters.&#x20;
   - **Name**: Enter **pressure**.&#x20;
   - **Data type**: Select **INT**.&#x20;
   - **Unit**: Enter **bar**.&#x20;
10. Scroll down and click **Save**.
    The aspect appears in the *Aspects&#x20;*&#x70;ane.

    ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/dI-N7O4YfsA9GqOh9wO4T_mindsphere-aspect.png" size="80" width="1699" height="678" caption="The Aspects pane" position="center" showCaption="true"}

# Step 2: Create a Type

**To create a type:&#x20;**

1. From the left pane, click **Types**.
   The *BasicAsset&#x20;*&#x70;ane appears.&#x20;
2. From the Core types section, select **BasicAgent**.
   The *BasicAgent&#x20;*&#x70;ane appears.&#x20;
3. From the *Core types* section, select **MindConnectLib**.
   The *MindConnect Lib* pane appears.&#x20;
4. Click **Add derived type**.
   The *Create type* dialog box appears.&#x20;
5. In the *Name&#x20;*&#x66;ield, enter **boiler**.&#x20;
6. From the *Aspects&#x20;*&#x73;ection, click **Add aspect**.
   A new row appears in the *Aspects&#x20;*&#x6C;ist.&#x20;
7. From the *Aspects&#x20;*&#x6C;ist, select the aspect you created from the **Aspect&#xA0;**&#x64;rop-down list.
8. Click **Save**.&#x20;
   The aspect appears in the *boiler&#x20;*&#x70;ane.&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/jYCyEzzUU_CsEzyQIwt0W_mindsphere-type-boiler.png" size="80" width="1694" height="690" caption="The boiler pane" position="center" showCaption="true"}
9. Click **Back&#x20;**&#x74;wice.&#x20;
   The *BasicAsset&#x20;*&#x70;ane appears.&#x20;

# Step 3: Create an Asset

**To create an asset:**

1. From the left pane, click **Assets**.
   The r*oot asset* pane appears.&#x20;
2. Click **Create asset**.&#x20;
   The *Select type* pane appears.&#x20;
3. Select **boiler&#xA0;**&#x66;rom the list, and then click **Create**.
   Th&#x65;*&#x20;Add asset&#x20;*&#x64;ialog box appears.&#x20;
4. In the name field, enter **plant12**, and then click **Save**.&#x20;
   The plant appears in the root asset list.&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/M2OPOOpADZlqGsouSqB-h_mindsphere-root-asset.png" size="80" width="1664" height="708" caption="The root asset list" position="center" showCaption="true"}

# Step 4: Configure the MindConnect Lib plugin

**To configure the MindConnect Lib plugin:**

1. From the *Aspects&#x20;*&#x70;ane, click the **Mindconnect Lib&#xA0;**&#x73;ection.
   The *Configure MindConnect Lib* dialog box appears.&#x20;
2. Select **SHARED\_SECRET**, and then click **Save**.
   The *Edit boarding configuration* dialog box appears.&#x20;
3. Click **Generate onboarding key**.
   The key appears in the *Boarding configuration* field.&#x20;
4. Click **Copy to clipboard**.
   The key is copied to your clipboard.&#x20;

# Step 5: Add the MindSphere Connector

Follow the steps to [Add a Connector](docId\:oGW7FKQbWIdBaBn4WL5rr) and select the **MindSphere PSK&#x20;**&#x70;rovider.&#x20;

Configure the following parameters.&#x20;

- **Name**: Enter a name for the connector.&#x20;
- **Agent boarding configuration**: Paste the key generated in Step 4.&#x20;
- **Aspect name**: Enter the aspect name created in Step 1. &#x20;
- **Throttling limit**: The maximum number of messages per second to be processed. The default value is zero, which means that there is no limit.&#x20;
- **Persistent storage**: When enabled, this will cause messages to undergo a store-and-forward procedure. Messages will be stored within Litmus Edge when cloud providers are online. &#x20;
- **Queue Mode**: Select the queue mode as **lifo&#x20;**(last in first out) or **fifo&#x20;**(first in first out). Selecting **lifo&#x20;**&#x6D;eans that the last data entry is processed first, and selecting **fifo&#x20;**&#x6D;eans the first data entry is processed first.&#x20;

# Step 6: Enable the Connector

After adding the connector, click the toggle in the connector tile to enable it.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/RsAyFme0gN2v66AjMLiDy_mindsphere.png" size="60" width="369" height="345" position="center" showCaption="false"}

If you see a *Failed&#x20;*&#x73;tatus, you can review the [Connector Logs](docId:3u7JzLDiNeHY8ShVIFD-D) and relevant error messages.&#x20;

# Step 7: Add Device

Follow the steps to [Connect a Device](docId:3eyAfPpweuVmBLCEy17sq). The device will be used to store tags that will be eventually used to create outbound topics in the connector. Make sure to select the **Enable Data Store** checkbox.&#x20;

# Step 8: Add Tags

After connecting the device in Litmus Edge, you can [Add Tags](docId:8sE7z3PmRfwL1nmzcwaLX) to the device. Create tags that you want to use to create outbound topics for the connector.&#x20;

# Step 9: Create Topics for Connector

You will now need to import the tags created in Step 7 as topics for the MindSphere connector. The topics will be created as outbound topics.&#x20;

**To create outbound topics:**

1. Click the connector tile.
   The connector *Dashboard&#x20;*&#x61;ppears.&#x20;
2. Click the **Topics&#x20;**&#x74;ab.&#x20;
3. Click the **Import from DeviceHub** tags icon.&#x20;
   The *DeviceHub Import&#x20;*&#x64;ialog box appears.

![](https://api.archbee.com/api/optimize/xSuIWwMa6RnsbeD5Kdqd7-zaOGMDYbPZWYALvLBgotp-20250606-203859.png)

After adding all required topics, navigate to the Integration overview page and ensure the connector is not disabled and still shows a CONNECTED status. &#x20;

# Step 10: Enable Topics

To enable the topics, return to the Topics tab and click the **Enable all topics** icon.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Iq7BWYqGWueu4US73iBl3_image.png" size="80" width="1220" height="330" caption="Enable all topics icon" position="center" showCaption="true"}

# Step 11: Add Data Source

**To add the data source:**

1. Log in to MindSphere.&#x20;
2. Click the **Menu&#xA0;**&#x69;con, and select **Asset Manager**.&#x20;
   The *Asset Manager* pane appears.&#x20;
3. From the left pane, click **plant12**.
   The *Aspects&#x20;*&#x70;ane appears.&#x20;
4. Click **MindConnect Lib**.
   The MindConnect Lib Plugin for the *plant12 boiler&#x20;*&#x61;ppears.
5. Click **Add data source**.
   The *Add data source* dialog box appears.&#x20;
6. In the *Name&#x20;*&#x66;ield, enter **boiler**, and then click **Accept**.
   The boiler line item is added.&#x20;
7. Click **Add data point&#xA0;**&#x6E;ext to the boiler line item.
   The *Add data point* dialog box appears.
8. Configure the following parameters.&#x20;
   - **Name**: Enter **temp**.&#x20;
   - **Type**: Select **LONG**.
   - **Unit**: Enter **C**.&#x20;
9. Click **Accept**.&#x20;
   The first data point is added to the boiler line item.&#x20;
10. Click **Add data point&#xA0;**&#x6E;ext to the boiler line item.
11. Configure the following parameters.&#x20;
    - **Name**: Enter pres.&#x20;
    - **Type**: Select **INT**.
    - **Unit**: Enter **bar**.&#x20;
12. Click **Accept**.&#x20;
    The second data point is added to the boiler line item.&#x20;
13. Click **Save**, and then click **Save&#x20;**&#x61;gain.&#x20;
14. Click the **Data mappings&#xA0;**&#x74;ab.
15. Click the **Expand&#xA0;**&#x61;rrow next to **boiler&#xA0;**&#x74;o display the data points.
16. Click **Link variable&#xA0;**&#x6E;ext to *temp*.
    The *Link variable* dialog box appears.&#x20;
17. Select **Link variable&#xA0;**&#x6E;ext to temperature, and then click **Accept**.
    The data mapping for temperature appears under *temp*.&#x20;
18. Click **Link variable&#xA0;**&#x6E;ext to *pres*.
    The *Link variable* dialog box appears. &#x20;
19. Select **Link variable&#xA0;**&#x6E;ext to pressure, and then click **Accept**.
    The data mapping for pressure appears under *pres*.&#x20;
20. Click **Close**.
    The *Asset&#x20;*&#x70;ane appears.&#x20;

# Step 12: Verify the Connection

**To verify the connection:&#x20;**

1. Return to the MindSphere *Edit boarding configuration* dialog box browser tab.
2. Note that *Onboarded&#x20;*&#x73;hows a green status.&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/oQfQnb0P1VFkCtlc2Db6N_mindsphere-onboarded-green.png" size="80" width="632" height="62" caption="Onboarded Boarding status" position="center" showCaption="true"}
3. Click **Close**.
   The *plant12 assets* pane appears.&#x20;
4. Click the **Menu&#xA0;**&#x69;con, and select **Fleet Manager**.
   Th&#x65;*&#x20;Fleet Manager&#x20;*&#x70;ane appears.&#x20;
5. From the left pane, click **plant12**.
   the *Aspects&#x20;*&#x70;ane appears to the right displaying the MindSphere aspect.
6. From the right pane, click the **Litmus Edge aspect**.
   The aspect chart appears displaying the variables.&#x20;
7. Click the **Zoom&#xA0;**&#x69;con multiple times until the temperature and pressure lines diverge.

