CloudLocate credentials and Zero Touch Provisioning

Credentials provisioning

To use the CloudLocate service to access the endpoint directly from the device (and not in Service to Service mode) you must first create a CloudLocate Thing which will provide the access credentials.

Once you have these you can configure the MQTT client on your device.

When your fleet grows, these steps can result in an operational burden that can be resolved using the CloudLocate Zero Touch Provisioning service which allows devices to automatically provision themselves.

How to use ZTP

The CloudLocate Zero Touch Provisioning service (ZTP) is based on two elements:

ZTP device profile

The first step is to create a device profile. Select 'Device profiles' from the ZTP section of the Location Services menu and click on the button 'Create Profile' and fill in the fields:

In this section

Still need help?

CloudLocate getting started guide

If you need more help or have any questions, please send an email to support@thingstream.io.

Once created, you will be given a URL and token, which can be used by all devices to call the provisioning service.

Device profiles can be modified at any time, but changes to auto-activation and the chosen plan will only apply to devices that provision after the change is applied. Any existing devices will continue with their current plan.

REST API

The ZTP device profile will provide the URL of the provisioning service and the access token that relates to the profile. Devices can then make an HTTP POST request using the format below:

{"token": "string", "givenName": "string", "tags": ["string"], "hardwareId": "string" }

where: