Step 1: Obtain the device attestation token

Asset Tracker Template

tags
Asset Tracker Template

The attestation token uniquely identifies your device and proves its authenticity to nRF Cloud. You can obtain it in two ways:

  • Automatic (on first boot): When an unprovisioned device boots the Asset Tracker Template firmware for the first time, it prints the attestation token to the serial log. Power the device on, connect a serial terminal (115200 baud) as soon as the USB serial port enumerates, and look for the line labelled Attestation token: in the log output. If you missed it, reset the device while the serial terminal is still attached.

  • Manual (using a shell command): If you missed the token on first boot or need to retrieve it again, run the following AT command in the device shell through the serial terminal:

    at at%attesttoken
    

    The token is printed as a string starting with %ATTESTTOKEN:. Copy the entire token value (excluding the %ATTESTTOKEN: prefix).