Skip to end of metadata
Go to start of metadata

Cloud Connector Overview

DataHub’s native Cloud Connector collects data from the local message broker and local database to push to the cloud via MQTT, REST, or AMQP. The Cloud Connector gets configured using the JSON file that is created from a LoopCloud model and device configuration. This JSON file populates the Cloud Connector with the required MQTT message parameters.


Before taking the steps in the procedure listed on this page, configure the necessary LoopCloud components.

While only one Cloud Connector per Project is required to connect to LoopCloud, multiple connectors may be created to accommodate business needs, such as:

  • Data can be sent to different streams.
  • Multiple sensors may require a connector for each.
  • Data can be sent to an MQTT broker in the cloud.

Add a Cloud Connector

Once the model and device have been configured in LoopCloud, return to LoopEdge DataHub to create the corresponding configurations.

To add a LoopEdge cloud connector:

  1. In the LoopEdge navigation panel, click DataHub and then select the DataHub tab.
  2. Click the (plus) icon at the top right of the Cloud Connectors section to launch the Add Connector dialog.

  3. In the Add Connector dialog, select a network protocol scheme from the drop-down list: TCP or SSL.

  4. Enter a Name for the connector.
  5. Click Upload JSON and select the JSON file that you saved when you added the device in LoopCloud (See Prerequisites for LoopCloud Connectivity).
  6. Click Create.
    The newly created connector is displayed in the DataHub Cloud Connectors list.

  7. Once a DataHub Cloud Connector is configured, the device will appear online in LoopCloud. 

What's Next?

  • Once the cloud connector has been created, it needs to be configured with the MQTT Topics, required for publishing/subscribing to the MQTT broker.
  • Continue this configuration using: DataHub: Add a Topic to a Cloud Connector.