Skip to content
Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrating with Planhat

Before you start

  • In Drivetrain: you need to be an admin.

  • In Planhat: API access, and permission to create Private Apps (called Service Accounts in original Planhat). Access to them is controlled by the ServiceAccount data model permission; if you don't see them, ask your Planhat admin.

Step 1: Create a Private App and token in Planhat

  1. Open the App Center global tool, click + New app, then + Private app in the top-left corner.

  2. Name it Drivetrain Integration. Under Copy Permissions From, choose Start from scratch (copying a role gives the app that role's broader access), then click Create.

  3. On the Permissions tab, give the app access only to the objects you want in Drivetrain (for example companies, licenses, assets, opportunities and users). Click Save.

  4. On the Info tab, set Set Expiration to the longest option (365 days at most). Tokens expire after 30 days by default.

  5. Click Generate new token and copy it. Planhat shows the token only once.

Step 2: Connect in Drivetrain

  1. Go to Data in the left navigation, click the + button and select Planhat (under Others, or search for it).

  2. Drivetrain shows Planhat is a premium integration. Click Request access.

  3. Click Add field and enter API token with the token as its value. If the form already lists fields under Connector fields, fill those in instead. Click Submit credentials.

  4. Planhat appears on the Data page with the status Credentials submitted. Drivetrain completes the setup and runs the first sync; the Sync option stays hidden until then.

What data comes in

Planhat objects such as companies, licenses, assets, opportunities, and your Planhat users and their roles. Give the token access to every object you need.

Before the token expires

When the token expires, syncs stop. Before its expiry date, generate a new token on the app's Info tab and send it to your customer success manager.

Troubleshooting

What you see
Cause and fix

Submit credentials does nothing

No field has both a name and a value. Fill in both: a row missing either is dropped without warning.

You submitted a wrong value

While the status is Credentials submitted, repeat Step 2. The new submission replaces the pending one.

This connector is currently being set up. Please try again once it finishes.

Drivetrain has started setting up or syncing this connector, so your submission wasn't saved. Don't submit again: send the corrected credentials to your customer success manager.

Planhat not in your subscription

Planhat isn't in your plan. Contact Drivetrain support to add it.

You need to change credentials after setup

Don't repeat Step 2: after setup, that creates a second connection. Send the new credentials to your customer success manager.

Syncs stop after a few weeks

The token expired (30 days by default). Generate a new one with a longer expiry and send it to your customer success manager.

You lost the token before submitting it

Planhat can't show it again. Generate a new token.

Last updated

Was this helpful?