Skip to main content

Integrate your Samsara account

How to create a Samsara API token and add it to FleetOps to connect your Samsara ELD and telematics data.

Official Samsara guides: Get Started with the Samsara API and API Authentication. The Samsara steps below follow these guides. If a screen in Samsara looks different, follow the Samsara guide for that part, then come back here for the FleetOps steps.

FleetOps connects to Samsara with an API token that you create in your Samsara dashboard, then paste into FleetOps. Most setups take about 5 minutes.

Note: FleetOps only reads your Samsara data. It never creates, changes or deletes anything in Samsara.

Before you start

  • A Samsara login with the Full Admin or Standard Admin role that covers your Entire Organization. Admins limited to certain tags can't create API tokens.

  • A FleetOps login with access to Settings > Connectors. If you haven't signed up yet, check your inbox for your FleetOps invite or email [email protected].

Step 1: Create an API token in Samsara

  1. Sign in to your Samsara dashboard and click the Settings (gear) icon at the bottom of the left menu.

  2. Under Developer, select API Tokens.

  3. Click + Add an API Token.

  4. Fill in the form:

    • Name: FleetOps

    • Tag Access: Entire Organization, so all of your drivers and vehicles come through to FleetOps.

    • Scopes: in the Global dropdown, choose read access (Global Read). Don't select any Write scopes.

  5. Click Save.

  6. Your new token appears at the top of the API Tokens page. Click Copy To Clipboard straight away. Samsara only shows the token once, and you can't see it again after you refresh the page.

Note: Treat the API token like a password. Paste it straight into FleetOps rather than emailing it to us or anyone else.

Step 2: Add the token in FleetOps

  1. Sign in to FleetOps and go to Settings > Connectors, or use this direct link: Samsara connector.

  2. Find Samsara and click Set Up Connection.

  3. Paste your Samsara API token into Api Key.

  4. Click Save.

That's it. Our onboarding team is notified when the connection is saved and will confirm once your Samsara data is flowing into FleetOps.

FAQ (possible errors and fixes)

Q: I can't see API Tokens in my Samsara settings.

A: Your Samsara user needs the Full Admin or Standard Admin role with access to the Entire Organization. Ask a Samsara admin at your company to create the token, or to update your role.

Q: I didn't copy the token in time.

A: Create a new token (Step 1) and delete the one you couldn't copy. You can also use Regenerate from the token's ... menu, but only do that if nothing else is using the token, because regenerating breaks any integration that uses the old one.

Q: Some of our drivers or vehicles are missing in FleetOps.

A: The token's Tag Access is probably limited to certain tags. Edit the token in Samsara and set Tag Access to Entire Organization.

Q: My connection was working and has stopped.

A: The token was most likely deleted or regenerated in Samsara. Create a new token (Step 1) and update it in FleetOps (Step 2).

Q: We have more than one Samsara account.

A: Add each one as its own connection. Create a token in each Samsara account (Step 1), then go back to the Samsara connector in FleetOps and add another connection for each extra account.

Need help?

For anything on the FleetOps side, email [email protected] and we'll book a quick call to walk you through it. For questions about your Samsara account or roles, contact Samsara support through your Samsara dashboard.

Did this answer your question?