Configuring an account for MQTT

Know how to configure an account for MQTT.

About this task

To configure an account for MQTT, you must have access to webMethods Integration with the necessary permissions, including details of the MQTT broker, Broker URL, user ID, and Password.

Procedure

  1. Go to the workflow, double-click the Start icon, add the MQTT trigger, and click Next.
  2. On the MQTT configuration page, click the + icon next to Connect to MQTTto open the Add Account configuration page. Complete the required fields to complete the configuration.
    • The Login field determines the authentication method for the MQTT connection. Select Login if you need to authenticate by using a user ID and Password.

      Broker URL - Enter the Broker URL of the MQTT server that you are connecting to. The URL must include the IP address or domain name and the port number of the MQTT broker, for example mqtt://broker.example.com:1883. If your connection is secure, use mqtts:// in the Broker URL. If the connection is not secure, use mqtt://.

      User ID - Provide the user ID associated with your MQTT account.

      Password - Enter the password for the MQTT connection. If authentication is required, this password is used along with the user ID to establish the connection.

    • Select Broker URL if your MQTT broker does not require authentication, or if authentication is handled separately.

  3. Click Add to save the MQTT account configuration.
  4. After you configure the MQTT account, specify the list of topic IDs for which you want to set up the triggers on the MQTT configuration page.
  5. After entering the topic IDs, click Save. Your workflow is now ready to use the MQTT trigger.