Setting up station to connect to GCP

The following steps describe how to prepare your Niagara station to connect it to GCP Platform.

  • New Registry is created GCP.

  • You are working in Workbench and your connected station is open.

  • The abstractMqttDriver palette is open.

  1. To create a new AbstractMqttDriverNetwork, expand Config > Drivers, and double-click Drivers to open the Driver Manager view.
  2. In the Driver Manager view, click New, select AbstractMqttDriverNetwork from the drop-down list, and click OK.
  3. In the open abstractMqttDriver palette, expand the Devices folder.


  4. Drag the GcpMqttDevice component to your AbstractMqttDriverNetwork in the Nav tree and click OK.
  5. Expand GcpMqttDevice, and double-click authenticator.
    Gcp Authenticator Property sheet opens.

  6. Configure the following parameters:
    1. Broker Endpoint: Enter mqtt.googleapis.com as broker endpoint.
    2. Client ID: It is auto-populated when you connect to GCP.
    3. Broker Port: Enter 8883 as the port number.
  7. Expand Gcp Iot Parameters and configure the following parameters:
    1. Project ID: Enter ID of project created in GCP .
    2. Cloud Region: Enter the Cloud region of registry created in GCP console.
    3. Registry ID: Enter the ID of GCP Registry created.
    4. Device ID: Enter the ID of the device created in GCP console.
  8. To save the configuration, click Save.