Enable Cloud-Edge Sync

To enable cloud-edge sync the SmartWorks Support Service needs to be installed on a cluster (see the “Resource Manifests” section of “Edge Compute Platform”.

This service needs to be configured, among other things, with a client id and a client secret of an app that is authorized to make specific SmartWorks cloud API calls.

This app only needs to be created once for a space. The resource manifest for the SmartWorks support service can then be configured with the client details and be used for any cluster in the space.

  1. In Studio, go to Access Control > Apps and click New App.


  2. From the Scopes drop down menu, select collection, mqtt, space and thing.


    Figure 1.
  3. Click Save.
    A client ID is generated.


    Figure 2.
  4. Click Reset Secret ID and copy the secret from the pop up message.
    Important: You cannot retrieve the secret ID after closing the message. You can only reset the secret again, which means that any client using the app will no longer be able to authenticate.
  5. To see the available endpoints to set up MQTT connection from the edge to the cloud. refer to Export MQTT Endpoints.