Step 3: Connecting to an MQTT Broker

Modified on Fri, 12 Mar, 2021 at 10:47 AM

This is the final step in setting up your CloudGate. 

Please follow the instructions below carefully.


  1. Browse to the “Main Menu” →  “Applications” tab.

  2. Enable “MQTT” in the output section. A button called “MQTT” will appear on your right hand side.

  3. Click on this “MQTT” button to configure the CloudGate to connect to your MQTT Broker of preference.

  4. Leave all settings as they are in the “Settings” section and proceed to the “Connection Settings” section below.

  5. Enable the MQTT connection and enter the parameters to establish a connection to your MQTT Broker. 
    In the example below,  we're using the free online Mosquitto MQTT Server for this test.


  1. After completion, press the Save changes button.

  2. In the “Data format” section, you can configure the topic style and payload style. 
    These can be:  
        hardcoded for ex. “my-topic” or 
        dynamic, for ex. “data/{{protocol}}/{{device}}/{{object}}
        , where each value between {{ }} gets replaced with a dynamic value.

  3. The payload style and formatting can be left unchanged.

  4. After completion, press the Save changes button.

  5. The CloudGate should now connect to the MQTT Broker. You can check the actual connection status at the bottom of the “Connection Status” section on the MQTT tab.



Congratulations, your CloudGate is now fully configured to receive LoRa messages and send them to your Cloud via the MQTT protocol!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article