In this step you will setup the AwsIoTconnector to connect Niagara to AWS.

Set up the connector


  1. Open the btibAWS palette.



  2. Drag and drop the connector on the btibService→ ExternalConnectors → RealtimeConnectors folder.




  3. Copy the certificate, the private and the CA certificate to your station files.




  4. Configure your connector.

    1. On authentication choose your keys.


      Set Auto Provision to False


    2. Fill-in the AWS Endpoint
    3. Fill-in the AWS region
    4. Fill-in the ARN certificate you saved before
    5. From the credentials csv file you can get your access key and secret.
    6. Finally enable the connector, you should see a successful status

Device setup


Now the connector is ready, you coud configure your devices and points.

To do so:

  1. Go to Drivers → <your network> → <your device> and drag and drop the Aws IoT Device Ext to any point container (it may be a folder).



  2. You should see your device on the AWS console.



  3. Use any mqtt client to inspect messages, you should see tags published under the service topic corresponding to the device




Point Setup


  1. Now drag and drop the Aws IoT Point Ext in your point.


  1. On your mqtt client you should see the tags for the point published on the service topic and a message on the events topic

Reference Setup


  1. Drag and drop the reference extension to the reference component. And sepecify the query for the device to connect to.



  2. change any reference property.

  3. And you should see the event.

Next Step


Step 3 Send messages to AWS from Niagara