Skip to main content

Device Tokens

Device tokens authenticate the Foxglove Agent to the rest of the system.

There are two different methods to manage device tokens:

In this method you create a device first, then create a device token corresponding to that device. The device token is locked to that particular device and can be used immediately.

To use this method, as an admin user:

  1. Go to the Devices page
  2. Create a new device or select an existing device
  3. Select the "Agent" tab
  4. Select "Create new token" to generate a secret token
  5. Save the token, which will be used during the installation of the Foxglove Agent
tip

Admins can also create device tokens via the API. Generate an API key with both the devices.create and deviceTokens.create capabilities from the API key settings page and use it to create device tokens.

note

Each Agent installation requires its own unique device and device token. Multi-compute robots sharing a single device aren't supported.

Next install the Agent on your robot.