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 get it in two ways:

  • Automatically 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 at 115200 baud as soon as the USB serial port enumerates, and look for the line labeled Attestation token: in the log output. If you missed it, reset the device while the serial terminal is still attached.
  • Manually with 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 device prints the token as a string starting with %ATTESTTOKEN:. Copy the entire token value, without the %ATTESTTOKEN: prefix.