Connecting Samsara
Step-by-step guide to integrating Samsara telematics with Drafft
Connecting Samsara
Samsara is a modern fleet operations platform providing vehicle telematics, driver monitoring, and real-time logistics insights. Integrating Samsara with Drafft enables automatic fuel recommendations based on your fleet's live operational data.
Prerequisites
- Active Samsara account with admin access
- API token from Samsara
- Trucks already added to your Drafft fleet
Getting Your Samsara API Token
- Log in to your Samsara dashboard as an administrator
- Navigate to Settings > API Tokens
- Click Generate New API Token
- Give your token a descriptive name: "Drafft Integration"
- Select the following scopes:
- Vehicles: Read access to vehicle location and fuel data
- Fleet: Read access to fleet configuration
- Click Generate
- Copy the token immediately (it won't be displayed again)
Connecting to Drafft
- In Drafft, go to Settings > Integrations
- Click Connect under Samsara
- Paste your API token into the field
- Click Test Connection to verify the token works
- Once verified, click Connect
- Your integration is now active
What Drafft Accesses
After connecting, Drafft will:
- Retrieve real-time vehicle location, speed, and fuel level data
- Access vehicle maintenance alerts and diagnostic codes
- Monitor driver behavior and trip information
- Use this operational data to generate precise fuel recommendations
- Track idle time and engine hours
Troubleshooting
"Invalid Token" error:
- Verify you copied the API token completely without extra spaces
- Check that your Samsara account still has admin permissions
- Regenerate a new token in Samsara's settings if the original has issues
No vehicles showing up:
- Ensure all vehicles are active and properly configured in Samsara
- Confirm your API token has "Vehicles" read permissions
- Allow 5-10 minutes for initial data synchronization
Data sync is slow or incomplete:
- Check your Samsara subscription tier (some features require Premium)
- Verify your internet connection and Drafft's access to Samsara's API
- Reach out to Samsara support if the API is experiencing issues
Updating Your Connection
If you need to update your API token:
- Go to Settings > Integrations
- Click Edit next to Samsara
- Paste your new token and click Update
Disconnecting Samsara
To remove the Samsara integration:
- Go to Settings > Integrations
- Click Disconnect next to Samsara
- Drafft will no longer sync vehicle data from Samsara
For additional support, contact Samsara at support@samsara.com.