Skip to content

User guide

This guide will illustrate the steps required for configuring an application that uses the new Cloud Connection APIs to publish messages to the Kapua platform.

The involved steps are the following

  1. Instantiation and configuration of the Cloud Connection.
  2. Instantiation and configuration of a Publisher.
  3. Binding an application to the Publisher.

Creating a new Cloud Connection

  1. Open the Cloud Connections section of the Web UI:


  2. Create a new Cloud Connection

    1. Click on the New Connection button


    2. Enter a new unique identifier in the Cloud Connection Service PID field. The identifier must be a valid and, in case of a Kapua Cloud Connection, it must start with the prefix. A valid identifier can be As an alternative it is possible to reconfigure the existing Cloud Connection.

    3. Configure the MQTTDataTrasport service.


      Click on the MQTTDataTrasport-KAPUA tab and fill the parameters required for establishing the MQTT connection:

      • Broker-url
      • Topic Context Account-Name
      • Username
      • Password
    4. Configure the DataService-KAPUA service.


      In order to enable automatic connection, set the Connect Auto-on-startup parameter to true

Creating and configuring a new Publisher

  1. Select to the connection to be used from the list.

  2. Click on the New Pub/Sub button.


  3. Select the type of component to be created, from the Available Publisher/Subscriber factories drop down list, in order to create a Publisher select the entry.

  4. Enter an unique identifier in the New Publisher/Subscriber PID field.

  5. Click Apply, you should see the publisher configuration


  6. Select and configure the newly created publisher instance, and then click Apply

Binding an application to a publisher

  1. Select the application instance configuration

  2. Find the configuration entry that represents a Publisher reference.

  3. Click on the Select available targets link and select the desired Publisher instance to bind to.


  4. Click on Apply