Step 3: Trigger provisioning on the device

Asset Tracker Template

tags
Asset Tracker Template

After claiming, the device must contact the provisioning service to fetch its credentials. To trigger this immediately:

  • Thingy:91 X: Press and hold the button on the top of the device (Button 1) for about three seconds.
  • nRF9151 DK: Press and hold Button 1 for about three seconds.

The device will poll the provisioning service, receive its credentials, and connect to nRF Cloud over CoAP. Provisioning can take up to a minute. Once complete, the device appears under Device ManagementDevices in the nRF Cloud portal.

Note

It is normal for the LTE connection to disconnect and reconnect during provisioning. The modem must go offline temporarily while credentials are written to its secure storage. See the "What happens during provisioning" section at the top of this page for details.

What can you do after connecting

After your device is connected to nRF Cloud, you can perform the following:

  • Monitor device data: View real-time data from your device, including location, temperature, battery percentage, and other sensor readings in the nRF Cloud portal.
  • Retrieve data programmatically:
Retrieve historical messages
curl -X GET "https://api.nrfcloud.com/v1/messages?device_id=${DEVICE_ID}&pageLimit=10" \
  -H "Authorization: Bearer ${API_KEY}" \
  -H "Accept: application/json"

  • Perform firmware updates: Deploy over-the-air firmware updates to your device. See Firmware Updates (FOTA) for detailed instructions on preparing and deploying firmware updates through nRF Cloud.