Skip to main content

Device Tokens

Device tokens authenticate devices to the Foxglove platform. They are used by the Foxglove Agent for data ingestion and by remote access gateways for live visualization and teleoperation.

Creating a device token

To create a device token, as an admin user:

  1. Go to the Devices page
  2. Create a new device or select an existing device
  3. Select the "Settings" tab
  4. Select "Create new token" to generate a secret token
  5. Save the token, which you'll need when setting up the Foxglove Agent or a remote access gateway
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 device token is locked to a single device. A device can have multiple tokens, but each token can only be used by one device.

Foxglove Agent

The Foxglove Agent supports an additional provisioning workflow where you create a token without associating it to a device upfront. The Agent automatically creates the device on first startup. See the Agent device tokens documentation for details.

Next steps