About Fleet
Fleet (FleetDM) is an open-source device management (MDM) and osquery platform. Serval connects to either Fleet cloud or a self-hosted Fleet server using an API token, then lets your team run device workflows - look up a user’s laptop, lock or wipe a lost device, recover a disk encryption key, audit installed software - and reach the rest of the Fleet API on demand. The integration appears as Fleet in the Serval app. Authentication: API token (Bearer). Serval stores your Fleet domain and API token and attaches the token to every request on its own servers - the token never reaches workflow code. Data sync: On-demand only. There is no background sync and no data ingestion; Serval calls your Fleet instance at the moment a workflow or API action runs.What the Fleet integration enables
Get your credentials
You need two things: your Fleet domain and a Fleet API token. The token belongs to a Fleet user account and inherits that account’s role, so create it from an account with enough privileges (Admin or Maintainer for some operations). See Fleet’s REST API documentation for details.Log in to your Fleet instance
Open your account profile
Copy and save the token immediately
Note your Fleet domain
Connect in Serval
Open the Fleet integration
Enter your API Domain (required)
Enter your API Token (required)
Save the connection
Verifying the connection
The Fleet connection runs five health checks:- Get Current User - confirms Serval can authenticate and identifies the token’s user and role. Success: “Successfully authenticated as [name or email] ([role])” Failure: “Unable to authenticate with FleetDM. Please check your API token and domain.”
- List Hosts - confirms device listing works and captures a few sample devices. Success: “Successfully listed hosts from FleetDM ([number] returned)” Failure: “Unable to list hosts from FleetDM. Please check your permissions.”
- List Users - confirms user listing works and captures a few sample users. Success: “Successfully listed users from FleetDM ([number] returned)” Failure: “Unable to list users from FleetDM. Please check your permissions.”
- List Policies - confirms global policy listing works and captures a few sample policies. Success: “Successfully listed policies from FleetDM ([number] returned)” Failure: “Unable to list policies from FleetDM. Please check your permissions.”
- List Queries - confirms saved-query listing works and captures a few sample queries. Success: “Successfully listed queries from FleetDM ([number] returned)” Failure: “Unable to list queries from FleetDM. Please check your permissions.”
Gotchas and troubleshooting
Domain is rejected when connecting
Domain is rejected when connecting
Some checks or workflows fail with permission errors
Some checks or workflows fail with permission errors
Lock, wipe, and encryption key workflows ask for approval
Lock, wipe, and encryption key workflows ask for approval
Phones and tablets never appear in workstation workflows
Phones and tablets never appear in workstation workflows
Cannot find the integration by name
Cannot find the integration by name
Editing the connection changed something you did not touch
Editing the connection changed something you did not touch
Need help? Contact support@serval.com for assistance with your Fleet integration.

