> This is part 1 of 2 of the full documentation (pages 1–100 of 136).
> The content is paginated: fetch every part to see all of it.
> Next part: https://integrations.drivetrain.ai/llms-full.txt/1
> Page index: https://integrations.drivetrain.ai/llms.txt

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://integrations.drivetrain.ai/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

---

# Integrate with Drivetrain

Connect Drivetrain to 800+ tools: accounting, CRM, HRIS, BI, databases, and more. Browse step-by-step integration docs and get data flowing fast.

Drivetrain supports over **800+ data connectors** today. Documentation is available for the following systems.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><strong>Accounting &#x26; ERP</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-68e809df195574e7595bee5fa68239590129d9bd%2Faccounting-erp-cover.avif?alt=media">accounting-and-erp-card.avif</a></td><td><a href="/integration-guide/readme/accounting-and-erp">Accounting &amp; ERP</a></td></tr><tr><td align="center"><strong>BI</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-69464840d4fddb876af1b6d59b3c6adff33f339b%2FBI-drivetrain.avif?alt=media">bi-card.avif</a></td><td><a href="/integration-guide/readme/bi">BI</a></td></tr><tr><td align="center"><strong>Billing &#x26; Invoicing</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3705b957ce22db0216213b17feb2ca167c0a2652%2FBilling-invoicing-drivetrain.avif?alt=media">billing-and-invoicing-card.avif</a></td><td><a href="/integration-guide/readme/billing-and-invoicing">Billing &amp; Invoicing</a></td></tr><tr><td align="center"><strong>CRM</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2b51c7cd26ae734ba43723316f4aa8d1ae838693%2Fcrm-drivetrain.avif?alt=media">crm-card.avif</a></td><td><a href="/integration-guide/readme/crm">CRM</a></td></tr><tr><td align="center"><strong>Customer Success</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-631f53ee61fa4713c6b5e48d90622f0daa4fce51%2Fcsm-drivetrain.avif?alt=media">customer-success-card.avif</a></td><td><a href="/integration-guide/readme/customer-success">Customer Success</a></td></tr><tr><td align="center"><strong>Databases &#x26; Warehouses</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5b1729660b0722616c0be7e6119b2420ac311222%2Fdb-warehouse-drivetrain.avif?alt=media">databases-and-warehouses-card.avif</a></td><td><a href="/integration-guide/readme/databases-and-warehouses">Databases &amp; Warehouses</a></td></tr><tr><td align="center"><strong>HRIS &#x26; ATS</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ba86e331ce3d68ec23fc0e608e7721ff306f8fd8%2Fhris-ats-drivetrain.avif?alt=media">hris-and-ats-card.avif</a></td><td><a href="/integration-guide/readme/hris-and-ats">HRIS &amp; ATS</a></td></tr><tr><td align="center"><strong>Spreadsheets</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aab71b3cba171022725236647252d19112de3788%2Fspreadsheets-drivetrain.avif?alt=media">spreadsheets-card.avif</a></td><td><a href="/integration-guide/readme/spreadsheets">Spreadsheets</a></td></tr><tr><td align="center"><strong>Others</strong></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f9fe50ed4736dedc4d0b1b5ef39d9026fa242755%2Fothers-drivetrain.avif?alt=media">others-card.avif</a></td><td><a href="/integration-guide/readme/others">Others</a></td></tr></tbody></table>

{% hint style="info" %}
We are adding new documentation for more integrations every week. For help with integrating your data or if a particular application/data source isn't listed here, contact your customer success manager.
{% endhint %}


# Accounting & ERP

Connect your accounting or ERP system to Drivetrain and keep actuals in sync. Guides for QuickBooks, Xero, NetSuite, Sage Intacct, Odoo, and many more.

Drivetrain integrates with 20+ accounting and ERP tools. To add one, go to the **Data** page, click the **+** icon at the top of the **Data** panel and pick it in the **Connect a data source** window. You need to be a Drivetrain admin. Setup guides:

* [Business Central](/integration-guide/readme/accounting-and-erp/integrating-with-business-central)
* [Campfire](/integration-guide/readme/accounting-and-erp/integrating-with-campfire)
* [Certinia](/integration-guide/readme/accounting-and-erp/integrating-with-certinia) (connects through the Salesforce connector)
* [NetSuite](/integration-guide/readme/accounting-and-erp/integrating-with-netsuite)
* [Odoo](/integration-guide/readme/accounting-and-erp/integrating-with-odoo)
* [Plaid](/integration-guide/readme/accounting-and-erp/integrating-with-plaid)
* [QuickBooks](/integration-guide/readme/accounting-and-erp/integrating-with-quickbooks)
* [Ramp](/integration-guide/readme/accounting-and-erp/integrating-with-ramp)
* [Rillet](/integration-guide/readme/accounting-and-erp/integrating-with-rillet)
* [Sage Intacct](/integration-guide/readme/accounting-and-erp/integrating-with-sage-intacct)
* [Tally](/integration-guide/readme/accounting-and-erp/integrating-with-tally) (set up with your customer success manager)
* [Workday Financial Management](https://github.com/DrivetrainAi/gitbook-integrations/tree/main/en/integration-guide/integrate-with-drivetrain/accounting-and-erp/integrating-with-workday-financial-management.md) (set up with your customer success manager)
* [Xero](/integration-guide/readme/accounting-and-erp/integrating-with-xero)
* [Zoho Books](/integration-guide/readme/accounting-and-erp/integrating-with-zoho-books)

For other accounting tools and ERP systems, contact your customer success manager to help you get them connected.

<table data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Certinia</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-certinia">Integrating with Certinia</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-519b4f983ef974c257878370c6fdd2ae633706e6%2FCertinia.avif?alt=media">certinia-card.avif</a></td></tr><tr><td align="center">NetSuite</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-netsuite">Integrating with NetSuite</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ef85ec68f3b0f4321acc73cd3ef8b4a8bbb237a4%2FNetsuite.avif?alt=media">netsuite-card.avif</a></td></tr><tr><td align="center">QuickBooks</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-quickbooks">Integrating with QuickBooks</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-47e9d781e08d4d355257d8e7f5a8aeec3b7cc330%2FQuickbooks.avif?alt=media">quickbooks-card.avif</a></td></tr><tr><td align="center">Ramp</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-ramp">Integrating with Ramp</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ee717505d07970df748ea205b1c45edeac8bc882%2FCard_Ramp.png?alt=media">ramp-card.png</a></td></tr><tr><td align="center">Rillet</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-rillet">Integrating with Rillet</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-850cbf41bf8093bd81e99c6515424c302476c0f6%2FRillet.avif?alt=media">rillet-card.avif</a></td></tr><tr><td align="center">Sage</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-sage-intacct">Integrating with Sage Intacct</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c793e8ef57727697606689ae011b1758d0c6dcc4%2FSage.avif?alt=media">sage-card.avif</a></td></tr><tr><td align="center">Tally</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-tally">Integrating with Tally</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1d9ebae94d24c87bd79970dc9ae0892e4d66b3e1%2FTally.avif?alt=media">tally-card.avif</a></td></tr><tr><td align="center">Xero</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-xero">Integrating with Xero</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7778911378d949e14825edb46ee343820f1855ee%2FXero.avif?alt=media">xero-card.avif</a></td></tr><tr><td align="center">Zoho Books</td><td><a href="/integration-guide/readme/accounting-and-erp/integrating-with-zoho-books">Integrating with Zoho Books</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cfa2b13eb62e4c269830dde3f909a9b1ff46e167%2FZoho%20books.avif?alt=media">zoho-books-card.avif</a></td></tr></tbody></table>


# Integrating with Business Central

Connect Microsoft Dynamics 365 Business Central to Drivetrain with a read-only Entra app. Covers app registration, the D365 READ permission set and what syncs.

Drivetrain reads Business Central through a Microsoft Entra app that you register and limit to read-only access. There's no user sign-in and no redirect.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Azure:** permission to register applications and grant admin consent (typically **Global Administrator** or **Application Administrator**).
* **In Business Central:** a user who can manage Microsoft Entra applications (typically **SUPER**).
* **Permissions Drivetrain needs:** the Entra application permission `API.ReadWrite.All` on **Dynamics 365 Business Central**, and the Business Central permission set **D365 READ**. The permission set is what keeps Drivetrain read-only.

## Step 1: Register an app in Microsoft Entra ID

### Register a new application

1. Sign in to the [Azure portal](https://portal.azure.com/).
2. Go to **Microsoft Entra ID > App registrations > + New registration.**

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c6a2f6d80d4d8b7f8777c400bd23b203827494e6%2Funknown.png?alt=media" alt="" height="324" width="624">

3. Fill in the following:
   * **Name:** Drivetrain Integration (or any name you prefer)
   * **Supported account types:** **Accounts in this organizational directory only (Single tenant)**
   * **Redirect URI:** leave blank. Drivetrain uses server-to-server authentication.
4. Click **Register**.

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-beb46d6fbed7264c7491e02aab06eefbaad2a74d%2Funknown.png?alt=media" alt="" height="313" width="624">

### Copy the Application ID and Tenant ID

On the app's **Overview** page, copy the **Application (client) ID** and the **Directory (tenant) ID**.

### Add a client secret

1. Go to **Certificates & secrets > + New client secret.**

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-94b3ca8d6e908ae42ffe0991f41a6aedf42343fa%2Funknown.png?alt=media" alt="" height="317" width="624">

2. Enter a **Description** (for example "Drivetrain connector") and pick an **Expires** duration that fits your rotation policy (for example 24 months).
3. Click **Add.**
4. Copy the secret's **Value** (not the Secret ID) right away. Azure doesn't show it again.

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6fad9509d0e8fc847e44738da1f55fa2a68f47f9%2Funknown.png?alt=media" alt="" height="323" width="624">

### Add the API permission

1. Go to **API permissions > + Add a permission.**

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-35d178330cfc8a1b03be52e1deb8e627b566abc9%2Funknown.png?alt=media" alt="" height="319" width="624">

2. Select **APIs my organization uses** (or **Microsoft APIs**, depending on your tenant), search for **Dynamics 365 Business Central** and select it.
3. Choose **Application permissions** (not Delegated).
4. Tick `API.ReadWrite.All` and click **Add permissions.**

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e4243140f871269b32fc100daa87f77a1691fe49%2Funknown.png?alt=media" alt="" height="317" width="624">

5. Click **Grant admin consent for {your tenant name}** and confirm with **Yes**. The status should read **Granted for {tenant}**.

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3565b5a1963b8e8f444e0f666ddf15cbf26b2d3f%2Funknown.png?alt=media" alt="" height="292" width="624">

{% hint style="info" %}
`API.ReadWrite.All` only lets the app call the Business Central API, and Microsoft has no read-only variant. What the app can read or change is set by the Business Central permission set in Step 2, which is read-only.
{% endhint %}

## Step 2: Register the app in Business Central

{% hint style="warning" %}
This step is required. Azure consent alone doesn't give the app access to any Business Central data.
{% endhint %}

1. Sign in to **Business Central** as a user who can manage Microsoft Entra applications.
2. Search (Alt+Q) for **Microsoft Entra Applications** (older name: **Azure Active Directory Applications**) and open it.
3. Click **+ New.**
4. Enter the **Client ID** (the Application (client) ID from Step 1), a **Description** (for example "Drivetrain connector") and set **State** to **Enabled**.
5. Under **User Permission Sets**, click **+ New line** and add **D365 READ**.
6. Save the page.

## Step 3: Connect Business Central in Drivetrain

You need these values:

| Value            | Where to find it                                                               |
| ---------------- | ------------------------------------------------------------------------------ |
| Tenant ID        | Azure > App registrations > your app > Overview > **Directory (tenant) ID**    |
| Client ID        | Azure > App registrations > your app > Overview > **Application (client) ID**  |
| Client secret    | The **Value** you copied in Step 1                                             |
| Environment name | Your Business Central environment, for example Production or your sandbox name |

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Microsoft Dynamics 365 Business Central** under **Accounting & ERP**.
3. Enter the **Tenant ID**, **Client ID**, **Client Secret** and, if asked, the **Environment name** (leave it empty for Production), and complete the form.

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8f123813e66ef897a299533da01ee9e658198498%2Funknown.png?alt=media" alt="" height="259" width="624">

4. Your Business Central data source appears on the **Data** page and its first sync starts.

<img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-abde50cf4bc97a40a1889d979831131828dcfbb9%2Funknown.png?alt=media" alt="" height="331" width="624">

## What data comes in

* Accounts, Company Information, Customers, Customer Payment Journals, Dimensions, Employees, General Ledger Entries, Items, Journals, Purchase Invoices, Purchase Orders, Sales Credit Memos, Sales Invoices, Sales Orders, Tax Groups, Trial Balances, Vendor Payment Journals and Vendors.
* Data from every company in the environment.
* The first sync pulls records changed since 2010. Later syncs fetch only new and changed General Ledger Entries; the other tables are read in full each time.
* Data syncs daily by default. Use **Sync schedule** on the data source to change it.

## Update credentials or disconnect

* Client secrets expire. Before yours does, create a new secret in Azure and enter it with **Edit credentials** on the data source, or send it to your customer success manager if that option isn't shown. You must keep the same **Tenant ID**.
* To disconnect, choose **Remove**. To revoke access fully, also set the app's **State** to **Disabled** under **Microsoft Entra Applications** in Business Central.

## Troubleshooting

<details>

<summary>The first sync fails right after connecting</summary>

Drivetrain doesn't test the values when you connect, so a wrong value shows up as a failed sync. Check the Tenant ID, Client ID and secret Value (not the Secret ID), that admin consent was granted (Step 1), and that the app is **Enabled** with **D365 READ** in Business Central (Step 2).

</details>

<details>

<summary>"The new credentials connect to a different Microsoft Dynamics 365 Business Central account … Edit credentials must reconnect the same account."</summary>

You entered a different Tenant ID in **Edit credentials**. Use the original one, or add a new data source.

</details>


# Integrating with Campfire

Connect Campfire accounting to Drivetrain for streamlined financial planning. Covers API key setup, required permissions, and completing the integration.

You connect Campfire with an API key from a read-only Campfire API user.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Campfire:** an active account that can create API users and keys (**Settings > API Keys**).

## Step 1: Create a read-only API user in Campfire

1. In Campfire, go to **Settings > API Keys**.
2. Click **Create User**.
3. Enter a **Name** and **Email**, and choose a **Role**:
   * `admin`: full access to the APIs
   * `clerk`: read access and the ability to post drafts
   * `view only`: read-only access (GET requests only)
4. Save the user.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c7d691bb85c8b0e0c40a25478989588a41d71870%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Drivetrain only reads data, so **view only** is enough.
{% endhint %}

## Step 2: Create the API key

1. Click **Create API Key** for that user.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a235d9feeb2c825328ff90916ae46b27dd14e7be%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Copy the key now and store it securely. Campfire shows it only once.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f5358dfd216e473f0367c6dfe11caeb7a4195c5c%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Connect Campfire in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Campfire**.
3. Paste the key into **API Key** and click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-61ab4ec8d4320a47451fcebbd9bd81106fe1c7b8%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Campfire appears on the **Data** page and starts its first sync. Drivetrain doesn't test the key when you click **Submit**, so a wrong key shows up as a failed first sync.

## What data comes in

* Invoices, Revenue Transactions, Bills, Chart Accounts, Chart Transactions and Journal Entries.
* Each sync replaces these tables with Campfire's current data. Data syncs daily by default; use **Sync schedule** on the data source to change it.

## Troubleshooting

<details>

<summary>The first sync fails right after connecting</summary>

The key is usually wrong or was deleted in Campfire. Create a new key (Step 2) and enter it with **Edit credentials** on the data source. If that option isn't shown, send the key to your Drivetrain onboarding partner.

</details>


# Integrating with Certinia

Sync Certinia ERP data with Drivetrain for automated financial reporting. Covers connecting through the Salesforce connector and which objects sync.

### Certinia <a href="#certinia" id="certinia"></a>

[Certinia](https://certinia.com/) (formerly FinancialForce) is an ERP and service automation tool built on Salesforce. You connect it with Drivetrain's Salesforce connector, and Certinia's data comes in as Salesforce objects.

### Setup guide <a href="#setup-guide" id="setup-guide"></a>

1. Follow our [Salesforce setup guide](/integration-guide/readme/crm/integrating-with-salesforce) to connect your org. For a sandbox org, use the **Salesforce Sandbox** tile.
2. Give the Salesforce integration user read access to the Certinia objects you need (through Certinia permission sets or object permissions). Objects the user can't read can't be synced.
3. Bring in data using **Objects**, and search for the Certinia objects to add them.

### Schema information <a href="#schema-information" id="schema-information"></a>

Certinia objects have these prefixes:

* `c2g__`: Certinia Financials (accounting), for example `c2g__codaTransaction__c` and `c2g__codaJournal__c`
* `pse__`: Certinia PSA (professional services)

Drivetrain syncs only the objects you add.


# Integrating with NetSuite

Connect NetSuite to Drivetrain with token-based authentication and a least-privilege role. Covers setup, saved searches, what syncs and troubleshooting.

You connect NetSuite yourself with token-based authentication (TBA): create an integration and an access token in NetSuite, then enter five values in Drivetrain. Saved searches are optional and need a small script in NetSuite.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In NetSuite:** a NetSuite administrator does the setup below. The connection itself should use a dedicated integration user with its own role. The Administrator role also works, but Oracle advises against it for web services integrations.
* **Features** to enable at **Setup** > **Company** > **Setup Tasks** > **Enable Features**:
  * **SuiteCloud** subtab: **REST Web Services** and **Token-based Authentication** (under **Manage Authentication**). For saved searches, also **SOAP Web Services**, **Client SuiteScript** and **Server SuiteScript**.
  * **Analytics** subtab: **SuiteAnalytics Workbook**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0777872b84a05788323381985e17b2bf7ad35143%2FNetsuite-2.avif?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9c30072bd5006c7812970333b4aba2a70e92a6dd%2FNetsuite-1.avif?alt=media)

* **Permissions** for the integration role (Drivetrain only reads data):

| Tab     | Permission                 | Level | Needed for                                         |
| ------- | -------------------------- | ----- | -------------------------------------------------- |
| Setup   | Log in using Access Tokens | Full  | All                                                |
| Setup   | REST Web Services          | Full  | All                                                |
| Reports | SuiteAnalytics Workbook    | Edit  | All                                                |
| Setup   | User Access Tokens         | Full  | Only if the integration user creates its own token |
| Setup   | SOAP Web Services          | Full  | Saved searches                                     |
| Lists   | Documents and Files        | Full  | Saved searches                                     |

The role also needs view access to every record Drivetrain syncs (see [What data comes in](#what-data-comes-in)), including each transaction type you plan with (for example journal entries, invoices and bills), consolidated exchange rates, accounting periods and deleted records. If you use subsidiaries or multiple accounting books, give the role **All** subsidiaries with **Allow Cross-Subsidiary Record Viewing**, and all accounting books. [Integrating with NetSuite (Role Based Access)](/integration-guide/readme/others/integrating-with-netsuite-role-based-access) has a complete role sheet you can copy; it grants more than this minimum, which also works.

{% hint style="warning" %}
NetSuite doesn't raise an error for records the role can't see. It leaves them out. If numbers in Drivetrain are lower than in NetSuite, check the role's transaction types and subsidiaries first.
{% endhint %}

## Step 1: Set up NetSuite

### 1. Create the integration user

* Create the role at **Setup** > **Users/Roles** > **Manage Roles** > **New**, with the permissions above.
* Go to **Lists** > **Employees** > **Employees** > **New**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-214bc67031c5cdc4f3bf9dcb6c0c1e8699a9881b%2FScreenshot%202025-04-16%20at%208.09.32%E2%80%AFPM.png?alt=media)

* Select the **Standard Employee Form**, enter the name "Drivetrain Integration" and a service-account email from your own domain (for example `drivetrain@mycompany.com`).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9b68bb076f16117a8be51a62d40caf9934a8b2e2%2FScreenshot%202025-04-16%20at%208.31.55%E2%80%AFPM.png?alt=media)

* On the **Access** subtab, check **Give Access**, set a password, add the role you created (the screenshot shows Administrator) and click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-275f36f72d271b532719e67923a4446981351ade%2FScreenshot%202025-04-16%20at%2010.11.00%E2%80%AFPM.png?alt=media)

### 2. Create an integration

* Go to **Setup** > **Integration** > **Manage Integrations** > **New**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c1e9599867cde55ff5b787773ac0c513a3b57c91%2FNetsuite-6.png?alt=media)

* Enter a **Name** (for example "Drivetrain Integration"). Under **Authentication**, check **TOKEN-BASED AUTHENTICATION** and uncheck **TBA: AUTHORIZATION FLOW**. In **OAuth 2.0**, uncheck **AUTHORIZATION CODE GRANT**. Click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-63c041d0f367fbc8f87e2690e318379fb4d87cda%2Fnetsuite-07.png?alt=media)

* Under **Client Credentials** at the bottom of the page, copy the **Consumer Key** and **Consumer Secret**. NetSuite shows them only once.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-19baabfc18a9bed176836b0d9166c261ac0437ea%2FScreenshot%202025-04-17%20at%2012.53.14%E2%80%AFPM.png?alt=media)

### 3. Create an access token

* Log in to NetSuite as the integration user and click the **Home** icon.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f099d80780ac21aa914335453e647807a20f105b%2FScreenshot%202025-04-17%20at%201.02.57%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7e5599f9641ff59293baaa11e59f528475a4096c%2FScreenshot%202025-04-17%20at%201.11.17%E2%80%AFPM.png?alt=media)

* At the bottom of the **Settings** list, click **Manage Access Tokens**, then **New My Access Token**. The link only appears if Token-based Authentication is enabled and the role has **User Access Tokens**. An administrator can instead create the token at **Setup** > **Users/Roles** > **Access Tokens** > **New**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-faf07d62ff5b32c8b4c298f0435952c13e2b8b5a%2FScreenshot%202025-04-17%20at%201.13.21%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dcc0b524108b7d827eb585856e262c57d9d15a85%2FScreenshot%202025-04-17%20at%201.17.24%E2%80%AFPM.png?alt=media)

* In **APPLICATION NAME**, select the integration from step 2 and click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-67e876f92fd3e0a8aed6a13cddd1aa9622300082%2FScreenshot%202025-04-17%20at%201.19.33%E2%80%AFPM.png?alt=media)

* Copy the **Token ID** and **Token Secret**. NetSuite shows them only once.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5d5fd520a9289498fa0329b58d235951d210f61f%2FScreenshot%202025-04-17%20at%201.21.49%E2%80%AFPM.png?alt=media)

### 4. Find your account ID

* Go to **Setup** > **Company** > **Company Information** and copy the **Account ID** (for example `1234567`, or `1234567_SB1` for a sandbox).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-23c0f178661437cfe544b52ededb31410a494db8%2FScreenshot%202025-04-17%20at%201.25.27%E2%80%AFPM.png?alt=media)

### 5. Install the saved search script (only for saved searches)

1. Download the script from <https://highway-cdn.drivetrain.ai/scripts/DrivetrainSavedSearch.zip> and unzip it.
2. Go to **Customization** > **Scripting** > **Scripts** > **New**. The Upload Script File form opens.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5785b8522e80a1eb86c33b18cb68f79f3f50c67f%2FScreenshot%202025-04-17%20at%201.46.36%E2%80%AFPM.png?alt=media)

3. Hover over the **Script File** field and click the **+** button that appears. Pick a folder if you don't want the default (SuiteScripts), click **Choose File**, select the unzipped file and click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-66f24ab9ad340897c9a2355c3678a12df1d086ef%2FScreenshot%202025-04-17%20at%201.48.37%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0364a1362455a399b20eae8d29602e8dbbb98792%2FScreenshot%202025-04-17%20at%201.53.54%E2%80%AFPM.png?alt=media)

4. Click **Create Script Record**. Enter **Name** "Drivetrain Saved Search" and **ID** "drivetrainsavedsearch". On the **Deployments** tab, enter **Title** "DrivetrainSavedSearch" and set the status to **Released**. Click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-af96bd474f56a40ddd857f032fe566ef76c7139b%2FScreenshot%202025-04-17%20at%201.55.30%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-56b5dd5fe3f44c70e91eb8cebeefd02cd7eb9d6a%2FScreenshot%202025-04-17%20at%202.00.33%E2%80%AFPM.png?alt=media)

5. Click the deployment title to open the Script Deployment, and copy the **External URL**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b8544297427a92de2a52de0aa659c46db05fbdb2%2FScreenshot%202025-04-17%20at%202.02.17%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-39d37ff9bea68d286757040245c263dab75c91fe%2FScreenshot%202025-04-17%20at%202.06.51%E2%80%AFPM.png?alt=media)

6. Edit the deployment, add the integration user's role to its audience (the screenshot shows Administrator) and click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0cfac5ce27be589b93a502e3c3a25c8e78f6a292%2FScreenshot%202025-04-17%20at%202.18.43%E2%80%AFPM.png?alt=media)

7. Go to **Documents** > **Files** > **File Cabinet** > **New** and add a folder named **DrivetrainExports** at the root. The script writes each export there.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1d2f55426c8cefd82e00419aa53eda9c3fa0c409%2FScreenshot%202025-04-17%20at%202.32.56%E2%80%AFPM.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d70f8b5034565e3f09d78a15356ef1338acae40f%2FScreenshot%202025-04-17%20at%202.37.27%E2%80%AFPM.png?alt=media)

## Step 2: Connect NetSuite in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b686fc3b0d4fbed523567f2a6c09e7140a5f251f%2FScreenshot%202025-04-17%20at%202.39.54%E2%80%AFPM.png?alt=media)

2. Select **NetSuite**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-26d4d370b6765418902cdc164931025ca085015c%2Fnetsuite-27.png?alt=media)

3. Enter **Account ID**, **Consumer key**, **Consumer secret**, **Token key** (NetSuite's **Token ID**) and **Token secret**, and click **Connect**. **Connect** stays disabled until every field is filled.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a8b944ab0f6a1fb4eb0e7526605758951374b70e%2FScreenshot%202025-04-17%20at%202.41.52%E2%80%AFPM.png?alt=media)

4. Drivetrain tests the credentials, opens the new NetSuite data source and starts the first sync.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-10b8b0ef076e1f88d9605a3f11bfbc83649e82d1%2FScreenshot%202025-04-17%20at%207.43.05%E2%80%AFPM.png?alt=media)

### Add a saved search (optional)

Add saved searches after the first sync finishes. Each saved search must be visible to the integration role (for example **Public**), and you need the External URL from Step 1.5.

1. On the NetSuite data source, click **Add data** (it may read **Add saved search**).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-27fa2e7743996cc112198a76a097915911ed78ef%2FScreenshot%202025-04-17%20at%205.07.28%E2%80%AFPM.png?alt=media)

2. Enter the **External URL** (if it isn't already filled in), paste the full **Saved search URL** and enter a **Display name**. For example, paste <https://123456.app.netsuite.com/app/common/search/searchresults.nl?searchid=884&whence=>, not just the ID 884.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9ab4686271fb73b120dd36e450bbcfb368bd139d%2FScreenshot%202025-04-17%20at%205.17.52%E2%80%AFPM.png?alt=media)

3. Click **Create**. The saved search appears as a dataset once it syncs.

## What data comes in

* Accounts, accounting periods, consolidated exchange rates, currencies, customers, departments, classes, locations, subsidiaries, vendors, items, transactions, transaction lines, transaction accounting lines and deleted records. Drivetrain builds standard NetSuite datasets from them, such as General Ledger and Trial Balance.
* The first sync pulls all transactions. Later syncs pull only records changed since the last sync.
* Each saved search is exported in full on every sync.
* Data syncs daily by default. Use **Sync** in the data source's menu to sync now, or **Sync schedule** to change the schedule.

## Update credentials or disconnect

* NetSuite tokens don't expire, but they stop working if they're revoked or the user, role or integration changes. To enter a new token, open the data source's menu, choose **Edit credentials**, enter the values and click **Update credentials**. A full sync starts. You can't edit while a sync is running, or switch to a different NetSuite account.
* To disconnect, choose **Remove** and confirm. To also cut access on the NetSuite side, revoke the token at **Setup** > **Users/Roles** > **Access Tokens**.
* Your Drivetrain team may ask for read-only access to the NetSuite UI during onboarding to check numbers. This isn't needed for the connection.

## Troubleshooting

<details>

<summary>"Invalid login credentials. Please check for any errors or confirm that they are still valid"</summary>

Drivetrain's test query to NetSuite failed. Check the five values and that the token belongs to this integration and account. Check that **REST Web Services**, **Token-based Authentication** and **SuiteAnalytics Workbook** are enabled, and that the role has **Log in using Access Tokens**, **REST Web Services** and **SuiteAnalytics Workbook**.

</details>

<details>

<summary>"… must be alphanumeric" or "Account ID must be start with a number"</summary>

Copy the value again without spaces or line breaks. The account ID starts with digits, for example `1234567` or `1234567_SB1`.

</details>

<details>

<summary>Syncs fail and Drivetrain says the credentials are invalid or have been revoked</summary>

NetSuite rejected the login ("Invalid login attempt"): the token was revoked, or the user, role or integration changed. Check NetSuite's login audit trail at **Setup** > **Users/Roles** > **User Management** > **View Login Audit Trail**, create a new token and use **Edit credentials**.

</details>

<details>

<summary>The sync fails because a record type is "nonexistent" or returns an "invalid search query"</summary>

The role can't see that record type, or the feature is off in NetSuite. Give the role View access to it (see Before you start), or enable the feature.

</details>

<details>

<summary>Saved search: "NetSuite could not find this saved search…"</summary>

Check the saved search URL, and make the search public or visible to the integration role.

</details>

<details>

<summary>Saved search: "The NetSuite role connected to Drivetrain cannot export saved searches…"</summary>

Give the role **Documents and Files** at **Full**, and check that the **DrivetrainExports** folder exists at the root of the File Cabinet.

</details>

<details>

<summary>Saved search: "Drivetrain could not reach the saved search script in NetSuite…"</summary>

Check that the script deployment is **Released**, that the integration role is in its audience, and that the External URL is the deployment's. **Client SuiteScript** and **Server SuiteScript** must be enabled.

</details>

<details>

<summary>Saved search: "Invalid URL"</summary>

Paste full URLs. The External URL must contain `script=` and `deploy=`, and the saved search URL must contain `searchid=`.

</details>


# Integrating with Odoo

Connect Odoo 19+ to Drivetrain with an API key from a dedicated Odoo user. Covers the user, the API key and submitting it in Drivetrain.

You connect Odoo with an API key of a dedicated Odoo user. Odoo is a premium integration: you submit the details in Drivetrain and the Drivetrain team finishes the setup.

## Before you start

* **In Drivetrain:** you need to be an admin. If you don't see an **Odoo** tile, ask your customer success manager to enable it.
* **In Odoo:** Odoo 19 or later on a **Custom** plan (Odoo's external API isn't available on other plans), and an Odoo admin to create the user.

## Step 1: Create a dedicated Odoo user

1. Log in to Odoo as an admin and go to **Settings → Users → Manage Users**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-25dee316c91d7fdc1be016fa8b95a18ddc61e2e9%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click **New** and fill in the user's details.
3. Make it an **Internal User**.
4. On the **Access Rights** tab, give read access to the accounting data Drivetrain needs. Drivetrain only reads data. It skips fields the user can't read, but the sync fails if the user can't read a model at all.
5. Click **Save**. The user accepts the invitation email and sets a password.

## Step 2: Generate an API key as that user

1. Log in to Odoo as the Drivetrain user.
2. Go to **Preferences → Account Security → New API Key**.
3. Enter a description (for example **Drivetrain**) and a duration, then generate the key. Odoo keys last at most three months.
4. Copy the key now. Odoo shows it only once.

{% hint style="warning" %}
The key stops working when its duration ends. Before then, generate a new key and send it to your customer success manager.
{% endhint %}

## Step 3: Submit the details in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel and select **Odoo**.
2. Click **Request access**.
3. Enter:
   * **Odoo URL**: your instance address, for example `https://mycompany.odoo.com`
   * **Database (optional)**: only if your Odoo server hosts several databases
   * **API Key**: the key from Step 2
4. Click **Submit credentials**.

The data source shows **Credentials submitted** until the Drivetrain team activates it.

## What data comes in

* Chart of accounts (accounts, account tags and groups), journals, journal entries and journal items, reconciliations, fiscal positions, account reports, companies, currencies and currency rates.
* After the first sync, only records changed since the last sync are fetched. Data syncs daily by default.


# Integrating with Plaid

Connect your bank and financial accounts to Drivetrain through Plaid. Covers prerequisites, signing in through Plaid, choosing institutions and accounts, and sharing your data.

Plaid is a financial data network that securely connects bank and financial accounts to apps and services. Drivetrain uses Plaid to bring your bank data into Drivetrain.

## Prerequisites

Before you start, make sure you have:

* **Online banking login** for each bank you want to connect — the username and password you use on your bank's website.
* **Access to your second-factor device** (phone, authenticator app, or security token), in case your bank asks for a one-time code.

## Connecting your bank accounts through Plaid

To connect your bank accounts:

1. Sign in to Drivetrain and go to **Data → + Add Data Source**. Open the **Accounting & ERP** category and select **Plaid**, or search for "Plaid" in the search bar.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5291b7ea88fc246b05b01314e941b4ea3622d6d3%2Fplaid-01-select-connector.png?alt=media" alt="Plaid connector in the Connect a data source window"><figcaption></figcaption></figure>
2. Click **Login to connect**.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fe0ab7c7c2240cf0f47a1179467bdc84b836e3de%2Fplaid-02-login-to-connect.png?alt=media" alt="Connect your Plaid account screen"><figcaption></figcaption></figure>
3. Sign in to your Plaid account.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-036b9a4b7f80a44640c4415e1c8ac2b0594c6e78%2Fplaid-03-plaid-sign-in.png?alt=media" alt="Plaid sign-in window"><figcaption></figcaption></figure>
4. Select the institutions you want to connect.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cd583895f2d968f2799f2896bc395015f0ea9215%2Fplaid-04-select-institution.png?alt=media" alt="Select your institution window in Plaid"><figcaption></figcaption></figure>
5. Click **Continue to log in** and sign in to the institution with your online banking credentials.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-eddb206acca5db4a81a190cc69cb437ed7d9ca2c%2Fplaid-05-institution-login.png?alt=media" alt="Log in to your bank through Plaid"><figcaption></figcaption></figure>
6. Enter any additional verification details your bank requests, such as your **Company ID**, then click **Submit**.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-446bf941840b618f13c4d26723bb6a53db1e861f%2Fplaid-06-verify-identity.png?alt=media" alt="Verify your identity with a Company ID"><figcaption></figcaption></figure>
7. Select the accounts you want to connect to Drivetrain, then click **Continue**.
8. Click **Share data** to share your connected accounts with Drivetrain.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c5f0f1a2565f629d320e07838fe75beec85230f2%2Fplaid-07-share-data.png?alt=media" alt="Share data confirmation in Plaid"><figcaption></figcaption></figure>

Drivetrain starts syncing your bank data. The sync takes a couple of minutes.

{% hint style="info" %}
If you have any questions or run into any issues during setup, contact your customer success manager for assistance.
{% endhint %}

## FAQ

**What do I need to connect my bank accounts to Drivetrain through Plaid?**

You need the online banking login for each bank you want to connect, and access to your second-factor device in case your bank asks for a one-time code.

**Can I connect more than one bank?**

Yes. Have the online banking login ready for each bank, then select those institutions in the Plaid window and sign in to each one.

**How long does the sync take after I connect?**

After you click **Share data**, Drivetrain starts syncing your bank data. The sync takes a couple of minutes.


# Integrating with QuickBooks

Connect QuickBooks to Drivetrain quickly—no provisioning or support required.

You connect **QuickBooks Online** to Drivetrain yourself by signing in to QuickBooks. No credentials are shared with Drivetrain.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In QuickBooks Online:** you're the **primary admin** or a **Company admin** of the company you want to connect. QuickBooks only lets these users connect apps.
* Drivetrain asks QuickBooks for access to your accounting data (plus your email address). Drivetrain only reads data.

## Step 1: Start the connection in Drivetrain

1. Go to the **Data** page.
2. Click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
3. Select **QuickBooks**.
4. Click **Connect to QuickBooks**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f32deb3a2e4dfb574cc879055613d638af183e21%2FQBO%20integration%20(16).gif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Sign in to QuickBooks

1. The QuickBooks sign-in page opens in the same tab. Sign in with your admin account and complete multi-factor authentication if asked.
2. If your login has access to several companies, select the one to connect, and authorize access.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e96ee329f82a08f0dce978bb6318ab1e3363716b%2FQBO%20integration%20(18).gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Each data source connects one QuickBooks company. To connect another company, finish the first one, then repeat from Step 1.
{% endhint %}

## Step 3: Check that it worked

You return to Drivetrain and the first sync starts. **Sync in progress** appears at the top of the page, and when the sync finishes the data source shows **Connected**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3af3ed479c4c1665cf290baa5fec277a26121ef3%2FQBO%20integration%20(6).gif?alt=media" alt=""><figcaption></figcaption></figure>

## What data comes in

* Drivetrain's standard QuickBooks datasets: **Account**, **General Ledger** and **Trial Balance**.
* Data syncs daily by default. Use **Sync** in the data source's menu to sync now, or **Sync schedule** to change the schedule.

## Reconnect or disconnect

* The QuickBooks sign-in stops working after about 100 days without a sync (and after 5 years at most), or if Drivetrain is disconnected in QuickBooks. Syncs then fail. See [Re-authentication of QuickBooks](/integration-guide/readme/accounting-and-erp/integrating-with-quickbooks/re-authentication-of-quickbooks).
* To disconnect, open the data source's menu, choose **Remove** and confirm with **Delete data source**. This also deletes its data from Drivetrain.

## Troubleshooting

<details>

<summary>The sync started, but I don't see any datasets.</summary>

The first sync can take a while for large companies. Refresh the page after a few minutes. If the data source shows **Sync failed**, open it to see the error.

</details>

<details>

<summary>I can't authorize Drivetrain in QuickBooks.</summary>

Only the primary admin or a Company admin can connect apps. Ask one of them to connect, or to make you a Company admin.

</details>

<details>

<summary>"The new credentials connect to a different QuickBooks account …"</summary>

You picked a different company while updating credentials. Run **Edit credentials** again and select the original company. To connect another company, add a new QuickBooks data source.

</details>

<details>

<summary>Nothing's working. Can someone from Drivetrain help?</summary>

Contact your Drivetrain integration partner. They may ask for temporary access for validation. [View steps to grant access.](/integration-guide/readme/accounting-and-erp/integrating-with-quickbooks/grant-temporary-access-to-quickbooks)

</details>


# Grant temporary access to QuickBooks

Steps to grant Drivetrain temporary access to QuickBooks.

In some cases, such as troubleshooting a bug or connection error, Drivetrain support may ask for temporary access to your QuickBooks account so a team member can investigate in the QuickBooks UI.

{% hint style="warning" %}
Use this flow only if Drivetrain support asks for it. It isn't needed to connect QuickBooks.
{% endhint %}

## Step 1: Add the Drivetrain user in QuickBooks

1. Sign in to QuickBooks Online with an admin account.
2. Click the **Settings** gear and select **Manage users**.
3. Click **Add user**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-57da7c0c91922380e7d7cd8b3d6dacef50e60be3%2FQBO%20integration%20(13).gif?alt=media" alt=""><figcaption></figcaption></figure>

4. Enter **First name** `Drivetrain`, **Last name** `AI`, and the email address your Drivetrain contact gives you (it looks like `dp-yourcompany@drivetrain.ai`).
5. Choose the role your Drivetrain contact asks for.
6. Click **Send invitation**, and complete multi-factor authentication if asked.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5bd576aeca1b8b3c169d269e79cba3caaded2b75%2FQBO%20integration%20(17).gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Your QuickBooks plan limits how many users you can add.
{% endhint %}

## Step 2: Tell your Drivetrain contact

A Drivetrain team member accepts the invitation and starts investigating.

## Step 3: Remove access when done

1. Go to **Settings** > **Manage users**.
2. Find the Drivetrain user, open its **⋮** menu and select **Delete**, then confirm.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aabb22872694afdd8633b0140f6505a29da6573f%2FQBO%20integration%20(10).gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
This gives Drivetrain team members access to your QuickBooks UI. Remove the user once the issue is resolved.
{% endhint %}


# Re-authentication of QuickBooks

QuickBooks session expired in Drivetrain? Re-authenticate with this guide. Covers the OAuth re-authorization flow.

Reconnect QuickBooks when its syncs fail because the sign-in expired or was revoked. This happens after about 100 days without a successful sync, at QuickBooks' 5-year limit or if someone disconnected Drivetrain in QuickBooks. Once you reconnect, syncing resumes.

## Before you start

* You're a Drivetrain admin.
* You're the QuickBooks **primary admin** or a **Company admin** of the same company the data source is connected to.

## Step 1: Open Edit credentials in Drivetrain

1. On the **Data** page, click the **⋮** menu next to the QuickBooks data source and select **Edit credentials**. (It's disabled while a sync is running.)
2. Click **Connect to QuickBooks** in the window that appears.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3f23e43f06ccbf6846273b3315150cf7ea511e9a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6d23e790956f0a36c19bf480307fd7a0e3b7f443%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Sign in to QuickBooks as an admin

1. Sign in with the primary admin or a Company admin account, and complete any verification QuickBooks asks for.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f5d9e0bda0a4e98d40b5af2b10bf8bc083e7bc53%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. If asked, select the **same company** this data source was connected to. Drivetrain rejects a different company.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1d495e5519c7f4a00b1a1c77893bddc0bab09182%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Check that it worked

You return to Drivetrain with **Credentials updated for QuickBooks. A full sync has been initiated.**

## Troubleshooting

<details>

<summary>"The new credentials connect to a different QuickBooks account …"</summary>

You picked a different company. Repeat the steps and select the company this data source was created for. To connect a different company, add a new QuickBooks data source instead.

</details>

<details>

<summary>QuickBooks won't let me authorize.</summary>

Sign in as the primary admin or a Company admin.

</details>

<details>

<summary>Still stuck?</summary>

Contact your Drivetrain onboarding partner or customer success manager with the step where the flow stopped and a screenshot of any error.

</details>


# Integrating with Ramp

Connect Ramp to Drivetrain using a developer app's client credentials. Covers creating the app, the 20 required read scopes and what syncs.

You connect Ramp with the **Client ID** and **Client Secret** of a developer app you create in your Ramp account.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Ramp:** a Ramp admin (needed for **Company → Developer**). Use your production Ramp account: this connection uses Ramp's production API, so sandbox (demo) app credentials don't work.

## Step 1: Create a developer app in Ramp

1. In Ramp, go to **Company → Developer** and click **Create New App**.
2. Name the app (for example **Drivetrain Integration**) and accept the **Terms**.
3. Under **Grant types**, click **Add new grant type** and select **Client Credentials**.
4. Under **Scopes**, click **Configure allowed scopes** and select **all** of these read scopes:

   `business:read`, `entities:read`, `bills:read`, `cards:read`, `departments:read`, `limits:read`, `locations:read`, `merchants:read`, `purchase_orders:read`, `receipts:read`, `reimbursements:read`, `spend_programs:read`, `transactions:read`, `users:read`, `vendors:read`, `statements:read`, `transfers:read`, `repayments:read`, `cashbacks:read`, `treasury:read`

{% hint style="warning" %}
Drivetrain requests all 20 scopes on every sync. If even one is missing from the app, Ramp rejects the request and the whole sync fails. No write scopes are needed.
{% endhint %}

5. Copy the **Client ID** and **Client Secret** and store them securely.

## Step 2: Connect Ramp in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media" alt=""><figcaption></figcaption></figure>
2. Select **Ramp**.

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-726fc3cbd9903614aa3e55dcdaa840905dc88a5a%2Fimage%20-%202026-07-04T105918.028.png?alt=media" alt=""><figcaption></figcaption></figure>
3. Enter the **Client ID** and **Client Secret** and click **Submit**. (There's no environment selector.)

   <figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-432e4a8ddeb46f0b68040eafbbf600e6d150410a%2Fimage%20-%202026-07-04T110000.919.png?alt=media" alt=""><figcaption></figcaption></figure>

Ramp appears on the **Data** page and starts its first sync.

## What data comes in

* Business, Business Balance, Entities, Bills, Bill Drafts, Cards, Departments, Limits, Locations, Merchants, Purchase Orders, Receipts, Reimbursements, Spend Programs, Transactions, Users, Vendors, Statements, Transfers, Repayments and Cashbacks.
* Each sync replaces these tables with Ramp's current data. Data syncs daily by default; use **Sync schedule** on the data source to change it.

## Update credentials

If you rotate the client secret or delete the app in Ramp, syncs stop. Enter the new values with **Edit credentials** on the data source, or send them to your customer success manager if that option isn't shown.

## Troubleshooting

<details>

<summary>Drivetrain says a client ID and client secret are required</summary>

One of the two fields was empty. Enter both and click **Submit** again.

</details>

<details>

<summary>Syncs fail because Drivetrain can't get a Ramp access token</summary>

Ramp rejected the app's credentials. Check that the Client ID and Client Secret are from the same app and copied in full, that **Client Credentials** is added under **Grant types**, that all 20 scopes in Step 1 are allowed, and that the app is in your production Ramp account.

</details>


# Integrating with Rillet

Connect Rillet to Drivetrain and sync revenue accounting data into your financial models. Covers API key generation and account configuration.

You connect Rillet with a Rillet API key. Drivetrain reads your data through Rillet's API.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Rillet:** API access must be turned on for your organization. If **Organization Settings → API Access** isn't available, ask your Rillet account manager to enable it.

## Step 1: Create a Rillet API key

1. Sign in to Rillet and open **Organization Settings → API Access** ([app.rillet.io/settings/api-access](https://app.rillet.io/settings/api-access)).
2. Create a new API key and give it a recognizable name, for example **Drivetrain Integration**.
3. Copy the key and store it securely.

{% hint style="info" %}
**Reference:** Rillet — Getting Started: <https://docs.api.rillet.com/docs/getting-started>
{% endhint %}

## Step 2: Connect Rillet in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, search for **Rillet** (or open the **Accounting & ERP** category) and click it.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5f7a3b65548ec8bdc662df58d0696ce49def67de%2Fimage%20-%202026-07-04T092546.547.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Paste the API key into **Access Token** and click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-31ca63b107c68acc0a53b3da47cd8048fc2bc412%2Fimage%20-%202026-07-04T092548.728.png?alt=media" alt=""><figcaption></figcaption></figure>

Rillet appears on the **Data** page and starts its first sync. Drivetrain doesn't test the key when you click **Submit**, so a wrong key shows up as a failed first sync. If the connect window mentions Snowflake, ignore it: Drivetrain reads Rillet through its API.

## What data comes in

* Accounts, Subsidiaries, Customers, Vendors, Fields, Products and Invoices.
* Monthly Balance Sheet, Journal Entry, Cash Flow Statement and Trial Balance reports from January 2023 onward.
* Each sync replaces these tables with Rillet's current data. Data syncs daily by default; use **Sync schedule** on the data source to change it.

## Troubleshooting

<details>

<summary>The first sync fails right after connecting</summary>

Check that the key was copied in full and still exists under **API Access** in Rillet. If not, create a new key and enter it with **Edit credentials** on the data source, or send it to your customer success manager if that option isn't shown.

</details>


# Integrating with Sage Intacct

Learn how to connect Sage Intacct to Drivetrain. This guide covers enabling web services, authorizing a sender ID, and syncing your ERP data securely.

You connect Sage Intacct yourself: create a Web Services user in Sage Intacct, then enter its credentials and your Sender ID in Drivetrain.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Sage Intacct:** an admin who can manage subscriptions, users, roles and company security.
* **A Web Services developer license** with a **Sender ID** and **Sender password**. Ask your Sage Intacct account manager if you don't have one.
* **Permissions Drivetrain needs** (read only, **List** and **View**): Account Range, Class, Department, GL Account, GL Account Group, GL Account Group Hierarchy, GL Account Group Member, GL Batch, GL Entry, GL Journal, Statistical Account and Vendor. To pick up deleted accounts, Drivetrain also needs **Platform Services** > **Custom reports**: **List, View** (this needs the Platform Services subscription); without it, syncs fail. In the role screen, these permissions sit under General Ledger, Company (classes, departments) and Accounts Payable (vendors). Drivetrain checks read access to the objects when you connect.

## Step 1: Set up Sage Intacct

### 1. Turn on Web Services

1. Go to **Company** > **Admin** > **Subscriptions**.
2. In the **Applications** tab, turn on **Web Services**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-adb7d2219088f189e4ede61692bf320916817a64%2Fsage-intacct-06.png?alt=media)

### 2. Create a Web Services user

{% hint style="info" %}
Web Services users only call the API. They can't sign in to the Sage Intacct UI, and single sign-on and multi-factor authentication don't apply to them. [Read more](https://www.intacct.com/ia/docs/en_US/help_action/Administration/Users/web-services-only-users.htm?cshid=Web_services_users).
{% endhint %}

1. Go to **Company** > **Admin** > **Users, roles, and groups** and select **+** next to **Web services users**.
2. Enter a unique **User ID** and the **Username** "Drivetrain Integration".
3. Enter an **Account email address** you control.
4. Set **User Type** to **Business**. Leave contact name empty; Sage Intacct creates one.
5. Save. When **Verify your identity** appears, enter your own password.

### 3. Give the user a read-only role

1. Go to **Company** > **Admin** > **Roles** and add a role (for example "Drivetrain read-only").
2. Give it **List** and **View** on the objects in [Before you start](#before-you-start), plus **Platform Services** > **Custom reports**: **List, View**. If you use Interactive Custom Reports, add **Platform Services** > **Interactive Custom Reports** too.
3. Assign the role to the Web Services user.

### 4. Authorize your Sender ID

1. Go to **Company** > **Setup** and, under **Configuration**, click **Company**.
2. Open the **Security** tab and click **Edit**.
3. Under **Web services authorizations**, click **Add**, enter your **Sender ID** and save.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4f70222904b21501c6c0e6dc62c6a8e03641dea9%2FSage-11.png?alt=media)

## Step 2: Connect Sage Intacct in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, search for **Sage** and click **Sage Intacct**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aa84ee8e1e2379dc54a109fa17c227cd435070d5%2Fimage%20-%202026-07-04T094423.998.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Under **Set up a new Sage connection**, enter:
   * **Company Id**: your Sage Intacct company ID
   * **User Id** and **Login password**: the Web Services user from Step 1.2
   * **Sender Id** and **Sender password**: from your developer license
4. Click **Submit**. Drivetrain signs in to Sage Intacct and checks read access before it creates the connection.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-99a935137828538f21f25023199b223bc3a5f28f%2Fimage%20-%202026-07-04T094426.650.png?alt=media" alt=""><figcaption></figcaption></figure>

5. When it worked, the new Sage Intacct data source opens and its first sync starts.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bc06fdd2a657e62158abbe7ef5a8038a6f5ed575%2FSage%20Intacct%20data%20syncing%20on%20Drivetrain.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-92f86d23fdf63b8ad577e9de667f4542f8732dbf%2FSage%20Intacct%20data%20sync%20completed%20on%20Drivetrain.png?alt=media" alt=""><figcaption></figcaption></figure>

To connect another Sage Intacct company, repeat Step 2 with its Company Id.

{% hint style="info" %}
During onboarding, your Drivetrain team may also ask for a regular Sage Intacct UI user and your main reports (3 statements) and account groups, to check numbers. These aren't needed for the connection.
{% endhint %}

## What data comes in

* The objects listed in [Before you start](#before-you-start). Drivetrain builds Account, General Ledger and Balance Sheet datasets from them.
* The first sync pulls history from 2010. Later syncs fetch only new and changed records.
* Deleted GL entries, batches and accounts are removed in later syncs. Deleted accounts are found through Sage Intacct's audit history.
* Data syncs daily by default. Use **Sync** in the data source's menu to sync now, or **Sync schedule** to change the schedule.

## Update credentials or disconnect

* After a password or Sender password change, open the data source's menu, choose **Edit credentials**, enter the new values and click **Update credentials**. A full sync starts. You must keep the same **Company Id**; to connect another company, add a new data source.
* To disconnect, choose **Remove** and confirm.

## Troubleshooting

<details>

<summary>"Invalid Sage Intacct credentials. Please verify Company ID, User ID, User Password, Sender ID, and Sender Password."</summary>

Sage Intacct rejected the sign-in. Check all five values. Then check that Web Services is on (Step 1.1), your Sender ID is listed under **Web services authorizations** (Step 1.4), and the Web Services user is active.

</details>

<details>

<summary>"The Sage Intacct user does not have read access to the following objects: …"</summary>

The user's role is missing **List** and **View** on the objects named in the message. Add them (Step 1.3) and click **Submit** again.

</details>

<details>

<summary>"The new credentials connect to a different Sage Intacct account … Edit credentials must reconnect the same account."</summary>

You entered a different **Company Id** in **Edit credentials**. Use the original one, or add a new data source for the other company.

</details>

<details>

<summary>Syncs stop and Drivetrain says your Sage Intacct credentials are invalid</summary>

The Web Services user's password changed or the Sender ID was removed. Fix it in Sage Intacct, then use **Edit credentials**.

</details>

<details>

<summary>Drivetrain reports missing permissions for audit history or deleted records</summary>

The role lacks **Platform Services** > **Custom reports**: **List, View**, which Drivetrain reads on every sync. Add it (Step 1.3).

</details>


# Integrating with Tally

Connect Tally to Drivetrain with a script that runs next to TallyPrime. Covers Node.js, Tally's server settings and running the script.

Tally is connected with a script that runs on the Windows machine (or virtual machine) where TallyPrime is installed. The script reads Tally's data through its local server port and loads it into Drivetrain. Your customer success manager (CSM) sends you the script and a credentials file.

## Before you start

* A Windows machine with TallyPrime and the companies you want to load.
* The Tally script folder and the Drivetrain credentials file from your CSM.

## Step 1: Install Node.js and unpack the script

1. Install Node.js using [this](https://nodejs.org/dist/v20.10.0/node-v20.10.0-x64.msi) link.
2. Unzip the script folder from your CSM.
3. Open **Command Prompt** in that folder and unpack the dependencies: `powershell Expand-Archive -LiteralPath "node_modules.zip" -Force`

## Step 2: Enable Tally as a server

1. Open TallyPrime and press **F1 → Settings → Connectivity**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-33d14cf490a9f6b9e40f4e95ad64159309d28955%2FTally-1.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Select **Client/Server configuration**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-196bde9ec28a60174b0e202c1e5c367207a97fb9%2FTally-2.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Set TallyPrime to act as **Both**, with ODBC enabled on port **9000**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5e01a6d652e5c55a181519bf1c8ec80f32523dc3%2FTally-3.png?alt=media" alt=""><figcaption></figcaption></figure>

4. **Restart** TallyPrime to apply the changes.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7f306a5bda347bb45be483c2b73f66a5d29e8a88%2FTally-4.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Open **localhost:9000** in your browser. You should see this screen:

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-da2f1277902224dd1da2c2ddfe83d9962693078a%2FTally-5.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Configure and run the script

1. Open `config.json` and set:
   * `schema`: the value your CSM gives you
   * `fromdate` and `todate`: the period to load, as `YYYYMMDD` (for example `20230101`)
   * `company`: the Tally companies to load, if your CSM asks you to

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0b8944cd8ea495ec9424d51d7d77bdab4e5a6c51%2FTally-6.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Replace `bigquery-credentials.json` in the script folder with the credentials file from your CSM.
3. Run `run.bat`.
4. Tell your CSM when it finishes so they can check the data.

{% hint style="info" %}
The script loads data only when it runs. Run it again whenever you want to refresh Drivetrain with new Tally data.
{% endhint %}

## Troubleshooting

<details>

<summary>localhost:9000 doesn't respond</summary>

Tally's server isn't running or the port is in use. Check the settings in Step 2 and restart TallyPrime. If you change the port, use the same port in `config.json`.

</details>


# Integrating with Workday Financial Management

Connect Workday Financial Management to Drivetrain with a read-only integration system user. Covers the security group, authentication and domain security policies, and the details your CSM needs.

You set up Workday Financial Management with your customer success manager (CSM). You create an integration system user in Workday with read access to your financials data, then send its details to your CSM, who finishes the connection.

## Before you start

* **In Workday:** an Administrator account, to create the integration system user and security group.
* **A Workday Integration System User** with read permissions for financials domain objects. You create it in Step 1.1.
* **Permissions Drivetrain needs** (read only, **Get** access): the security domains listed in the Security domains section below.

## Step 1: Set up Workday

### 1. Create an integration system user

1. Sign in to Workday with an Administrator account.
2. Search for "create user" and select **Create Integration System User**.
3. Enter a **User Name** (for example, `drivetrain`) and a **Password**.
4. Leave the **Require New Password at Next Sign In** checkbox clear.
5. Select the **Do Not Allow UI Sessions** checkbox.
6. Click **OK**, then click **Done**.

### 2. Create an integration security group

1. Search for "create security group" and select **Create Security Group**.
2. In the **Type of Tenanted Security Group** drop-down, select **Integration System Security Group (Unconstrained)**.
3. Enter a **Security Group Name** and click **OK**.
4. In the **Edit Integration System Security Group (Unconstrained)** window, add the integration system user from Step 1.1.
5. Click **OK**.

### 3. Add the security group to the authentication policy

1. Search for "manage authentication policies" and select **Manage Authentication Policies**.
2. Enter the **Restricted to Environment** value, then select the **Authentication Policy Enabled** checkbox.
3. In the **Authentication Allowlist** section, enter the **Authentication Rule Name**.
4. Select the security group from Step 1.2.
5. Enter the **Authentication Condition Name** and **Authentication Conditions**.
6. In the **Allowed Authentication Types** section, in the **Specific** field, select **User Name Password**.
7. Search for "Activate All Pending Authentication Policy Changes" and select the task.
8. In the **Comment** box, enter "I approve the changes", then click **OK**.
9. Select the **Confirm** checkbox and click **OK**.

### 4. Add domain security policies

1. Search for "security group membership and access" and select the report link.
2. Select the security group from Step 1.2 and click **OK**.
3. Click the **...** icon next to the security group name.
4. Select **Security Group** > **Maintain Domain Permissions for Security Group**.
5. In the **Integration Permissions** section, in the **Domain Security Policies permitting Get access** field, search for and select the security domains listed in the Security domains section below.
6. Click **OK**, then click **Done**.

### 5. Activate the security policy changes

1. Search for "Activate Pending Security Policy Changes" and select **Activate Pending Security Policy Changes**.
2. In the **Comment** box, enter "I approve the changes", then click **OK**.
3. Select the **Confirm** checkbox and click **OK**.

## Step 2: Send your details to your CSM

Send your CSM:

* **Username and password**: the integration system user from Step 1.1.
* **Workday tenant**: from your Workday Web Services URL. If the URL is `https://impl-services1.wd<instance>.myworkday.com/ccx/service/<xyz>/...`, your tenant is `<xyz>`.
* **Workday hostname**: from the same URL. In the example above, it's `impl-services1.wd<instance>.myworkday.com`.

Your CSM uses these to finish the connection.

{% hint style="warning" %}
The password gives access to your Workday financials data. Share it with your CSM only through a secure channel.
{% endhint %}

## What data comes in

* The tables listed in the Security domains section below, plus their child tables.

## Security domains

Give the security group **Get** access to the security domains below. Security domains marked with **\*** may not show up in the **Domain Security Policies permitting Get access** field. See [Troubleshooting](#troubleshooting).

### FINANCIAL\_MANAGEMENT domain

<table data-search="false"><thead><tr><th>Table name</th><th>Security domain(s)</th></tr></thead><tbody><tr><td>BUSINESS_UNIT</td><td>Set Up: Worktags - Business Unit</td></tr><tr><td>BUSINESS_UNIT_HIERARCHY</td><td>Set Up: Worktags - Business Unit</td></tr><tr><td>CURRENCY</td><td>Set Up: Currency Rates<br>Set Up: Currency (Compensation functional area) *</td></tr><tr><td>COST_CENTER</td><td>Create: Cost Center</td></tr><tr><td>CURRENCY_CONVERSION_RATE</td><td>Set Up: Currency Rates<br>Set Up: Currency (Compensation functional area) *</td></tr><tr><td>CURRENCY_RATE_TYPE</td><td>Set Up: Currency Rates<br>Set Up: Currency (Compensation functional area) *</td></tr><tr><td>FISCAL_YEAR</td><td>Set Up: Fiscal Schedule</td></tr><tr><td>FISCAL_PERIOD</td><td>Set Up: Fiscal Schedule</td></tr><tr><td>FUND</td><td>Set Up: Fund</td></tr><tr><td>FUND_TYPE</td><td>Set Up: Fund</td></tr><tr><td>FUND_HIERARCHY</td><td>Set Up: Fund</td></tr><tr><td>GRANT_HIERARCHY</td><td>Set Up: Grants Management<br>Special OX Web Services</td></tr><tr><td>GRANT_HIERARCHY_INCLUDED_GRANT</td><td>Set Up: Grants Management<br>Special OX Web Services</td></tr><tr><td>GRANT</td><td>Set Up: Grants Management<br>Special OX Web Services</td></tr><tr><td>BASIC_GRANT</td><td>Set Up: Basic Grant Worktag<br>Special OX Web Services</td></tr><tr><td>GIFT</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_RESPONSIBLE_ORGANIZATION</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_RESTRICTION</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_RESTRICTION_PURPOSE</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_PURPOSE</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_INCOME_DISTRIBUTION_AMOUNT_RULE</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_INCOME_DISTRIBUTION_PERCENT_RULE</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_RELATED_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_ALLOWED_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_ADJUSTMENT_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_PURCHASE_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_REINVESTMENT_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_INCOME_DISTRIBUTION_AMOUNT_RULE_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_INCOME_DISTRIBUTION_PERCENT_RULE_WORKTAG</td><td>Set Up: Endowments<br>Special OX Web Services<br>Set Up: Basic Gift Worktag</td></tr><tr><td>GIFT_HIERARCHY</td><td>Set Up: Endowments<br>Special OX Web Services</td></tr><tr><td>GIFT_HIERARCHY_GIFT</td><td>Set Up: Endowments<br>Special OX Web Services</td></tr><tr><td>GIFT_HIERARCHY_CHILDREN</td><td>Set Up: Endowments<br>Special OX Web Services</td></tr><tr><td>PAYMENT_TYPE</td><td>Set Up: Settlement</td></tr><tr><td>PAYMENT_MESSAGE</td><td>Process: Supplier Invoice Payment/Settlement<br>Process: Expense Report Payment/Settlement<br>Process: Payroll Settlement<br>Process: Settlement<br>Process: Ad Hoc Payment Settlement<br>Process: Customer Refund Settlement<br>Process: Customer Invoice Payment/Settlement<br>Process: Intercompany Payment/Settlement<br>Process: Procurement Card Payment/Settlement<br>Process: Pending Student Refund/Settlement *<br>Process: Student Payment/Settlement<br>Process: Bank Account Transfer for Settlement/Settlement<br>Process: Miscellaneous Payment Request Settlement<br>Process: Student Sponsor Refund/Settlement<br>Process: Payroll Third-Party Payments Settlement</td></tr><tr><td>PAYMENT</td><td>Payee Data: Tax ID</td></tr><tr><td>PAYMENT_TERM</td><td>Set Up: Customer Accounts<br>Set Up: Supplier Accounts</td></tr><tr><td>LEDGER_ACCOUNT_SUMMARY</td><td>Set Up: Accounts</td></tr><tr><td>HEADCOUNT_PLAN</td><td>Process: Headcount Planning<br>Process: Headcount Plan (HCM)</td></tr><tr><td>JOURNAL_ENTRY</td><td>Process: Journals - View<br>View: Organization Journals</td></tr><tr><td>LEDGER</td><td>Set Up: Ledger and Book *</td></tr><tr><td>JOURNAL_SOURCE</td><td>Set Up: Journal Source<br>Set Up: Payroll - Company Specific (Accounting)</td></tr><tr><td>ORGANIZATION</td><td>Manage: Organization Integration</td></tr><tr><td>ACCOUNT_SET</td><td>Set Up: Accounts</td></tr><tr><td>CUSTOM_WORKTAG</td><td>Set Up: Maintain Custom Worktags</td></tr><tr><td>COMPANY</td><td>Set Up: Company General</td></tr><tr><td>CUSTOMER_TAX_INFORMATION</td><td>Set Up: Tax View: Customer</td></tr><tr><td>ACCOUNT_POSTING_RULE_SET</td><td>Set Up: Accounting Rules<br>Set Up: Payroll - Company Specific (Accounting)</td></tr><tr><td>RESOURCE_CATEGORY</td><td>Set Up: Spend Categories</td></tr><tr><td>AUDIT_TAG</td><td>Set Up: Audit Tags and Assignments</td></tr><tr><td>SPEND_CATEGORY_HIERARCHY</td><td>Set Up: Spend Categories</td></tr><tr><td>BASIC_SUPPLIER</td><td>Set Up: Basic Supplier Worktag</td></tr><tr><td>BUSINESS_PLAN_DETAIL</td><td>Process: Budget</td></tr><tr><td>ALLOCATION_DEFINITION</td><td>Set Up: Allocations</td></tr><tr><td>ALLOCATION_GROUP_SET</td><td>Set Up: Allocations</td></tr><tr><td>ALLOCATION_POOL_HIERARCHY</td><td>Set Up: Allocation Pool Hierarchy</td></tr><tr><td>ALLOCATION_POOL_WORKTAG_OVERRIDE_RULE</td><td>Set Up: Allocation Pool Worktag Override Rule</td></tr><tr><td>ALLOCATION_POOL</td><td>Set Up: Allocation Pool</td></tr><tr><td>ALLOCATION_PLAN</td><td>Set Up: Allocation Plan</td></tr><tr><td>All WORKTAG child tables</td><td>Set Up: Worktags</td></tr></tbody></table>

### REVENUE\_MANAGEMENT domain

<table data-search="false"><thead><tr><th>Table name</th><th>Security domain(s)</th></tr></thead><tbody><tr><td>CUSTOMER_CONTRACT_TYPE</td><td>Set Up: Customer Contracts - Templates and Types *<br>Set Up: Customer Contracts</td></tr><tr><td>CUSTOMER_CONTRACT_RENEWAL_TERM</td><td>Process: Customer Contract - View</td></tr><tr><td>CUSTOMER_ACTIVITY</td><td>Process: Opportunity</td></tr><tr><td>CUSTOMER_DEPOSIT</td><td>Process: Customer Deposit</td></tr><tr><td>CUSTOMER_CATEGORY</td><td>Set Up: Customer Categories *</td></tr><tr><td>CUSTOMER_CONTRACT_DISCOUNT_AND_PREMIUM</td><td>Process: Customer Contract - Core *</td></tr><tr><td>CUSTOMER_DATE_MILESTONE</td><td>Process: Project Billing - View<br>Set Up: Customer Milestones</td></tr><tr><td>CUSTOMER_GROUP</td><td>Reports: Customer</td></tr><tr><td>CUSTOMER_PORTAL_PAYMENT_SESSION</td><td>Self-Service: Customer Contact Tasks</td></tr><tr><td>CUSTOMER_PAYMENT</td><td>Process: Customer Invoice Payment</td></tr><tr><td>CUSTOMER_REFUND_DOCUMENT</td><td>Process: Customer Refund/Payment<br>Process: Settlement<br>Process: Customer Refund Settlement</td></tr><tr><td>CUSTOMER</td><td>Reports: Customer</td></tr><tr><td>CUSTOMER_CONTRACT_TEMPLATE</td><td>Set Up: Customer Contracts - Templates and Types *</td></tr><tr><td>CUSTOMER_CONTRACT_AMENDMENT</td><td>Process: Customer Contract - View</td></tr><tr><td>CUSTOMER_CONTRACT</td><td>Process: Customer Contract - View</td></tr><tr><td>CUSTOMER_INVOICE_ADJUSTMENT</td><td>Process: Customer Invoice - View *</td></tr><tr><td>CUSTOMER_INVOICE</td><td>Process: Customer Invoice - View *</td></tr><tr><td>ALTERNATE_CUSTOMER_CONTRACT</td><td>Process: Alternate Customer Contract</td></tr><tr><td>INTERCOMPANY_CUSTOMER_CONTRACT</td><td>Process: Transfer Pricing</td></tr><tr><td>REVENUE_RECOGNITION_SCHEDULE_TEMPLATE</td><td>Set Up: Customer Accounts<br>Process: Customer Invoice - View *</td></tr><tr><td>SALES_ITEM</td><td>Set Up: Sale Item</td></tr><tr><td>SALES_ITEM_GROUP</td><td>Set Up: Sale Item</td></tr><tr><td>REVENUE_RECOGNITION_SCHEDULE</td><td>Process: Customer Invoice - View *<br>Process: Revenue Schedule - View *</td></tr><tr><td>SALES_ITEM_FAIR_VALUE_PRICE_LIST</td><td>Set Up: Revenue - Allocations *</td></tr><tr><td>SALES_ITEM_PRICE_LIST</td><td>Set Up: Sale Item<br>Set Up: Customer Contracts - Price Lists *</td></tr><tr><td>BILLING_SCHEDULE</td><td>Process: Billing Schedule - View *</td></tr><tr><td>BILLING_SCHEDULE_TEMPLATE</td><td>Set Up: Customer Accounts</td></tr><tr><td>CONSOLIDATED_INVOICE</td><td>Process: Customer Invoice - View *</td></tr><tr><td>ORDER_FULFILLMENT_TRANSACTION</td><td>Process: Order Fulfillment</td></tr><tr><td>REVENUE_ADJUSTMENT_REASON</td><td>Set Up: Project Billing - Configurations *</td></tr><tr><td>REVENUE_ALLOCATION_CONFIGURATION</td><td>Set Up: Revenue - Allocations *</td></tr><tr><td>REVENUE_CATEGORY</td><td>Set Up: Revenue Categories *</td></tr><tr><td>REVENUE_CATEGORY_HIERARCHY</td><td>Set Up: Revenue Categories *<br>Set Up: Basic Revenue Category Worktag</td></tr><tr><td>BUSINESS_ENTITY_CONTACT</td><td>Set Up: Customer Contacts<br>Set Up: Tax<br>Set Up: Supplier Contacts<br>Set Up: Bank Entity</td></tr></tbody></table>

### RESOURCE\_MANAGEMENT domain

<table data-search="false"><thead><tr><th>Table name</th><th>Security domain(s)</th></tr></thead><tbody><tr><td>ADVANCED_SHIP_NOTICE</td><td>Process: Advanced Ship Notice - View *</td></tr><tr><td>CATALOG_ITEM</td><td>Process: Supplier Catalogs</td></tr><tr><td>CATALOG_LOAD</td><td>Special OX Web Services</td></tr><tr><td>COMMODITY_CODE</td><td>Set Up: Commodity Codes</td></tr><tr><td>COMMODITY_CODE_TYPE</td><td>Set Up: Commodity Codes</td></tr><tr><td>PROJECT</td><td>Set Up: Project Tracking</td></tr><tr><td>EXPENSE_CREDIT_CARD_TRANSACTION</td><td>Process: Credit Card Files</td></tr><tr><td>SUPPLIER</td><td>Reports: Supplier</td></tr><tr><td>PROJECT_TASK_RESOURCE</td><td>Manage: Project Task Resources</td></tr><tr><td>SUPPLIER_REFUND</td><td>Process: Supplier Refund - View</td></tr><tr><td>SUPPLIER_ITEM</td><td>Set Up: Purchase Item</td></tr><tr><td>SUPPLIER_GROUP</td><td>Reports: Supplier</td></tr><tr><td>SUPPLIER_CONTACT_INFORMATION</td><td>Reports: Supplier</td></tr><tr><td>SUPPLIER_CONNECTION</td><td>Reports: Supplier</td></tr><tr><td>SUPPLIER_CATALOG</td><td>Process: Supplier Catalogs</td></tr><tr><td>SUPPLIER_CATEGORY</td><td>Set Up: Supplier Categories *</td></tr><tr><td>SUPPLIER_CONTRACT</td><td>Process: Supplier Contract - View *</td></tr><tr><td>SUPPLIER_CLASSIFICATION</td><td>Set Up: Supplier Maintenance *</td></tr><tr><td>SUPPLIER_CONTRACT_LEASE_AMENDMENT</td><td>Process: Supplier Contract - View *</td></tr><tr><td>SUPPLIER_CONTRACT_AMENDMENT</td><td>Process: Supplier Contract - View *</td></tr><tr><td>SUPPLIER_INVOICE</td><td>Process: Supplier Invoice - View *</td></tr><tr><td>SUPPLIER_INVOICE_LINE</td><td>Process: Supplier Invoice - View *</td></tr><tr><td>SUPPLIER_INVOICE_SCHEDULE</td><td>Process: Supplier Contract - Supplier Invoice *</td></tr><tr><td>SUPPLIER_INVOICE_REQUEST</td><td>Process: Supplier Invoice - Request</td></tr><tr><td>SUPPLIER_INVOICE_ADJUSTMENT</td><td>Process: Supplier Invoice - View *</td></tr><tr><td>SUPPLIER_INVOICE_ASSIGNMENT_RULE</td><td>Set Up: Supplier Invoice Work Queue</td></tr><tr><td>SUPPLIER_INVOICE_HISTORY</td><td>Process: Supplier Invoice - View *<br>Set Up: Supplier Invoice History<br>View: Organization Supplier Invoice *</td></tr><tr><td>PURCHASE_ITEM_GROUP</td><td>Set Up: Purchase Item</td></tr><tr><td>PURCHASE_ITEM</td><td>Set Up: Purchase Item</td></tr><tr><td>PURCHASE_ITEM_LIST</td><td>Set Up: Procurement</td></tr><tr><td>PURCHASE_ORDER</td><td>Process: Purchase Order - View</td></tr><tr><td>PURCHASE_ORDER_CHANGE_ORDER</td><td>Process: Purchase Order - View</td></tr><tr><td>PURCHASE_ORDER_ACKNOWLEDGEMENT</td><td>Process: Purchase Order Acknowledgement - View<br>Process: Purchase Order Acknowledgement - Manage</td></tr><tr><td>PURCHASE_ORDER_SCHEDULE</td><td>Process: Supplier Contract - Purchase Order *</td></tr><tr><td>PROJECT_TIMESHEET</td><td>Worker Data: Project Timesheet and Worksheet</td></tr><tr><td>PROJECT_HIERARCHY</td><td>Set Up: Project Hierarchy</td></tr><tr><td>RECEIPT</td><td>Process: Receipt/Return - View *<br>Process: Purchase Order - View</td></tr><tr><td>RECEIPT_ADJUSTMENT</td><td>Process: Receipt/Return - View *</td></tr><tr><td>RETURN</td><td>Process: Receipt/Return - View *</td></tr><tr><td>REQUESTING_ENTITY</td><td>Set Up: Procurement</td></tr><tr><td>REQUEST_FOR_QUOTE</td><td>Process: Request for Quotes - View *</td></tr><tr><td>REQUEST_FOR_QUOTE_AWARD</td><td>Process: Request for Quotes - View *</td></tr><tr><td>RESOURCE_FORECAST</td><td>Manage: Project Resource Forecast</td></tr><tr><td>REQUEST_FOR_QUOTE_RESPONSE</td><td>Process: Request for Quotes - View *</td></tr><tr><td>PROJECT_TASK</td><td>Set Up: Project Tracking</td></tr><tr><td>PROJECT_STANDARD_COST_RATE_SHEET</td><td>Set Up: Project</td></tr><tr><td>PROJECT_WORKER_ROLE</td><td>Set Up: Project Tracking</td></tr><tr><td>PROJECT_ROLE_CATEGORY</td><td>Set Up: Project Details</td></tr><tr><td>INVOICE_TYPE</td><td>Set Up: Tax<br>Set Up: Expense Item</td></tr><tr><td>ITEM_IDENTIFIER_TYPE</td><td>Set Up: Procurement</td></tr><tr><td>PROCUREMENT_CARD_TRANSACTION_VERIFICATION</td><td>Process: Procurement Card Transaction Verification</td></tr><tr><td>REQUISITION</td><td>Process: Requisition</td></tr></tbody></table>

### INVENTORY domain

<table data-search="false"><thead><tr><th>Table name</th><th>Security domain(s)</th></tr></thead><tbody><tr><td>GOODS_DELIVERY_TICKET</td><td>Process: Goods Delivery - View *</td></tr><tr><td>INVENTORY_PAR_LOCATION</td><td>Process: Inventory<br>Special OX Web Services<br>Manage: Par Inventory</td></tr><tr><td>INVENTORY_PICKING_LIST</td><td>Process: Inventory Pick List - View *</td></tr><tr><td>INVENTORY_RETURN_ORDER</td><td>Process: Inventory</td></tr><tr><td>INVENTORY_SHIPMENT</td><td>Process: Inventory Shipment - View *</td></tr><tr><td>INVENTORY_STOCK_REQUEST</td><td>Process: Inventory Stock Request - View *</td></tr><tr><td>INVENTORY_STORAGE_LOCATION</td><td>Special OX Web Services</td></tr><tr><td>ITEM_LOT</td><td>Set Up: Inventory<br>Process: Inventory</td></tr><tr><td>MANUFACTURER</td><td>Set Up: Purchase Item</td></tr><tr><td>RECALL</td><td>Process: Recall - View *</td></tr><tr><td>RECALL_REACTION</td><td>Process: Recall Reaction - View *<br>Process: Recall - View *</td></tr><tr><td>INVENTORY_TRANSACTION</td><td>Process: Inventory</td></tr></tbody></table>

### CASH\_MANAGEMENT domain

<table data-search="false"><thead><tr><th>Table name</th><th>Security domain(s)</th></tr></thead><tbody><tr><td>BANK_STATEMENT</td><td>Process: Bank Reconciliation</td></tr></tbody></table>

## Troubleshooting

<details>

<summary>A security domain marked with * doesn't show up in the Domain Security Policies permitting Get access field</summary>

Search for the security domain in the Workday search bar, under the **Security** section. Open **Edit Domain Security Policy Permissions**, add the security group from Step 1.2 and allow **Get** access under **Integration Permissions**.

</details>

<details>

<summary>A child table isn't listed in the security domains</summary>

The security domains listed apply to each parent table and all of its child tables. Check the Workday ERD to find the parent table of a child table, and give access to that parent table's security domains.

</details>

<details>

<summary>The listed security domains don't give access to a table</summary>

Run the **View Security for Securable Item** task and search for the table name. Find the **GET** request for the object, then give the security group access to the security domains it lists.

</details>


# Integrating with Xero

Connect Xero to Drivetrain quickly—no provisioning or support required.

You connect Xero to Drivetrain yourself by signing in to Xero. No user provisioning is needed, and Drivetrain gets read-only access.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Xero:** a user with the **Standard** or **Advisor** role in the organisation you want to connect.
* When you sign in, Xero asks you to allow read-only access to accounting data (accounts, contacts, invoices, payments, bank transactions, journals, manual journals, settings, and profit and loss and balance sheet reports), plus read-only projects and payroll access.

## Step 1: Start the connection in Drivetrain

1. Go to the **Data** page.
2. Click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
3. Select **Xero**.
4. Click **Login to connect**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5c9e2197a080ceee84f744c47f1e73386bc54458%2FXero%20(1).gif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Sign in to Xero

The Xero sign-in page opens in the same tab. Sign in and complete multi-factor authentication if asked.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3399282fe670ea1dbbd7a26e8c8abab1dbf0cd82%2FXero%20(2).gif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Choose the organisation and allow access

Select **one** organisation and allow access.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-109e8146b358c02b0e4a697f4c7c19d2713f9c77%2FXero%20(4).gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Each data source connects one Xero organisation. To connect another organisation, repeat from Step 1. If you select several, Drivetrain connects only the first one that isn't connected yet. You can't connect the same organisation twice.
{% endhint %}

## Step 4: Check that it worked

You return to Drivetrain, the new Xero data source appears on the **Data** page and the first sync starts. When it finishes, the data source shows **Connected**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-58d6483c7c7bd6e6d30929ed55edf4d74200f12c%2FXero%20(6).gif?alt=media" alt=""><figcaption></figcaption></figure>

## What data comes in

* Drivetrain's standard Xero datasets: **Account**, **General Ledger**, **Trial Balance**, **Trial Balance Report** and **Tracking Categories**.
* They're built from these Xero records: accounts, bank transactions, bank transfers, contacts, credit notes, invoices, journals, manual journals, overpayments, payments, profit and loss and balance sheet reports, and tracking categories.
* Data syncs daily by default. Use **Sync** in the data source's menu to sync now, or **Sync schedule** to change the schedule.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c2d958bbd04b6d9bfe379a44b74334669ad69938%2FData-flow-diagram-xero-drivetrain-documentation.png?alt=media" alt=""><figcaption></figcaption></figure>

## Reconnect or disconnect

* The Xero sign-in stops working if it's unused for 60 days, or if Drivetrain is disconnected in Xero. Syncs then fail. See [Re-authentication of Xero](/integration-guide/readme/accounting-and-erp/integrating-with-xero/re-authentication-of-xero).
* To disconnect, open the data source's menu (**⋮**), choose **Remove** and confirm with **Delete data source**. This also deletes the Xero data from Drivetrain. To revoke access on the Xero side too, disconnect Drivetrain under **Connected apps** in your Xero settings.

## Troubleshooting

<details>

<summary>Where can I check the connection status?</summary>

On the **Data** page, each data source in the **Data** panel shows its status. A failing connection shows an error, and a working one shows **Connected**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-75b3fd5e7f48fdf1ded1e9b0ddb5f326659ea101%2FXero-sync-failed-status.png?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3ff8d24e79f75674949cb796e930991f396baeec%2Fxero-connected-status.png?alt=media)

</details>

<details>

<summary>"Already connected in this workspace: …"</summary>

Every organisation you selected already has a Xero data source. To fix that data source, use **Edit credentials** on it. To add a new one, connect again and select an organisation that isn't connected yet.

</details>

<details>

<summary>"Xero returned no organisation for this login …"</summary>

No organisation was selected. Connect again and select one.

</details>

<details>

<summary>"Xero didn't report which organisation was selected …"</summary>

Connect again with a Xero login that can only access the organisation you want, or contact support.

</details>

<details>

<summary>I can't allow access in Xero.</summary>

Your Xero user needs the Standard or Advisor role in that organisation.

</details>

<details>

<summary>Still stuck?</summary>

Contact your Drivetrain onboarding partner with a screenshot or description of the error. In rare cases, such as data inconsistencies, they may ask for [temporary access to Xero](/integration-guide/readme/accounting-and-erp/integrating-with-xero/grant-temporary-access-to-xero).

</details>


# Grant temporary access to Xero

Steps to grant Drivetrain temporary access to Xero.

In some cases, such as troubleshooting a bug or connection error, Drivetrain support may ask for temporary access to your Xero account so a team member can investigate in the Xero UI.

{% hint style="warning" %}
Use this flow only if Drivetrain support asks for it. It isn't needed to connect Xero.
{% endhint %}

## Step 1: Invite the Drivetrain user in Xero

1. Sign in to Xero with a user who can manage users.
2. Click your organisation name, then **Settings** > **Users**.
3. Click **Invite a user**.
4. Enter **First name** `Drivetrain`, **Last name** `AI`, and the email address your Drivetrain contact gives you (it looks like `dp-yourcompany@drivetrain.ai`).
5. Give the user **Business and accounting** access with the **Advisor** role, or the role your Drivetrain contact asks for.
6. Click **Send invite**.

## Step 2: Tell your Drivetrain contact

A Drivetrain team member accepts the invitation and starts investigating.

## Step 3: Remove access when done

Go to **Settings** > **Users**, open the Drivetrain user and remove them.

{% hint style="warning" %}
This gives Drivetrain team members access to your Xero UI. Remove the user once the issue is resolved.
{% endhint %}


# Re-authentication of Xero

Xero connection expired? Re-authenticate your Drivetrain–Xero integration in minutes. This guide walks through re-authorization and verifying data resumes.

Reconnect Xero when its syncs fail because the sign-in expired or was revoked. This happens if the data source hasn't synced for 60 days or if someone disconnected Drivetrain in Xero. Once you reconnect, syncing resumes.

## Before you start

* You're a Drivetrain admin.
* Your Xero user has the **Standard** or **Advisor** role in the **same organisation** the data source is connected to.

## Step 1: Open the Xero sign-in

* If a **Login required** window appears when you open the Xero data source, click **Re-connect**.
* Otherwise, click the **⋮** menu next to the data source, select **Edit credentials**, and click **Login to connect**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d68fcf51e593668ef474855ac5424353a62e69e3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5172a5f7e26dc0e8c74394160dbdcd4e211e80f3%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Sign in and select the same organisation

1. Sign in to Xero and complete multi-factor authentication if asked.
2. Select the organisation this data source was connected to. For example, if the data source is for your **USA** entity, select **USA**. Drivetrain rejects a different organisation.
3. Allow access.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2612290c5f4e0997c8b23e0a8f5871920c85ea40%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

You return to Drivetrain with **Credentials updated for Xero. A full sync has been initiated.**

## Troubleshooting

<details>

<summary>"This connection is for the Xero organisation …, which wasn't selected."</summary>

Repeat the steps and select that organisation.

</details>

<details>

<summary>Re-authentication still fails</summary>

In Xero, open **Connected apps** in your organisation's settings and disconnect the Drivetrain app for this organisation, then repeat the steps. If the list has several Drivetrain entries, check every page of it. Disconnecting Drivetrain from an organisation also stops any other Drivetrain data source that uses that organisation until you reconnect it.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-12e10392071faae1ca7d7fba7232ea3a04a2a186%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7d877e4a65847f8871f9fc149e4a8eb8c7acd291%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>Still stuck?</summary>

Contact your Drivetrain onboarding partner or customer success manager with the step where the flow stopped and a screenshot of any error.

</details>


# Integrating with Zoho Books

Sync Zoho Books accounting data with Drivetrain to keep actuals current in your models. Covers authorization and organization settings setup.

You connect Zoho Books yourself by signing in to Zoho Books from Drivetrain. You don't need to create a separate user, and Drivetrain asks for read-only access.

## Before you start

* **In Drivetrain:** you need to be an admin.
* **In Zoho Books:** sign in as a user who can see all the data you want in Drivetrain, such as an admin. Drivetrain sees what that user can see.
* **Your data centre:** the Zoho domain you sign in at, for example zoho.com (United States), zoho.eu (Europe) or zoho.in (India).
* **More than one organization?** Note the **Organization ID** of the one you want to connect.

## Connect Zoho Books

1. In Drivetrain, go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Zoho Books**.
3. Choose your **Region** (United States, Europe, India, Australia, Japan or Canada).
4. If your Zoho login has more than one organization, enter the **Organization ID (optional)** of the one you want to connect. If you leave it blank, Drivetrain connects your only organization, or your default one if there are several.
5. Click **Login to connect**, then sign in to Zoho Books and accept the access request. Drivetrain asks for read-only access to contacts, invoices, bills, expenses, banking, reports and other accounting modules.
6. You return to Drivetrain and the new data source starts its first sync.

Each data source connects one organization. To connect another, repeat these steps with its Organization ID.

## What data comes in

* Chart of accounts, account transactions, journals, invoices, bills, estimates, expenses, credit notes, vendor credits, vendors, items and organization details, plus the Account Transactions report (accrual and cash basis).
* Drivetrain builds Account, General Ledger and Balance Sheet datasets from them.
* Data syncs daily by default. Use **Sync** in the data source's menu to sync now, or **Sync schedule** to change the schedule.

## Reconnect or disconnect

* If access is revoked in Zoho, choose **Edit credentials** on the data source and sign in again. You must reconnect the same organization.
* To disconnect, choose **Remove** and confirm.

## Troubleshooting

<details>

<summary>"The new credentials connect to a different Zoho Books account … Edit credentials must reconnect the same account."</summary>

You signed in to, or entered the ID of, a different organization than the one this data source uses. Reconnect the original organization, or add a new data source for the other one.

</details>


# AI & LLM Cost

Drivetrain connects directly to AI model providers, so you can track your API usage and LLM spend next to the rest of your financials. Right now, you can connect the following providers by following the instructions below:

* [Anthropic](/integration-guide/readme/ai-and-llm-cost/integrating-with-anthropic)
* [OpenAI](/integration-guide/readme/ai-and-llm-cost/integrating-with-openai)

For other AI or LLM providers, contact your customer success manager to help you get them connected.

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Anthropic</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b129644ba806f4c5a1b4ac4ad7281928385c3dbb%2Fanthropic-card.png?alt=media">anthropic-card.png</a></td><td><a href="/integration-guide/readme/ai-and-llm-cost/integrating-with-anthropic">Integrating with Anthropic</a></td></tr><tr><td align="center">OpenAI</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cdcefa2e5f3322d7080b7e2a72698f165416ce55%2Fopenai-card.png?alt=media">openai-card.png</a></td><td><a href="/integration-guide/readme/ai-and-llm-cost/integrating-with-openai">Integrating with OpenAI</a></td></tr></tbody></table>


# Integrating with Anthropic

When you connect [Anthropic](https://www.anthropic.com/) to Drivetrain, your API key usage, token use, cost breakdown, and Claude Code activity sync for each workspace. You can then track and forecast AI spend next to the rest of your financials.

This guide walks you through creating an Anthropic Admin API key and adding Anthropic as a data source in Drivetrain.

{% hint style="info" %}
The Anthropic connector is **read-only**. Drivetrain only pulls usage and cost data from Anthropic and never writes anything back.
{% endhint %}

{% hint style="info" %}
This guide covers bringing your Claude API usage and token cost **into Drivetrain as a dataset**. To use Drivetrain from inside Claude instead, see [Using the Drivetrain MCP Server](/extending-drivetrain/using-the-drivetrain-mcp-server).
{% endhint %}

## Prerequisites

To connect Anthropic to Drivetrain, you need:

* A Claude Console (formerly Anthropic Console) organization at [platform.claude.com](https://platform.claude.com/). Admin API keys aren't available for individual accounts.
* Organization admin access. Only organization admins can create Admin API keys.
* Access to your Drivetrain workspace with permission to add data sources.

## What Drivetrain syncs from Anthropic

Once connected, Drivetrain pulls the following for each Anthropic workspace:

* **API key usage**: activity for each API key in your organization.
* **Token usage**: input and output tokens consumed.
* **Cost breakdown**: what your organization is spending on the Claude API.
* **Claude Code activity**: usage from Claude Code across your organization.

This data lands in Drivetrain as the following tables:

| Table             | What it contains                                                             | One row per                                     |
| ----------------- | ---------------------------------------------------------------------------- | ----------------------------------------------- |
| Cost Report       | Billed cost in USD                                                           | Day, workspace, model, cost type and token type |
| Messages Usage    | Input, output, cache write and cache read tokens                             | Day, API key, workspace and model               |
| API Key Costs     | Estimated cost in USD, calculated from token counts at Anthropic list prices | Day, API key, workspace and model               |
| Claude Code Usage | Sessions, lines of code, commits, pull requests, tokens and estimated cost   | Day, user or API key, terminal and model        |
| API Keys          | Name, status, workspace and creator of each API key                          | API key                                         |
| Workspaces        | Workspaces in your organization                                              | Workspace                                       |
| Users             | Members of your organization and their roles                                 | User                                            |

{% hint style="info" %}
**Cost Report** matches what Anthropic bills you, so use it for actuals. Anthropic's billed cost isn't broken down by API key, so use **API Key Costs** to allocate spend by key, team, or product.
{% endhint %}

Usage and cost history syncs from January 1, 2024, and Claude Code history from February 1, 2025. After the first sync, Drivetrain pulls new data incrementally.

## Anthropic Setup: Create an Admin API key

Drivetrain connects with an Admin API key, which starts with `sk-ant-admin01-`. A standard Claude API key (`sk-ant-api03-...`) doesn't have access to usage and cost data, so it won't work.

### Step 1: Open Admin keys

1. Sign in to the [Claude Console](https://platform.claude.com/) as an organization admin.
2. Click your profile in the bottom-left corner of the sidebar and select **Organization settings**.
3. In the **Organization settings** sidebar, click **Admin keys**.

### Step 2: Create the key

1. Click **+ Create admin key** to open the key creation dialog.
2. Enter a descriptive name, such as **Drivetrain Integration**.
3. Click **Add** to confirm.

### Step 3: Copy and store the key

The Console shows the key only once. Copy it right away and store it somewhere secure. You'll paste it into Drivetrain in the next section.

{% hint style="warning" %}
Admin API keys carry organization-wide admin access. Treat the key like a password, never share it publicly or commit it to source control, and delete it from **Admin keys** if it's ever compromised.
{% endhint %}

## Drivetrain Setup: Add Anthropic as a data source

### Step 1: Open Data and add a source

In Drivetrain, go to **Data** in the left navigation, then click the **+** button to add a new data source.

### Step 2: Select the Anthropic connector

In the **Connect a data source** window, search for **Anthropic** and select it under **AI & LLM Cost**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8f7ad26bd1a66098b67d700b07bf5ed5a912ffb9%2Fai-llm-cost-connect-a-data-source.webp?alt=media" alt="The Connect a data source window with Anthropic and OpenAI listed under AI &#x26; LLM Cost"><figcaption></figcaption></figure>

### Step 3: Enter your Admin API key

On the **Connect your Anthropic account** screen, paste the key you copied into the **Admin API Key** field, then click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7347523eb76ad0e0df296a03b12723f34ca7ad18%2Fanthropic-connect-your-account.webp?alt=media" alt="The Connect your Anthropic account screen with the Admin API Key field"><figcaption></figcaption></figure>

### Step 4: Confirm the connection

Anthropic now shows as a connected data source and starts syncing. Your usage and cost data appears in Drivetrain once the first sync finishes.

{% hint style="info" %}
If you have trouble connecting Anthropic or don't see your data after the sync, contact your Drivetrain CSM.
{% endhint %}

## FAQ

**Can I use a regular Claude API key instead of an Admin API key?**

No. Only Admin API keys (starting with `sk-ant-admin01-`) can read your organization's usage and cost data. Standard API keys can't.

**Does this connector include Claude.ai subscription costs?**

No. The connector syncs Claude API usage and cost from your Claude Console organization. Claude.ai Pro, Team, and Enterprise seat costs aren't included.

**Why do Claude Code session and line counts look too high when I add them up?**

Claude Code Usage has one row per model, and each user's daily sessions, lines of code, commits, and pull requests repeat on every model row for that day. Take the maximum per user per day instead of the sum. Token and cost columns are per model, so you can add those up.

**Can I connect more than one Anthropic organization?**

Yes. Add a separate Anthropic data source for each organization, each with its own Admin API key.


# Integrating with OpenAI

When you connect [OpenAI](https://openai.com/) to Drivetrain, your organization's projects, members, API keys, completions token usage, and daily cost breakdown sync automatically. You can then track and forecast AI spend next to the rest of your financials.

This guide walks you through creating an OpenAI Admin API key and adding OpenAI as a data source in Drivetrain.

{% hint style="info" %}
The OpenAI connector is **read-only**. Drivetrain only pulls organization, usage, and cost data from OpenAI and never writes anything back.
{% endhint %}

## Prerequisites

To connect OpenAI to Drivetrain, you need:

* An OpenAI API Platform organization at [platform.openai.com](https://platform.openai.com/).
* The **admin** or **owner** role in that organization. Only admins and owners can create Admin API keys. You can check your role in **Organization settings > People**.
* Access to your Drivetrain workspace with permission to add data sources.

{% hint style="info" %}
This connector covers usage and cost on the OpenAI API Platform. It doesn't sync ChatGPT workspace seats or subscriptions (ChatGPT Team or Enterprise).
{% endhint %}

## What Drivetrain syncs from OpenAI

Once connected, Drivetrain pulls the following from your OpenAI organization:

* **Projects**: the projects set up in your organization.
* **Members**: the users in your organization.
* **API keys**: the API keys created in your organization.
* **Completions token usage**: tokens consumed by completions requests.
* **Daily cost breakdown**: what your organization spends each day.

This data lands in Drivetrain as the following tables:

| Table             | What it contains                                    | One row per                           |
| ----------------- | --------------------------------------------------- | ------------------------------------- |
| Costs             | Billed cost in USD                                  | Day, project and line item            |
| Completions Usage | Input, output and cached tokens, and request counts | Day, project, user, API key and model |
| Projects          | Projects in your organization                       | Project                               |
| Users             | Members of your organization and their roles        | User                                  |
| Project Users     | Members of each project                             | Project and user                      |
| Project API Keys  | API keys in each project                            | API key                               |
| Admin API Keys    | Admin keys in your organization                     | Admin key                             |

{% hint style="info" %}
**Costs** matches what OpenAI bills you, so use it for actuals. OpenAI only breaks billed cost down by project and line item, so use **Completions Usage** to analyze usage by model or API key.
{% endhint %}

OpenAI only makes the last 12 months of usage and cost available, so that's the history Drivetrain syncs. Each sync re-reads the last 3 days to pick up late cost adjustments from OpenAI.

## OpenAI Setup: Create an Admin API key

Drivetrain connects with an Admin API key, which starts with `sk-admin-`. A standard project API key (`sk-proj-...`) doesn't have access to organization usage and cost data, so it won't work.

### Step 1: Open Admin keys

1. Sign in to the [OpenAI API Platform](https://platform.openai.com/).
2. Click your profile icon in the bottom-left corner and select **Organization settings**.
3. Click **Admin keys** in the left sidebar.

### Step 2: Create the key

1. Click **+ Create new Admin key**.
2. Enter a descriptive **Name**, such as **Drivetrain Integration**.
3. Choose an **Expiration**. The default is **Never**.
4. Set **Permissions** to **Read only**. Drivetrain only reads data, so it doesn't need broader access.
5. Click **Create admin key**.

{% hint style="info" %}
If you set an expiration, the connection stops syncing when the key expires. Create a new key and update the connection in Drivetrain before then.
{% endhint %}

### Step 3: Copy and store the key

OpenAI shows the key only once and you can't retrieve it later. Copy it right away and store it in a password manager. You'll paste it into Drivetrain in the next section.

{% hint style="warning" %}
Treat the Admin API key like a password. Never share it publicly or commit it to source control, and revoke it from **Organization settings > Admin keys** if it's ever compromised.
{% endhint %}

## Drivetrain Setup: Add OpenAI as a data source

### Step 1: Open Data and add a source

In Drivetrain, go to **Data** in the left navigation, then click the **+** button to add a new data source.

### Step 2: Select the OpenAI connector

In the **Connect a data source** window, search for **OpenAI** and select it under **AI & LLM Cost**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8f7ad26bd1a66098b67d700b07bf5ed5a912ffb9%2Fai-llm-cost-connect-a-data-source.webp?alt=media" alt="The Connect a data source window with Anthropic and OpenAI listed under AI &#x26; LLM Cost"><figcaption></figcaption></figure>

### Step 3: Enter your Admin API key

On the **Connect your OpenAI account** screen, paste the key you copied into the **Admin API Key** field, then click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d475afa7ec3ccf98bb63547e8be24799d8b07c84%2Fopenai-connect-your-account.webp?alt=media" alt="The Connect your OpenAI account screen with the Admin API Key field"><figcaption></figcaption></figure>

### Step 4: Confirm the connection

OpenAI now shows as a connected data source and starts syncing. Your usage and cost data appears in Drivetrain once the first sync finishes.

{% hint style="info" %}
If you have trouble connecting OpenAI or don't see your data after the sync, contact your Drivetrain CSM.
{% endhint %}

## FAQ

**Can I use a regular OpenAI API key instead of an Admin API key?**

No. Only Admin API keys (starting with `sk-admin-`) can read your organization's usage and cost data. Project API keys can't.

**Does this connector include ChatGPT subscription costs?**

No. The connector syncs usage and cost from the OpenAI API Platform. ChatGPT Team and Enterprise seat costs aren't included.

**Can I connect more than one OpenAI organization?**

Yes. Add a separate OpenAI data source for each organization, each with its own Admin API key.


# BI

Import data from Looker, Power BI and Tableau into Drivetrain. Compare what each connector imports and how you connect it.

These connectors import data from your BI tool into Drivetrain. They read only, and they don't send Drivetrain data to the BI tool.

| BI tool                                                            | What Drivetrain imports                                  | How you connect                                                                   |
| ------------------------------------------------------------------ | -------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [Looker](/integration-guide/readme/bi/integrating-with-looker)     | Results of Looks, Explore queries and SQL Runner queries | Yourself, with a Looker API key                                                   |
| [Power BI](/integration-guide/readme/bi/integrating-with-power-bi) | DAX query results from a semantic model                  | Premium: you submit an Entra ID app's credentials, Drivetrain completes the setup |
| [Tableau](/integration-guide/readme/bi/integrating-with-tableau)   | Summary data of views (sheets)                           | Premium: you submit a personal access token, Drivetrain completes the setup       |

For other BI systems, contact your customer success manager.

<table data-card-size="large" data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Looker</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-84a53831f432c74280737c2696a2eba56bc97939%2FLooker.avif?alt=media">looker-card.avif</a></td><td><a href="/integration-guide/readme/bi/integrating-with-looker">Integrating with Looker</a></td></tr><tr><td align="center">Tableau</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-25a20ac491e6a3f58f01dfb6587619b4b8ad9974%2FCard_Tableau.png?alt=media">tableau-card.png</a></td><td><a href="/integration-guide/readme/bi/integrating-with-tableau">Integrating with Tableau</a></td></tr></tbody></table>


# Integrating with Looker

Import Looker Looks and query results into Drivetrain with a Looker API key. Covers the Looker account and role, the API key, connecting and adding data.

Drivetrain imports the results of Looker Looks, Explore queries and SQL Runner queries into Drivetrain, using a Looker API key. Nothing is written back to Looker, and Drivetrain doesn't send its own data to Looker. You connect it yourself.

## Before you start

* **In Drivetrain:** an admin. A workspace can have one Looker connection.
* **In Looker:** a Looker admin, to create the account and its API key.
* **What you can import:** Looks, Explore queries and SQL Runner queries. Dashboards can't be imported; import the Looks or queries behind them.

## Step 1: Create a Looker account for Drivetrain

Use a dedicated account so you can manage or revoke Drivetrain's access on its own.

1. In Looker, go to **Admin → Users**.
2. Click **Add → Service Account**. Enter a **Service Account Name**, keep **Create default set of API credentials** on, and click **Save**. On older Looker versions without service accounts, add a regular user (**Add → Users**) with an email address your team controls and create its key with **Edit Keys**.
3. Give the account a role with access to the models behind the data you'll import, with the `access_data`, `see_looks` and `explore` permissions, plus `use_sql_runner` if you'll import SQL Runner queries. The default **Developer** role includes all of these.

## Step 2: Get the API key

1. In **Admin → Users**, open the account's **Edit User** page.
2. In **API Keys**, click **Manage** (on older Looker versions, **Edit Keys**). Use the default key or click **Create New API Key**.
3. Copy the **Client ID** and **Client Secret**.
4. Note your Looker **Subdomain**: the first part of your Looker address, for example `mycompany` in `https://mycompany.looker.com`.

See Looker's [user and service account documentation](https://docs.cloud.google.com/looker/docs/admin-panel-users-users) for details.

## Step 3: Connect Looker in Drivetrain

1. Go to **Data**, click **+** (or **Add data source** if nothing is connected yet) and select **Looker**.
2. Under **Connect your Looker account**, enter the **Subdomain**, **Client ID** and **Client secret**, then click **Submit**.
3. You see **Looker integration connected**, and the **Sync data from Looker** window opens.

## Step 4: Add data

1. Open the Look, Explore query or SQL Runner query in Looker and copy the link from the address bar. Drivetrain reads:
   * an Explore query link containing `qid=` (run the Explore first, then copy the address),
   * a SQL Runner link containing `/sql/`,
   * a Look link containing `/looks/`.
2. In the **Sync data from Looker** window, paste it into **Looker dataset link**, enter a name in **Name the dataset**, and click **Add**.
3. To add more later, open the Looker connection on the **Data** page and click **Add data**.

Each link becomes one dataset holding the query's results.

## Changing or removing access

* **Rotate the API key:** contact your customer success manager before you delete the old key. **Edit credentials** doesn't currently apply a new Looker key to syncs.
* **Disconnect:** on the **Data** page, open the Looker connection's menu and click **Remove**. Then delete the API key or the account in Looker.

## Troubleshooting

* **Connection active and limited to only 1:** a Looker connection already exists in this workspace. Use **Add data** on it instead.
* **Invalid table URL provided:** the link isn't a Look, Explore query (`qid=`) or SQL Runner (`/sql/`) link, for example a dashboard link.
* **Table with the same URL already exists:** that Look or query is already added.
* **Table with the same name already exists:** choose a different dataset name.


# Integrating with Power BI

Import Power BI semantic model data into Drivetrain through a read-only service principal. Covers the Entra ID app, tenant and XMLA settings, workspace access and submitting credentials.

Drivetrain imports data from a Power BI semantic model into Drivetrain. It signs in as a Microsoft Entra ID app (a service principal), connects to your workspace's XMLA endpoint and runs read-only DAX queries against the model. Nothing is written back to Power BI, and Drivetrain doesn't send its own data to Power BI.

Power BI is a premium integration: you prepare access and submit the details in Drivetrain, and Drivetrain's team builds the queries for your model and completes the setup.

## Before you start

* **In Drivetrain:** an admin submits the connection.
* **Licensing:** the workspace must be on a Premium or Fabric capacity. Pro workspaces have no XMLA endpoint, and on Premium Per User (PPU) workspaces Microsoft requires the connecting identity to hold a PPU licence, which an app can't. Personal workspaces (**My workspace**) aren't supported.
* **Microsoft Entra ID:** permission to register an app and create a client secret.
* **Power BI:** a Power BI (Fabric) administrator to change tenant settings, and an admin of the workspace to grant access.
* **Semantic model:** models that use a live connection to Analysis Services or to a model in another workspace, push datasets and Excel workbook models can't be read through the XMLA endpoint.

## Step 1: Register an app in Microsoft Entra ID

1. Sign in to the [Azure portal](https://portal.azure.com) and go to **Microsoft Entra ID → App registrations → New registration**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d0e0174dde58fea47d177e89e6a844c953bd6409%2Fpowerbi_drivetrain_step_01.png?alt=media)

2. Enter a name, for example "Drivetrain BI Integration".

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-41de45ba85abb254f00b42e3c2bbff32d8e039dd%2Fpowerbi_drivetrain_step_02.png?alt=media)

3. Under **Supported account types**, keep **Accounts in this organizational directory only** (single tenant). Drivetrain signs in to your own tenant, so multitenant isn't needed.
4. Click **Register**. On the app's **Overview** page, copy the **Application (client) ID** and **Directory (tenant) ID**.

Don't add any **API permissions** to the app. Microsoft recommends adding none for a service principal: Power BI access comes from the tenant settings and workspace role below, and unused permissions can cause errors.

## Step 2: Create a client secret

1. In the app, go to **Certificates & secrets → New client secret**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-17c182430dc7836b18edda6f04be07e8de13792c%2Fpowerbi_drivetrain_step_06.png?alt=media)

2. Enter a description and choose an expiry, then click **Add**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e440ff6a92f661fcf785786c021cfb3176693b3f%2Fpowerbi_drivetrain_step_07.png?alt=media)

3. Copy the secret's **Value** (not the **Secret ID**). It's shown only once.

Note the expiry date: when the secret expires, syncs stop until you create a new one and send it to Drivetrain.

## Step 3: Enable Power BI settings

You must be a Power BI or Fabric administrator. In Power BI, go to **Settings (⚙) → Admin portal → Tenant settings** and search for each setting by name.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0cb4b852207e32a3fcb690fe9b6acd8110408ec0%2Fpowerbi_drivetrain_step_08.png?alt=media)

* **Developer settings → Service principals can call Fabric public APIs** (formerly **Allow service principals to use Power BI APIs**): enable it for the whole organization or for a security group that contains the app.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8a20d92d6147ba431e6f8a0aab4568c79977a4a1%2Fpowerbi_drivetrain_step_10.png?alt=media)

* **Integration settings → Allow XMLA endpoints and Analyze in Excel with on-premises semantic models**: make sure it's enabled (it is by default).

Then check that the capacity's XMLA endpoint allows reads: in the capacity's settings, **Workloads → XMLA Endpoint** must be **Read Only** (the default) or **Read Write**.

The integration doesn't use the **Dataset Execute Queries REST API**, **Service principals can access read-only admin APIs** or the **Enhance admin APIs responses** settings, so you don't need to enable them for Drivetrain.

**Tip:** If you scope a setting to a security group, add the app to that group.

## Step 4: Give the app access to the workspace

1. Open the Power BI workspace that holds the semantic model.
2. Click **Manage access → Add people or groups**.
3. Search for the app by name (for example, "Drivetrain BI Integration") and select it.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9c866b681d6cc842c15aeef1f994e618fb57e57f%2Fpowerbi_drivetrain_step_13.png?alt=media)

4. Set the role to **Contributor** (or higher) and click **Add**. If the app still can't read the model, use **Member**, the role Microsoft documents for service principals.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ab6ff082b0863fa5ef5149aacd098b97acd3eb40%2Fpowerbi_drivetrain_step_14.png?alt=media)

## Step 5: Find the workspace connection

In the workspace, open **Settings → Premium** and, under **Workspace connection**, click **Copy**. It looks like `powerbi://api.powerbi.com/v1.0/myorg/Finance%20Workspace`. Also note the exact name of the semantic model.

## Step 6: Submit the details in Drivetrain

1. Go to **Data**, click **+** and select **PowerBI** (the tile is spelled without a space).
2. In **PowerBI is a premium integration**, click **Request access**.
3. Click **Add field** once for each value and enter a field name and the value: Client ID, Tenant ID, Client secret, Workspace connection and Semantic model name. Add a note on the tables or measures you need.
4. Click **Submit credentials**. Values are stored encrypted.

The connection shows **Credentials submitted** until Drivetrain's team finishes the setup and activates it.

## What data comes in

Each table Drivetrain imports is the result of a DAX query on your semantic model, built with you for the tables, columns and measures you need. Changes to the model (renamed tables, columns or measures) can break those queries: tell your customer success manager before you change them.

## Changing or removing access

* **New client secret:** create it in Entra ID (Step 2) and send it to your customer success manager before the old one expires, through a secure channel such as a password manager, never email or chat.
* **Stop access:** delete the client secret or remove the app from the workspace in Power BI, then ask your customer success manager to remove the connection in Drivetrain.

## Troubleshooting

* **Syncs stop after working for months:** the client secret probably expired. Create a new one and send it to Drivetrain.
* **The app can't see the semantic model:** check the app has the **Contributor** role or higher on the workspace that holds the model, the workspace is on a Premium or Fabric capacity, and the tenant settings in Step 3 include the app (or its security group).
* **Questions during setup:** contact your customer success manager.


# Integrating with Tableau

Import Tableau view data into Drivetrain with a personal access token. Covers enabling and creating the token, finding your instance URL and site, and submitting it.

Drivetrain imports the data behind Tableau views (sheets) into Drivetrain. It signs in to the Tableau REST API with a personal access token (PAT) and downloads each view's data as CSV. Nothing is written back to Tableau, and Drivetrain doesn't send its own data to Tableau.

Tableau is a premium integration: you create the token and submit the details in Drivetrain, and Drivetrain's team completes the setup.

## Before you start

* **In Drivetrain:** an admin submits the connection.
* **Tableau version:** Tableau Cloud, or Tableau Server 2023.3 or later. Drivetrain uses REST API 3.20, which older Tableau Server versions don't support.
* **Network:** your Tableau address must use `https://` and be reachable from the internet. A Tableau Server on a private network can't be reached.
* **Tableau user:** the token belongs to a Tableau user. That user needs permission to view the views you want to import. A site admin isn't required. Use a dedicated user if you can: a PAT allows one session at a time, so signing in elsewhere with the same token ends Drivetrain's session.
* **Site admin:** needed once, if personal access tokens aren't enabled on your site yet (Step 1).

## Step 1: Enable personal access tokens (site admin)

On Tableau Cloud, sites created from June 2023 onward have PATs turned off by default.

1. Sign in to Tableau as a site admin and go to the **Settings** page.
2. In the **Personal Access Tokens** section, select **Enable personal access tokens**.
3. Choose who can create tokens: all users, or only members of a group you select (recommended).
4. Under **Set expiration period**, keep **180 days** or enter up to 365 in **Custom days**.
5. Click **Save**.

## Step 2: Create the token

Sign in as the user Drivetrain will use:

1. Click your profile image or initials and select **My Account Settings**.
2. In **Personal Access Tokens**, enter a **Token Name**, for example "Drivetrain", and click **Create Token**.
3. Click **Copy Secret** and store the secret securely. It's shown only once.

A PAT expires after 15 consecutive days without use, and at the end of the site's expiration period even if used. When it expires, create a new token and send it to Drivetrain.

## Step 3: Find your instance URL and site name

Sign in to Tableau and look at the address bar. For example, in `https://10ax.online.tableau.com/#/site/yoursite/home`:

* **Instance URL:** `https://10ax.online.tableau.com` (everything before `/#/`, with no trailing slash). On Tableau Cloud this includes your pod, such as `10ax` or `us-east-1`.
* **Site name:** `yoursite` (the part after `/site/`). On Tableau Server, the default site has no site name.

## Step 4: Submit the details in Drivetrain

1. Go to **Data**, click **+** and select **Tableau**.
2. In **Tableau is a premium integration**, click **Request access**.
3. Enter the **Instance URL**, **Token Name** and **Personal Access Token Secret**.
4. The form has no site field: click **Add field** and add the site name (for example, field name "Site", value `yoursite`). Add another field listing the links of the views you want to import.
5. Click **Submit credentials**. Values are stored encrypted.

The connection shows **Credentials submitted** until Drivetrain's team finishes the setup and activates it.

## What data comes in

* Each view becomes one table, holding the view's summary data (what the view shows, not row-level detail).
* For a dashboard, Tableau returns only the data of the dashboard's first sheet. Pick individual sheets instead.

## Changing or removing access

* **New token:** create one (Step 2) and send the token name and secret to your customer success manager through a secure channel such as a password manager, never email or chat.
* **Stop access:** revoke the token in **My Account Settings** (or a site admin revokes it from the user's page), then ask your customer success manager to remove the connection in Drivetrain.

## Troubleshooting

* **Sign-in fails after working before:** the token expired (15 days unused, or the expiration period ended) or was revoked. Create a new one.
* **Sign-in fails intermittently:** the same token is used somewhere else, which ends Drivetrain's session. Give Drivetrain its own token.
* **A dashboard imports only part of its data:** only the first sheet's data is returned. Import the sheets individually.
* **Questions during setup:** contact your customer success manager.


# Billing & Invoicing

Sync billing and invoicing data with Drivetrain to keep revenue metrics current. Integration guides for Stripe, Chargebee, Recurly, Maxio, and more.

Drivetrain integrates with 10+ Billing & Invoicing tools. These have setup guides:

* [Chargebee](/integration-guide/readme/billing-and-invoicing/integrating-with-chargebee)
* [Invoiced](/integration-guide/readme/billing-and-invoicing/integrating-with-invoiced)
* [Maxio Chargify](/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-chargify)
* [Maxio SaaSOptics](/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-saasoptics)
* [Recurly](/integration-guide/readme/billing-and-invoicing/integrating-with-recurly)
* [Stripe](/integration-guide/readme/billing-and-invoicing/integrating-with-stripe)
* [Subscript](/integration-guide/readme/billing-and-invoicing/integrating-with-subscript)
* [Tabs](/integration-guide/readme/billing-and-invoicing/integrating-with-tabs)

For other Billing & Invoicing systems, contact your customer success manager to help you get them connected.

## How these connectors connect

You need the **Admin** role in Drivetrain (or a role with the **Connect a data source** action, where your workspace has it) to add a data source.

* **Tabs, Stripe and Maxio SaaSOptics** are self-serve: you enter the API key and Drivetrain connects straight away.
* **The other connectors on this page are premium integrations**: you submit your credentials in Drivetrain and the Drivetrain team completes the setup.

To submit credentials for a premium integration:

1. Go to **Data**, click **+** and select the connector's tile.
2. The window reads **{Connector} is a premium integration**. Click **Request access**.
3. Enter the values the guide lists. Fill any fields shown under **Connector fields**; for anything else, click **Add field** under **Fields** and enter a name (for example `API key`) and the value.
4. Click **Submit credentials**.

The connection then appears in the **Data** panel as **Credentials submitted**, and you can't sync it yet. The Drivetrain team is notified automatically and finishes the setup. Submitting again before then updates the same request instead of creating a second one.

To remove a connection, open its **⋮** menu in the **Data** panel and click **Remove**. If **Edit credentials** isn't in that menu (premium connections usually don't show it), send a rotated key through your Drivetrain contact. Submitting through **Request access** after setup is complete creates a second connection.

### Troubleshooting

| What you see                                                                     | Cause                                                                             | Fix                                                                                                                                 |
| -------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **{Connector} not in your subscription**                                         | Your subscription doesn't include this connector.                                 | Contact Drivetrain support to add it.                                                                                               |
| **Maximum Instances Reached**                                                    | You already have the maximum number of connections of this type.                  | Contact Drivetrain support to upgrade, or remove an unused connection.                                                              |
| **This connector is currently being set up. Please try again once it finishes.** | A connection of this connector is being set up or is syncing.                     | Wait for it to finish, then submit again.                                                                                           |
| **{Field} is required**                                                          | A field under **Connector fields** is empty.                                      | Fill it in. If it asks for something your billing system doesn't have, share your credentials with your Drivetrain contact instead. |
| Nothing happens when you click **Submit credentials**                            | No field has a value. An added field with only a name or only a value is dropped. | Enter at least one field with both a name and a value.                                                                              |

<table data-view="cards" data-full-width="false"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">Chargebee</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-chargebee">Integrating with Chargebee</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5f56f4f7d509ef29ac61b5dbac540ee1a5d9a8dc%2FChargebee.avif?alt=media">chargebee-card.avif</a></td></tr><tr><td align="center">Invoiced</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-invoiced">Integrating with Invoiced</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1802d334563fdc8674f7a0fa0986b9ee37a4e7a5%2FCard_Invoiced.png?alt=media">invoiced-card.png</a></td></tr><tr><td align="center">Maxio Chargify</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-chargify">Integrating with Maxio Chargify</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2b187c5d8170f1fdaef8109dd923e903a60c0fa0%2FMaxio.avif?alt=media">maxio-chargify-card.avif</a></td></tr><tr><td align="center">Maxio SaaSOptics</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-maxio-saasoptics">Integrating with Maxio SaaSOptics</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2b187c5d8170f1fdaef8109dd923e903a60c0fa0%2FMaxio.avif?alt=media">maxio-chargify-card.avif</a></td></tr><tr><td align="center">Recurly</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-recurly">Integrating with Recurly</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-209c3946cf797b48140ae4dceddbd36cd61f3eae%2FRecurly.avif?alt=media">recurly-card.avif</a></td></tr><tr><td align="center">Stripe</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-stripe">Integrating with Stripe</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-691249ae42e64a0d1accd2497443cc8836cf9998%2FStripe.avif?alt=media">stripe-card.avif</a></td></tr><tr><td align="center">Subscript</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-subscript">Integrating with Subscript</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e837ec30e15d8523fc1902de6bb4b842fe95be7a%2FSubscript.avif?alt=media">subscript-card.avif</a></td></tr><tr><td align="center">Tabs</td><td><a href="/integration-guide/readme/billing-and-invoicing/integrating-with-tabs">Integrating with Tabs</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-86fd118b0a900b3cda918b42d64850e730bfbcd7%2FCard_tabs.png?alt=media">tabs-card.png</a></td></tr></tbody></table>


# Integrating with Chargebee

Pull Chargebee subscription and MRR data into Drivetrain for real-time revenue planning. Covers API key creation, site name setup, and completing setup.

Chargebee is a [premium integration](/integration-guide/readme/billing-and-invoicing#how-these-connectors-connect): you create a read-only API key in Chargebee, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Chargebee:** a admin user who can create API keys.
* **In Drivetrain:** the **Admin** role.

### Step 1: Create a read-only API key <a href="#create-an-api-key" id="create-an-api-key"></a>

1. Log in to your [Chargebee account](https://app.chargebee.com/login).
2. Go to **Settings > Configure Chargebee**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6250d154303eb730019f390a89f905165b76944f%2FChargebee-1.png?alt=media" alt=""><figcaption></figcaption></figure>

3. In the **API Keys and Events** section (**API Keys and Webhooks** in older consoles), open the **API Keys** tab.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5095a860e3d5d919bc6dc37772c1c60e61acaedc%2FChargebee-2.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click **Add API Key**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-573890f2b973dc091fe847c13fc0bb49ee9e82fc%2FChargebee-3.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Select **Read-Only Key**, then **All**.
6. Name the key (for example, **Drivetrain Integration**) and click **Create Key**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d36a8e6965445c6d7c9421ffeecc7be4541d5cc0%2FChargebee-4.png?alt=media" alt=""><figcaption></figcaption></figure>

7. Copy the key and store it securely.

### Step 2: Find your site name <a href="#find-subdomain" id="find-subdomain"></a>

Your site name is the subdomain of your Chargebee URL. For example, if your Chargebee URL is `https://acme-test.chargebee.com`, your site name is `acme-test`.

### Step 3: Submit the credentials in Drivetrain <a href="#chargebee-setup" id="chargebee-setup"></a>

1. Go to **Data**, click **+** and select **Chargebee**.
2. Click **Request access**. Enter the key and your site URL (`https://<site name>.chargebee.com`): in the **API Key** and **Instance URL** fields if shown, otherwise with **Add field**. Click **Submit credentials**.

If the form also requires **Report ID** and **Username**, don't submit it: Chargebee keys don't have these. Send the API key and site name to your Drivetrain Customer Success Manager.


# Integrating with Invoiced

Connect Invoiced to Drivetrain and sync billing and accounts receivable into revenue models. Covers creating an API key and adding a webhook URL.

Invoiced is a [premium integration](/integration-guide/readme/billing-and-invoicing#how-these-connectors-connect): you create an API key in Invoiced, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Invoiced:** an active production account and admin privileges.
* **In Drivetrain:** the **Admin** role.

### Step 1: Create an API key <a href="#step-2-create-an-api-key" id="step-2-create-an-api-key"></a>

1. Log in to your [Invoiced account](https://app.invoiced.com/login) and, on the navigation menu, click **Settings**.
2. On the **Integrations** tile, click **Developers**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-018762294fa42b5fc040d2d1f775713244f1d4cf%2FInvoiced-1.avif?alt=media)

3. Click **API Keys** > **New API Key**.
4. Copy the API key and store it securely.

### Step 2: Submit the API key in Drivetrain <a href="#invoiced-setup" id="invoiced-setup"></a>

1. Go to **Data**, click **+** and select **Invoiced**.
2. Click **Request access**. Enter the key in the API key field under **Connector fields** if there is one; otherwise click **Add field** and enter `API key` and the key. Click **Submit credentials**.

### Step 3 (only if Drivetrain sends you a webhook URL): Add the webhook <a href="#step-1-add-webhook-url" id="step-1-add-webhook-url"></a>

Some Invoiced setups use a webhook so that records you delete in Invoiced are also removed in Drivetrain. If your Drivetrain contact sends you a webhook URL:

1. In Invoiced, go to **Settings** > **Developers** (on the **Integrations** tile).
2. Click **Integrations** > **New Webhook** and paste the URL.
3. Set the **Enabled** toggle to **ON**.
4. In the **Enabled Events** section, choose **Select events** and select:
   * `credit_note.deleted`
   * `customer.deleted`
   * `estimate.deleted`
   * `invoice.deleted`
   * `note.deleted`
   * `payment.deleted`
   * `subscription.deleted`
   * `task.deleted`
5. Click **Save**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b2f979328d5ff130e149d24b2758186aebdbf3f6%2FInvoiced-2.png?alt=media)


# Integrating with Maxio Chargify

Sync Maxio Chargify subscription and revenue data into Drivetrain for billing analytics. Covers API key setup and subdomain config.

Maxio Chargify is a [premium integration](/integration-guide/readme/billing-and-invoicing#how-these-connectors-connect): you create an API key in Maxio, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Maxio:** a user with the permission that manages product catalog, settings and integrations (admins have it by default).
* **In Drivetrain:** the **Admin** role.

### Step 1: Create an API key <a href="#maxio-chargify-setup" id="maxio-chargify-setup"></a>

1. Log in to Maxio and go to **Config > Integrations > API Keys**.
2. Click **New API Key**, optionally add a **Description** (for example, Drivetrain), and click **Create**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2fa90b6cd28ada8d9c679c6562485349276feca4%2FMaxio-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Copy the key, then click **I Have Copied My API Key**.
4. Note your subdomain: if your site URL is `https://acme.chargify.com`, the subdomain is `acme`.

### Step 2: Submit the credentials in Drivetrain

1. Go to **Data**, click **+** and select **Maxio Chargify**.
2. Click **Request access**, enter the subdomain and API key (in the **Subdomain** and **API Key** fields if shown, otherwise with **Add field**), and click **Submit credentials**.


# Integrating with Maxio SaaSOptics

Sync Maxio SaaSOptics subscription and ARR data into Drivetrain for revenue analytics. Covers API token generation, instance URL configuration, and setup.

Maxio SaaSOptics is a self-serve integration: you create an API token in SaaSOptics, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Maxio SaaSOptics:** admin privileges.
* **In Drivetrain:** the **Admin** role.

### Step 1: Create an API token <a href="#maxio-saasoptics-setup" id="maxio-saasoptics-setup"></a>

1. Log in to Maxio SaaSOptics and click **Admin** in the sidebar menu.
2. In the **Settings** section, click **API Tokens**.
3. Name the token (for example, **Drivetrain Integration**) and click **Create API Token**.
4. Copy the token and store it securely. It's shown only once.
5. Note your subdomain and account name from your login URL. For example, in `https://acme.saasoptics.com/acme_account/profile`, the subdomain is `acme` and the account name is `acme_account`.

### Step 2: Submit the credentials in Drivetrain

1. Go to **Data**, click **+** and select **Maxio SaaSOptics**.
2. Enter the key (for SaaSOptics: subdomain, account name and API token) in the form and click Submit.


# Integrating with Recurly

Sync Recurly subscription billing with Drivetrain to keep MRR and churn metrics current. Covers private API key generation.

Recurly is a [premium integration](/integration-guide/readme/billing-and-invoicing#how-these-connectors-connect): you get a private API key and your subdomain from Recurly, submit them in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Recurly:** a user whose role includes the **Integration** permission (needed to view or create API keys).
* **In Drivetrain:** the **Admin** role.

### Step 1: Get a private API key <a href="#step-1-obtain-an-api-key" id="step-1-obtain-an-api-key"></a>

1. Log in to your [Recurly account](https://app.recurly.com/login).
2. In the left navigation, select **Integrations > API Credentials**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7f5d87d9c6a52c65c00a6729e24a8ab5172b9f8b%2FRecurly-1.jpeg?alt=media" alt="" width="188"><figcaption></figcaption></figure>

3. Copy an existing private API key, or create one for Drivetrain: scroll to the bottom, click **Add Private API Key**, enter a name, its purpose and the application it's for (Drivetrain), and click **Save Changes**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aca5b1b545657503823767204a610c41aa15cf0b%2Frecurly-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d028485b2fc1737921b02ec177bd9f67be303da3%2Frecurly-3.webp?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Find your subdomain <a href="#step-2-get-your-recurly-subdomain" id="step-2-get-your-recurly-subdomain"></a>

Your subdomain is the part of your Recurly URL between `https://` and `.recurly.com`, usually your company name.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d244c0f8cf099dd1aa2f45f5164f2f824152b6b0%2Frecurly-4.avif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Submit the credentials in Drivetrain <a href="#integrations-steps" id="integrations-steps"></a>

1. Go to **Data**, click **+** and select **Recurly**.
2. Click **Request access** and enter the API key and subdomain: in their fields under **Connector fields** if shown, otherwise with **Add field** (one field each, named `API key` and `Subdomain`, each with its value; a field missing its name or value is dropped). Click **Submit credentials**.


# Integrating with Stripe

Connect Stripe to Drivetrain and sync payment and subscription data into your revenue models. Covers API key creation and required permissions.

Stripe is a self-serve integration: you create a secret key in Stripe, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Stripe:** a user who can create secret keys (for example, an Administrator), in **live mode**.
* **In Drivetrain:** the **Admin** role.

### Step 1: Create a secret key <a href="#create-api-key" id="create-api-key"></a>

1. Open the [API keys](https://dashboard.stripe.com/apikeys) page in the Stripe Dashboard, in live mode.
2. Click **Create secret key** and enter the verification code Stripe sends you.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9b9da03007218093401f62c5742c8fa96c854783%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Enter a **Key name** (for example, **Drivetrain Integration Key**) and click **Create**.
4. Copy the key and store it securely. Stripe shows it only once.

### Step 2: Submit the key in Drivetrain <a href="#stripe-setup" id="stripe-setup"></a>

1. Go to **Data**, click **+** and select **Stripe**.
2. Enter the key in the form and click Submit.

If you use an Organization API key (`sk_org_...`), also add a field named `Account ID` with the ID of the Stripe account to sync (`acct_...`).

### What Drivetrain syncs

By default: accounts, balance transactions, charges, coupons, customers, discounts, disputes, invoices, payouts, plans, refunds, subscriptions and transfers.

### Change the key

If you expire or rotate the key in Stripe, syncs fail once the old key stops working. Send the new key through your Drivetrain contact.


# Integrating with Subscript

Sync Subscript revenue recognition data into Drivetrain for ARR planning. Covers API key generation and completing integration.

Subscript is a [premium integration](/integration-guide/readme/billing-and-invoicing#how-these-connectors-connect): you copy your API key from Subscript, submit it in Drivetrain, and the Drivetrain team completes the setup.

### Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Subscript:** admin privileges.
* **In Drivetrain:** the **Admin** role.

### Step 1: Get your API key <a href="#get-api-key" id="get-api-key"></a>

1. Log in to your [Subscript account](https://app.subscript.com/).
2. Go to **Configuration** and hover over **External Sources**.
3. Scroll down and select **Managing Subscript API key**, then copy the key.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-365536fb22638c4a0ab62702fe24f0da285a760d%2FSS-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Click **Rotate API key** only if no other external source uses the current key, because rotating replaces it.
{% endhint %}

### Step 2: Submit the key in Drivetrain <a href="#subscript-setup" id="subscript-setup"></a>

1. Go to **Data**, click **+** and search for **Subscript**.
2. Click **Request access**. Enter the key in the API key field under **Connector fields** if there is one; otherwise click **Add field** and enter `API key` and the key. Click **Submit credentials**.


# Integrating with Tabs

Sync customers, contracts, invoices, and revenue from Tabs into Drivetrain. This guide covers generating an API key for the read-only integration setup.

[Tabs](https://www.tabs.com/) is an AI-native revenue automation platform that streamlines contract ingestion, billing, cash application, revenue recognition, and reporting. Connecting Tabs to Drivetrain lets you automatically sync your customers, contracts, invoices, payments, and revenue data, so your models and reports always reflect the latest billing activity.

This guide walks you through generating a Tabs API key and then adding Tabs as a data source in Drivetrain.

{% hint style="info" %}
The Tabs connector is **read-only** — Drivetrain only pulls data from Tabs and never writes anything back.
{% endhint %}

### Before you start

* **In Tabs:** permission to manage API keys. If you don't see **Developers** in Tabs, ask your Tabs admin.
* **In Drivetrain:** the **Admin** role.

### What Drivetrain syncs from Tabs

Once connected, Drivetrain can pull the core entities of the Tabs data model:

* **Customers** — the businesses you bill, with contacts and custom fields.
* **Contracts** — agreements defining dates, payment terms, and obligations.
* **Invoices** — itemized requests for payment, with line items and dates.
* **Payments** — recorded receipts that settle outstanding invoices.
* **Revenue** — recognized revenue.
* **Obligations**, **credit memos**, and **renewals** — also synced, alongside the entities above.

### Tabs Setup — Generate a read-only API key

1. Log in to Tabs and, in the left navigation, click **Developers**.
2. Click **Add API key** and give it a recognizable name (for example, **Drivetrain Integration**).
3. Set the permission to **Read-only**.
4. Click **Copy**, store the key securely and confirm with **I've saved my key!**. Tabs doesn't show the full key again.

{% hint style="warning" %}
Treat the API key like a password. If a key is compromised, contact Tabs Support to revoke and reissue it, then update it in Drivetrain (see below).
{% endhint %}

### Drivetrain Setup — Add Tabs as a data source

#### Step 1: Open Data and add a source

In Drivetrain, go to **Data** in the left navigation, then click the **+** button to add a new data source.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-426b3a0fd6e37542c0b484d085dbb56cf653d025%2Fimage%20-%202026-07-01T121656.615.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 2: Select the Tabs connector

In the **Connect a data source** window, search for **Tabs** and select it under **Billing & Invoicing**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f45f7bda173352c5a012c019f7372f2f3fd5b457%2Fimage%20-%202026-07-01T121659.101.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 3: Enter your API key

On the **Connect your Tabs account** screen, paste the API key you copied from Tabs into the **API Key** field, then click **Submit**. The connector form has a single field — just the API key.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-92245aea85997f9d216f52f1f36fc7c12e081990%2Fimage%20-%202026-07-01T121702.284.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 4: Confirm the connection

Tabs now appears as a connected data source in the **Data** panel and begins syncing. Your Tabs data populates in Drivetrain once the initial sync completes.

### Change the key or disconnect

* **New key:** in the **Data** panel, open the Tabs connection's **⋮** menu, click **Edit credentials**, paste the new key and click **Update credentials**.
* **Disconnect:** in the same menu, click **Remove**.

If the API key is revoked or wrong, syncs fail until you enter a valid key. For other problems, contact your Drivetrain CSM.


# CRM

Pull pipeline and revenue data from your CRM straight into Drivetrain. Guides for HubSpot, Salesforce, Pipedrive, LeadSquared, and more.

Guides for the CRM and sales tools you can connect to Drivetrain:

* [Active Campaign](/integration-guide/readme/crm/integrating-with-active-campaign)
* [HubSpot](/integration-guide/readme/crm/integrating-with-hubspot)
* [LeadSquared](/integration-guide/readme/crm/integrating-with-leadsquared)
* [Outreach](/integration-guide/readme/crm/integrating-with-outreach)
* [Pipedrive](/integration-guide/readme/crm/integrating-with-pipedrive)
* [Salesforce](/integration-guide/readme/crm/integrating-with-salesforce)

| Tool                           | How you connect                                                          |
| ------------------------------ | ------------------------------------------------------------------------ |
| HubSpot, Pipedrive, Salesforce | Yourself, by signing in from **Data** (OAuth)                            |
| Active Campaign, Outreach      | **Request access** from **Data**, then Drivetrain sets up the connection |
| LeadSquared                    | Through your Drivetrain team                                             |

For a CRM not listed here, search for it in the **Connect a data source** window. If it isn't there, contact your customer success manager.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Active Campaign</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ae02acb8d03b3e5ac259782882574d0e7ad088a6%2FCard_Active-Campaign.png?alt=media">active-campaign-card.png</a></td><td><a href="/integration-guide/readme/crm/integrating-with-active-campaign">Integrating with Active Campaign</a></td></tr><tr><td align="center">Hubspot</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-15e3dd638c73a0191e5e8ea4ca41da3a3b3ddd7c%2FHubspot.avif?alt=media">hubspot-card.avif</a></td><td><a href="/integration-guide/readme/crm/integrating-with-hubspot">Integrating with HubSpot</a></td></tr><tr><td align="center">LeadSquared</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aa714694723194ac51365ec4d6742a7122e7ee24%2FLeadSquared.avif?alt=media">leadsquared-card.avif</a></td><td><a href="/integration-guide/readme/crm/integrating-with-leadsquared">Integrating with LeadSquared</a></td></tr><tr><td align="center">Outreach</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-780a39d76ffd61440dac1124248fb30a2e58ca56%2FOutreach.avif?alt=media">outreach-card.avif</a></td><td><a href="/integration-guide/readme/crm/integrating-with-outreach">Integrating with Outreach</a></td></tr><tr><td align="center">Pipedrive</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-da296d0c81da3523c715bfb4e30f4fcca9792bee%2FPipedrive.avif?alt=media">pipedrive-card.avif</a></td><td><a href="/integration-guide/readme/crm/integrating-with-pipedrive">Integrating with Pipedrive</a></td></tr><tr><td align="center">Salesforce</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2f880634ee3e53d98fbb501b78ec6d93ba278ecd%2FSalesforce.avif?alt=media">salesforce-card.avif</a></td><td><a href="/integration-guide/readme/crm/integrating-with-salesforce">Integrating with Salesforce</a></td></tr></tbody></table>


# Integrating with Active Campaign

Pull ActiveCampaign contact and deal data into Drivetrain to enrich revenue models. Covers finding the API URL and key and requesting the connection.

Active Campaign is a premium connector: you share your API URL and API key from the **Data** page, and Drivetrain sets up the connection.

## Before you start

* A Drivetrain admin role (or a role with the **Connect a data source** action)
* An Active Campaign **Administrator** login, to see the API key

## Step 1: Find your API URL and API key

1. Log in to your [Active Campaign account](https://www.activecampaign.com/login) as an Administrator.
2. In the left menu, click **Settings** > **Developer**.
3. Under **API Access**, copy the **URL** and the **Key**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b029a2c8ea96f55a759a6ca17f19490f606fe1dd%2Factivecampaign1.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The API key gives access to your whole Active Campaign account. Share it only through the form below, not by email or chat.
{% endhint %}

## Step 2: Request the connection in Drivetrain

1. Go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Active Campaign** and click **Request access**.
3. Enter the API URL and API key. If the form doesn't list these fields, click **Add field** and add each one with its name and value.
4. Click **Submit credentials**.

This sends your request; Drivetrain sets up the connection.


# Integrating with HubSpot

Connect HubSpot to Drivetrain quickly—no provisioning or support required.

You connect HubSpot yourself by signing in from Drivetrain. The sync starts on its own.

## Before you start

* **In Drivetrain:** an admin role (or a role with the **Connect a data source** action).
* **In HubSpot:** a **Super Admin**, or a user with **App Marketplace access**, to approve the app.

### What Drivetrain asks HubSpot for

HubSpot's approval screen lists these scopes. Drivetrain only reads data with them.

* **Required** (the connection fails without them): `crm.objects.companies.read`, `crm.objects.contacts.read`, `crm.objects.deals.read`, `crm.schemas.companies.read`, `crm.schemas.contacts.read`, `crm.schemas.deals.read`, `business-intelligence`, `oauth`.
* **Optional** (granted only if your HubSpot account includes that tool): read access to leads, line items, quotes, owners, users and teams, marketing events, custom objects, feedback submissions, goals, lists, orders and subscriptions, plus `content`, `forms`, `e-commerce` and `sales-email-read`. HubSpot doesn't describe these four as read-only; Drivetrain doesn't change anything with them.

## Step 1: Connect HubSpot

1. Go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **HubSpot** and click **Login to connect**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dccdc6121ad118531ee7bfaffa571e245bac1b06%2FHubSpot%20Integration%20(8).gif?alt=media" alt=""><figcaption></figcaption></figure>

3. The tab opens HubSpot. Log in, choose the HubSpot account to connect, review the permissions and approve (**Connect app**).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-900e2e4a37ac85fca86d147065b29948f88f09d4%2FHubSpot%20Integration%20(9).gif?alt=media" alt=""><figcaption></figcaption></figure>

4. You return to Drivetrain. HubSpot appears in the **Data** panel with a **Syncing** indicator.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d716f599d8fbd974903fef3afa885ba864fb112a%2FHubSpot%20Integration%20(5).gif?alt=media" alt=""><figcaption></figcaption></figure>

## What data comes in

* **By default:** **Company**, **Contact**, **Deal**, **Deal Pipeline**, **Deal Pipeline Stage**, **Owner**, **Merged Deals**, and the links between them (**Association Type**, **Contact Company**, **Deal Company**, **Deal Contact**).
* **More objects:** click **Add data** on the HubSpot connection (or the three dots next to it > **Add data**), move the objects you want to **Selected** and click **Add**.
* The **Add data** button is greyed out while a sync runs, including the first one.
* After the first sync, each sync brings records changed since the last one. On Saturdays, the scheduled sync re-reads all records.

## Reconnect or disconnect

* **Reconnect** (for example after upgrading your HubSpot plan, or if the app was uninstalled): three dots next to the connection > **Edit credentials**, then log in again. Not available while a sync is running.
* **Disconnect:** three dots > **Remove**. This deletes the data synced from it in Drivetrain.

## Troubleshooting

| What you see                                                                      | Cause                                                                   | Fix                                                                                                                         |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| An error on HubSpot's approval screen                                             | The user can't install apps                                             | Log in as a Super Admin or a user with **App Marketplace access**                                                           |
| An object you expect is missing or empty                                          | It wasn't added with **Add data**, or its optional scope wasn't granted | Add it with **Add data**; otherwise check your HubSpot plan includes that tool, then **Edit credentials** and approve again |
| A message that the daily API call limit was reached and the sync resumes tomorrow | Drivetrain's own daily call budget for this connection                  | The sync resumes the next day; ask your Drivetrain team if you need a higher budget                                         |
| **A sync is in progress, please try again once it completes.**                    | You edited credentials during a sync                                    | Wait for the sync to finish                                                                                                 |
| The login loops or fails                                                          | Browser session or cookies                                              | Log out of HubSpot, or try an incognito window                                                                              |

**Still stuck?** Contact your Drivetrain onboarding partner with a screenshot of the error.

### Need to grant temporary access?

Rarely, for example to investigate a data issue, your Drivetrain team may ask for temporary access to your HubSpot account. See [Grant temporary access to HubSpot](/integration-guide/readme/crm/integrating-with-hubspot/grant-temporary-access-to-hubspot). It isn't needed to connect.


# Grant temporary access to HubSpot

Grant temporary HubSpot access to Drivetrain for troubleshooting.

If you’ve already connected HubSpot to Drivetrain but run into issues with sync errors or missing data, you can temporarily grant access to the Drivetrain team for troubleshooting.

{% hint style="warning" %}
Use this guide only if requested by Drivetrain support. Most customers will not need to follow these steps.
{% endhint %}

{% hint style="warning" %}
You must be a **Super Admin** in HubSpot to apply these changes.
{% endhint %}

Follow the steps below to create a temporary user.

### Step 1: Invite a new user

1. **Log in** to your HubSpot account
2. Click the **settings icon** ⚙️ in the top navigation bar
3. In the left sidebar, go to **Users & Teams**
4. Click **Add users** in the top-right corner, then **Create new**

### Step 2: Setting access permissions

In the user creation flow:

1. **Enter the email address** provided by your Drivetrain CSM (e.g., `dp-[customername]@drivetrain.ai`) and click Next
2. Assign relevant **user access levels**
   1. Assign a **Core Seat** from the seat dropdown (accounts without seats skip this)
   2. Under **Choose how to set access**, select **Start from scratch**
3. Expand the **Choose permissions** section and enable the following permissions:
   1. Account > Settings access > Turn on **App Marketplace access**
   2. Reporting > Turn on **Reports access**
   3. Turn on any other permissions your Drivetrain CSM requests

### Step 3: Send the invite

1. Click **Next** to review permissions, then **Create user**
2. Expand the **Send an invite link** section
3. Click **Copy invite link**
4. **Paste the invite link** into your Slack chat or email thread with your CSM to notify them

### Step 4: Revoke access after troubleshooting

Once the issue is resolved, you can safely:

* Deactivate or remove the temporary user

{% hint style="warning" %}
Drivetrain uses this temporary account solely to diagnose and resolve integration issues. No changes are made to your HubSpot data or configuration. You retain full control and can revoke access or delete the user at any time.
{% endhint %}


# Integrating with LeadSquared

Connect LeadSquared to Drivetrain and sync CRM and marketing data into revenue planning. Covers creating a dedicated Drivetrain admin user.

LeadSquared is set up by your Drivetrain team: you create a dedicated LeadSquared user for Drivetrain, and Drivetrain does the rest.

## Before you start <a href="#prerequisites" id="prerequisites"></a>

* A LeadSquared **Administrator** login
* The email address for the new user, from your Drivetrain customer success manager

## LeadSquared Setup <a href="#leadsquared-setup" id="leadsquared-setup"></a>

### Step 1: Creating a New User <a href="#step-1-creating-a-new-user" id="step-1-creating-a-new-user"></a>

1. Access the LeadSquared Platform.
2. Click your profile icon, then go to **Settings** > **Users and Permissions** > **Users**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-35f9815964f1e2f95cfdfcf51407bb8b3ecdfbc4%2FLS-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. At the top right, click on **Create.**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9200ae6f10791b7bcf7a5d68e916fe06ddd4225d%2FLS-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

4. Create a new user named ***Drivetrain Integration***, with the email address from your customer success manager.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1f4021259d1f39610e0dcd106cf014c447972284%2FLS-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

5. Under **Role,** select ***Administrator*** and under **User Type** select ***Regular.***

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9b762a53206d2a9f94838b74e91406f832242176%2FLS-4.avif?alt=media" alt=""><figcaption></figcaption></figure>

6. \[Optional] You can select a reporting manager and Team appropriately.
7. Click on **Create New.**

{% hint style="info" %}
Tell your customer success manager the user is ready. To remove Drivetrain's access later, deactivate this user.
{% endhint %}


# Integrating with Outreach

Bring Outreach sales engagement data into Drivetrain to track pipeline alongside financials. Covers setup and permission scopes.

Outreach is a premium connector: you create a dedicated Outreach user for Drivetrain, then request the connection from the **Data** page and Drivetrain sets it up.

## Before you start <a href="#prerequisites" id="prerequisites"></a>

* **In Drivetrain:** an admin role (or a role with the **Connect a data source** action).
* **In Outreach:** an admin who can create profiles and users, and a free seat for the new user.
* The email address for the new user, from your Drivetrain customer success manager.

## Outreach Setup <a href="#outreach-setup" id="outreach-setup"></a>

### Step 1: Creating a New Profile <a href="#step-1-creating-a-new-profile" id="step-1-creating-a-new-profile"></a>

1. In Outreach, go to **Administration** > **User Management** > **Access Control**.
2. Click **Add Profile**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9e942fc71aa5aca86fa41d2b8e278a8762aefa7e%2FOutreach-1.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Name the profile ***Drivetrain Integration***.

## List of Permissions <a href="#list-of-permissions" id="list-of-permissions"></a>

Please add the following permissions to this profile (which may vary based on your specific use case):

| Permission            | Options          | Setting for Drivetrain Profile |
| --------------------- | ---------------- | ------------------------------ |
| Users and Profiles    | Permitted/Denied | Denied                         |
| Plugins               | Permitted/Denied | Denied                         |
| Triggers              | Permitted/Denied | Permitted                      |
| Teams and Collections | Permitted/Denied | Permitted                      |
| Rulesets              | Permitted/Denied | Permitted                      |
| Phones                | Permitted/Denied | Denied                         |
| Branded URLs          | Permitted/Denied | Denied                         |
| Export from Outreach  | Permitted/Denied | Permitted                      |

| Record Visibility                        |                                                      |               |
| ---------------------------------------- | ---------------------------------------------------- | ------------- |
| Prospects                                | All Records/Owned and Reports' records/Owned Records | All records   |
| Accounts                                 | All Records/Owned and Reports' records/Owned Records | All records   |
| Grant visibility to prospects in account | Permitted/Denied                                     | Denied        |
| Opportunities                            | All Records/Owned and Reports' records/Owned Records | All records   |
| Tasks                                    | All Records/Owned Records                            | All records   |
| Calls                                    | All Records/Owned and Reports' records/Owned Records | All records   |
| Meetings                                 | All Records/Owned and Reports' records/Owned Records | All records   |
| Bulk Actions                             | All Records/Owned and Reports' records/Owned Records | All records   |
| Imports                                  | All Records/Owned and Reports' records/Owned Records | Owned Records |
| Outbox                                   | All Records/Owned and Reports' records/Owned Records | Owned Records |
| Smart Views                              | All Records/Owned and Reports' records/Owned Records | Owned Records |

| Prospects                |                  |           |
| ------------------------ | ---------------- | --------- |
| CSV Import               | Permitted/Denied | Permitted |
| Salesforce Report Import | Permitted/Denied | Denied    |
| Large Bulk Actions       | Permitted/Denied | Denied    |
| Delete Email Data        | Permitted/Denied | Denied    |
| Revert Opt Out           | Permitted/Denied | Denied    |

| Sequences                          |                                                                                          |                         |
| ---------------------------------- | ---------------------------------------------------------------------------------------- | ----------------------- |
| View Private Sequences             | Any Sequences/Sequences owned by user or its subordinates/Sequences owned by user        | Any sequences           |
| Create                             | Permitted/Denied                                                                         | Denied                  |
| Edit                               | Any Sequences/Sequences owned by user or its subordinates/Sequences owned by user        | Sequences Owned by User |
| Enable Sequences                   | Any Sequences/Sequences owned by user or its subordinates/Sequences owned by user/Denied | Disabled                |
| Sharing Sequences                  | Permitted/Denied                                                                         | Denied                  |
| Use Custom Rulesets                | Permitted/Denied                                                                         | Denied                  |
| Exceed 5 Active templates per step | Permitted/Denied                                                                         | Permitted               |

| Tasks                 |                                                                               |                        |
| --------------------- | ----------------------------------------------------------------------------- | ---------------------- |
| Edit                  | Any task/tasks owned by user or its subordinates/tasks owned by user          | Tasks Owned by User    |
| Snippets              |                                                                               |                        |
| View private snippets | Any snippet/Snippets owned by user or its subordinates/snippets owned by user | Snippets owned by user |
| Create                | Permitted/Denied                                                              | Denied                 |
| Edit                  | Any snippet/Snippets owned by user or its subordinates/snippets owned by user | Snippets owned by user |
| Share                 | Permitted/Denied                                                              | Denied                 |

| Templates              |                                                                                  |                         |
| ---------------------- | -------------------------------------------------------------------------------- | ----------------------- |
| View Private Templates | Any template/templates owned by user or its subordinates/templates owned by user | Templates owned by user |
| Create                 | Permitted/Denied                                                                 | Denied                  |
| Edit                   | Any template/templates owned by user or its subordinates/templates owned by user | Templates owned by user |
| Share                  | Permitted/Denied                                                                 | Denied                  |

| Meeting Types              |                                                                        |                   |
| -------------------------- | ---------------------------------------------------------------------- | ----------------- |
| View Private Meeting Types | All Meeting Types/Owned and Reports' Meeting Types/Owned Meeting Types | All Meeting Types |
| Create                     | Permitted/Denied                                                       | Denied            |
| Share                      | Permitted/Denied                                                       | Denied            |

| Layouts              |                                            |             |
| -------------------- | ------------------------------------------ | ----------- |
| View Private Layouts | Any Layouts / Layouts owned by User / None | Any Layouts |
| Create               | Permitted/Denied                           | Permitted   |
| Share                | Permitted/Denied                           | Permitted   |

| Meetings         |                  |           |
| ---------------- | ---------------- | --------- |
| Can Use Meetings | Permitted/Denied | Permitted |

| Opportunities                                |                                                                                                            |           |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | --------- |
| Can Use Opportunities                        | Permitted/Denied                                                                                           | Denied    |
| Create                                       | Permitted/Denied                                                                                           | Denied    |
| Edit                                         | Any Opportunity / Opportunities owned by user or its subordinates / Opportunities owned by user / Disabled | Disabled  |
| Activities get associated with Opportunities | Permitted/Denied                                                                                           | Permitted |
| Association Dropdown                         | Permitted/Denied                                                                                           | Denied    |

| Voice                         |                  |           |
| ----------------------------- | ---------------- | --------- |
| Can use voice                 | Permitted/Denied | Permitted |
| Local Presence                | Permitted/Denied | Denied    |
| Live Listen                   | Permitted/Denied | Denied    |
| Recordings                    | Permitted/Denied | Denied    |
| Show Two Party Consent Dialog | True/False       | TRUE      |
| Texting                       | Permitted/Denied | Denied    |

| Unrelated emails using Outreach |                  |        |
| ------------------------------- | ---------------- | ------ |
| View Subject                    | Permitted/Denied | Denied |
| View Body                       | Permitted/Denied | Denied |

| Unrelated emails not using Outreach |                  |        |
| ----------------------------------- | ---------------- | ------ |
| View Subject                        | Permitted/Denied | Denied |
| View Body                           | Permitted/Denied | Denied |

| Mail Tracking             |                  |           |
| ------------------------- | ---------------- | --------- |
| Use open tracking         | Permitted/Denied | Permitted |
| Use clicked link tracking | Permitted/Denied | Permitted |

| Mailboxes |                                                      |               |
| --------- | ---------------------------------------------------- | ------------- |
| Send from | All records/Owned and reports' records/Owned Records | Owned Records |

| Prospect Engagement               |                                                         |             |
| --------------------------------- | ------------------------------------------------------- | ----------- |
| Email based on prospect ownership | All records/Owned and reports' records/Owned Records    | All Records |
| Email based on account ownership  | Owned and Reports' Records / Owned Records / No Records | No records  |

### Step 2: Creating a New User <a href="#step-2-creating-a-new-user" id="step-2-creating-a-new-user"></a>

1. Go to **Administration** > **User Management** > **Users** and click **Add User**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1c0c6f3d0cbced3cb80d483b4466320ce5e86ec4%2FOutreach-2.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Input the **New User** information in the corresponding fields as below:

First Name: ***Drivetrain***

Last Name: ***Integration***

Email: (*Your customer success manager will share this with you)*

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-67faec4eb946ff89b2dffed962866922ba2a6ed1%2FOutreach-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Under governance, select the **Drivetrain Integration** profile.
4. Click **Save**.

### Step 3: Request the connection in Drivetrain

1. Go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Outreach** and click **Request access**.
3. The form needs at least one field: click **Add field** and enter, for example, the new user's email. Then click **Submit credentials**.

This sends your request; Drivetrain completes the connection with the new user.


# Integrating with Pipedrive

Connect Pipedrive to Drivetrain and pull deal and pipeline data into revenue models. Covers signing in from the Data page and which user to sign in with.

You connect Pipedrive yourself by signing in from Drivetrain. You don't need a separate user or to share credentials.

## Before you start

* **In Drivetrain:** an admin role (or a role with the **Connect a data source** action).
* **In Pipedrive:** sign in as an admin, or a user who can see all the deals you want in Drivetrain. Pipedrive's visibility settings decide what each user can see.

## Connect Pipedrive

1. Go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Pipedrive** and click **Login to connect**.
3. Sign in to your [Pipedrive](https://app.pipedrive.com/auth/login) account and approve access for Drivetrain.

You return to Drivetrain, and Pipedrive appears in the **Data** panel. Drivetrain uses your deals, stages, organizations and users.

{% hint style="info" %}
Drivetrain supports one Pipedrive connection per workspace. To sign in again (for example after access was revoked), use the three dots next to the connection > **Edit credentials**. **Remove** disconnects Pipedrive and deletes its synced data in Drivetrain.
{% endhint %}


# Integrating with Salesforce

Connect Salesforce to Drivetrain quickly—no provisioning or support required.

You connect Salesforce yourself by signing in from Drivetrain, then choose which objects and reports to sync.

## Before you start

* **In Drivetrain:** an admin role (or a role with the **Connect a data source** action).
* **Salesforce edition with API access:** Enterprise, Performance, Unlimited or Developer. Professional edition needs Salesforce's API add-on.
* **A Salesforce user to connect with.** Drivetrain syncs only what this user can see, so check its profile or permission set:

| Permission                                                                                                                           | Why Drivetrain needs it                                        |
| ------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------- |
| **API Enabled**                                                                                                                      | Every sync uses the Salesforce API                             |
| **View Setup and Configuration**                                                                                                     | Drivetrain reads your org's remaining API quota before syncing |
| **Read** on each object you'll sync (at least **Accounts**, **Leads**, **Opportunities**), plus field-level **Read** on their fields | Hidden objects or fields sync empty                            |
| **View All Users**                                                                                                                   | Syncs the **User** object                                      |
| **View All Data**, or sharing rules that let the user see the records                                                                | A user that owns no records syncs empty tables                 |
| **Run Reports**, and access to the report folders                                                                                    | Only if you sync reports                                       |

No create, edit or delete permission is needed: Drivetrain only reads. It requests Salesforce's `api` and `refresh_token` OAuth scopes. The `api` scope allows whatever the user's permissions allow, so a read-only user keeps the connection read-only.

{% hint style="info" %}
**Where to find these:** Setup > **Users** > **Profiles** > your profile. In the enhanced profile view they're under **System Permissions** and **Object Settings**; in the original view, under **Administrative Permissions**, **General User Permissions** and **Standard Object Permissions**. **Opportunity History** and **Opportunity Field History** follow access to Opportunities. Field history fills only for fields you track in Object Manager > **Opportunity** > **Fields & Relationships** > **Set History Tracking**.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-313b66e6a6867420f30e708db881103d38fa6727%2FSalesforce%20Integration%20(6).gif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 1: Connect Salesforce

1. Go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. Select **Salesforce** and click **Login to connect**.
3. The tab opens the Salesforce login page. Log in as the user above, complete MFA if prompted, and allow access.
4. You return to Drivetrain, and Salesforce appears in the **Data** panel. Nothing syncs until you choose data in Step 2.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4ee9fa255f517983f3f9e26e906565c1ad012e23%2FSalesforce%20Integration.gif?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-75385c75cfa4a0fb26b9466afe2a3cc9439c83a0%2FSalesforce%20Integration%20(3).gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**If Salesforce blocks the login** (for example `OAUTH_APPROVAL_ERROR_GENERIC`, or a message that the app must be installed), your org doesn't allow uninstalled connected apps. Since September 2025 this is Salesforce's default. A Salesforce admin can fix it either way:

* **Install the app (recommended):** Setup > Quick Find **OAuth** > **Connected Apps OAuth Usage**, find the Drivetrain app (it appears after the first login attempt), click **Install** and confirm. Then try again.
* **Or allow the user:** give the connecting user's profile or permission set **Approve Uninstalled Connected Apps** (or **Use Any API Client** if your org has API Access Control turned on). The standard System Administrator profile has it by default.
  {% endhint %}

## Step 2: Choose what to sync

Click **Add data** on the Salesforce connection (or the three dots next to it > **Add data**). In **Import from**, choose **Objects** or **Reports**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-284b4542c3464f4a247084a5d37f1208ee5e5693%2FSalesforce%20Integration%20(2).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Objects

Use objects for full, unfiltered tables.

1. Select **Objects**, search for the objects you want and move them to **Selected**. You can pick any standard or custom object the user can see.
2. Click **Add**.

**Account**, **Lead**, **Opportunity** and **User** can't be removed once selected.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b0defb9166a6e9a984cb7f276356e7a2d8cec203%2FSalesforce%20Integration%20(5).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Reports

Use a report when you already filter and shape the data in Salesforce.

1. In Salesforce, open the report and copy its Lightning link: `https://<your-org>.lightning.force.com/lightning/r/Report/<report-id>/view`. Salesforce Classic links are rejected.
2. In Drivetrain, select **Reports**, paste the link in **Paste Salesforce report link**.
3. Optional: in **Unique column (optional)**, enter the name of a column that's unique on every row (for example **Opportunity ID**), as it appears in the report.
4. Click **Add**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2191c235639ae55ece82e7d76040fa50c12cfc9b%2FSalesforce%20Integration%20(4).gif?alt=media" alt=""><figcaption></figcaption></figure>

**Reports over 2,000 rows:** Salesforce returns at most 2,000 report rows per request. Drivetrain pages past that with the unique column: the one you entered, or otherwise the report's first ID column. A report with no ID column syncs only its first 2,000 rows. The note in the window still says reports are limited to 2,000 rows.

If a report still stops at 2,000 rows:

1. **Too many filters:** Salesforce accepts up to 20 filters when a report is run through its API, and Drivetrain adds one to page. Remove a filter.
2. **Cross filters, standard filters or a row limit** block paging through the API. Remove them or sync the object instead.
3. **Unique column:** it must be filled on every row.

## What data comes in

* The objects and reports you choose. Objects sync all their fields.
* After the first sync, each sync brings records changed since the last one. On Saturdays, the scheduled sync re-reads all records.
* Records you delete in Salesforce come through marked as deleted (Salesforce's **IsDeleted** field). Records emptied from the recycle bin disappear at the next Saturday re-read.
* Salesforce's daily API limit is shared by every tool connected to your org. To leave room for them, a sync stops once your org has used about 95% of its daily quota, or once that sync alone has used 25%. Check usage in Setup > **System Overview**.

## Reconnect, disconnect, more connections

* **Reconnect** (after a password change, or if access was revoked): three dots next to the connection > **Edit credentials**, then log in again. Not available while a sync is running.
* **Disconnect:** three dots > **Remove**. This deletes the data synced from it in Drivetrain.
* **More than one Salesforce org:** add another connection. Your subscription may limit how many.
* **Sandbox orgs:** the **Salesforce** tile signs in to production orgs. A separate **Salesforce Sandbox** tile offers objects only (no reports); talk to your Drivetrain team before using it.

## Troubleshooting

Drivetrain shows sync errors in its own words, so the text may differ slightly from below.

| What you see                                                                      | Cause                                                                | Fix                                                                                        |
| --------------------------------------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `OAUTH_APPROVAL_ERROR_GENERIC`, or "app must be installed"                        | Your org blocks uninstalled connected apps                           | Install the app or grant the permission (see Step 1)                                       |
| `API_DISABLED_FOR_ORG`                                                            | Your Salesforce edition has no API access                            | Upgrade, or buy the API add-on (Professional)                                              |
| `API_CURRENTLY_DISABLED`                                                          | The user's profile lacks **API Enabled**                             | Turn on **API Enabled**, then **Edit credentials**                                         |
| `REQUEST_LIMIT_EXCEEDED`, or a message that the Salesforce API quota is used up   | Your org's daily API quota is (nearly) used up, often by other tools | Wait for quota to free up; to raise the limit, buy API add-ons or licences from Salesforce |
| A message that the daily API call limit was reached and the sync resumes tomorrow | Drivetrain's own daily call budget for this connection               | The sync resumes the next day; ask your Drivetrain team if you need a higher budget        |
| Tables sync empty (often only **User** has data)                                  | Missing object or field **Read**, or the user can't see the records  | Check the permissions table above                                                          |
| A report fails with a permission error                                            | No **Run Reports**, or no access to the report's folder              | Grant both                                                                                 |
| **Invalid report link. It must contain a report ID**                              | Not a Lightning report link                                          | Copy the link from Lightning Experience                                                    |
| `uniqueColumn '<name>' not found in report columns`                               | The unique column doesn't match a report column                      | Enter the column name exactly as the report shows it                                       |
| An authentication error after a password change                                   | The stored login no longer works                                     | **Edit credentials** and log in again                                                      |
| **A sync is in progress, please try again once it completes.**                    | You edited credentials during a sync                                 | Wait for the sync to finish                                                                |

**Still stuck?** Contact your Drivetrain onboarding partner with a screenshot of the error.

### Need to grant temporary access?

Rarely, for example to investigate a data issue, your Drivetrain team may ask for temporary access to your Salesforce org. See [Grant temporary access to Salesforce](/integration-guide/readme/crm/integrating-with-salesforce/grant-temporary-access-to-salesforce). It isn't needed to connect.


# Grant temporary access to Salesforce

Grant temporary Salesforce access to Drivetrain for troubleshooting.

In rare cases—such as data inconsistencies, unexpected sync behavior, or bugs—your Drivetrain onboarding or support team may ask you to grant temporary access to your Salesforce account. This lets us investigate issues directly in your environment, using a read-only user that you control.

{% hint style="warning" %}
Use this guide only if requested by Drivetrain support. Most users do not need to complete this setup.
{% endhint %}

### Overview

This guide walks you through how to:

1. Create a read-only profile in Salesforce
2. Set the right API and object-level permissions
3. Create a dedicated user account with that profile
4. Revoke access after troubleshooting is complete

All access granted via this method is read-only and temporary. You can remove the user at any time.

### Step 1: Create a Read-Only Profile

1. Log in to Salesforce with an **admin account**
2. Go to **Setup**
3. In the left menu, go to **Users** > **Profiles**
4. Click **New Profile**
5. Use **Read Only** as the base profile
6. Name the profile `Drivetrain Integration`
7. Click **Save**

### Step 2: Set API and Object Permissions

1. Open the new profile and click **Edit**
2. Under **Administrative Permissions** (or **System Permissions** in the enhanced profile view), enable **API Enabled**, **View All Users** and **View All Data** (so the user can see your records). Don't enable **API Only User**: it blocks the web login the Drivetrain team needs.
3. Under **Standard Object Permissions** (or **Object Settings**), grant **Read** on **Opportunities**, **Accounts** and **Leads**. Opportunity History and Opportunity Field History follow Opportunities.
4. Optional: grant **Read** on any custom objects you sync.
5. Click **Save**

### Step 3: Create a Temporary User

1. In Setup, go to **Users** > **Users**
2. Click **New User**
3. Set the following:
   1. **Email address:** Use the one shared by your Drivetrain CSM (typically `dp-[yourcompany]@drivetrain.ai`)
   2. **Profile:** Select the read-only profile you created
4. Click **Save**

The user will receive login credentials via email, which will be used by the Drivetrain team to investigate the issue.

### Step 4: Notify Drivetrain

After the user is created, notify your Drivetrain CSM. A team member will log in and proceed with troubleshooting.

### Step 5: Revoke Access

After the issue is resolved:

1. In Setup, go to **Users** > **Users**
2. Click **Edit** next to the user you created
3. Clear **Active** and click **Save** (Salesforce doesn't let you delete users; deactivating removes access)

{% hint style="info" %}
This access method grants Drivetrain **temporary, read-only visibility** into your Salesforce data. You retain full control and can revoke access at any time. No create, edit or delete permissions are granted at any stage.
{% endhint %}


# Customer Success

Sync customer success data into Drivetrain. Connect Zendesk, ChurnZero, Planhat, and Freshdesk to keep retention metrics live across your models.

Guides for connecting customer success and support tools:

* [ChurnZero](/integration-guide/readme/customer-success/integrating-with-churnzero)
* [Freshdesk](/integration-guide/readme/customer-success/integrating-with-freshdesk)
* [Planhat](/integration-guide/readme/customer-success/integrating-with-planhat)
* [Zendesk](/integration-guide/readme/customer-success/integrating-with-zendesk)

All four are premium integrations: you share credentials from the **Data** page, and Drivetrain completes the setup. In the Drivetrain connector list, ChurnZero is under **Customer Success Management**, Freshdesk and Zendesk under **Ticketing**, and Planhat under **Others**. For any other tool, contact your customer success manager.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">ChurnZero</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7340a8bbf2968962b78285c7caed926f8d178a36%2FChurnZero.avif?alt=media">churnzero-card.avif</a></td><td><a href="/integration-guide/readme/customer-success/integrating-with-churnzero">Integrating with ChurnZero</a></td></tr><tr><td align="center">Freshdesk</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ccb05fb0985c135bf8df7a606bdb3955e22cadba%2FCard_Freshdesk.png?alt=media">freshdesk-card.png</a></td><td><a href="/integration-guide/readme/customer-success/integrating-with-freshdesk">Integrating with Freshdesk</a></td></tr><tr><td align="center">Planhat</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3e2a930a6cf1bd222a0eb859a395b3e1db782606%2FPlanhat.avif?alt=media">planhat-card.avif</a></td><td><a href="/integration-guide/readme/customer-success/integrating-with-planhat">Integrating with Planhat</a></td></tr><tr><td align="center">Zendesk</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9fe4faf4baf519ad433a6de43faa3d6a58adf868%2FZendesk.avif?alt=media">zendesk-card.avif</a></td><td><a href="/integration-guide/readme/customer-success/integrating-with-zendesk">Integrating with Zendesk</a></td></tr></tbody></table>


# Integrating with ChurnZero

Connect ChurnZero to Drivetrain to bring customer success data into planning. Covers REST API access, the subdomain and API key, and the in-app connection request.

## Before you start <a href="#before-you-start" id="before-you-start"></a>

* **In Drivetrain:** you need to be an admin.
* **In ChurnZero:**
  * The REST API add-on. If you don't have it, contact ChurnZero to enable it.
  * A ChurnZero user with the **Developer Tools** permission and all bulk read permissions. Use this user's username in Step 2.

## Step 1: Get your subdomain and API key <a href="#step-1-get-your-subdomain-and-api-key" id="step-1-get-your-subdomain-and-api-key"></a>

1. Sign in to ChurnZero. Your subdomain is the part of your ChurnZero URL before `.churnzero.net`: for `https://yourcompany.us1app.churnzero.net` it's `yourcompany.us1app`.
2. Go to **Admin** > **API Keys**, create an API key and copy it.

## Step 2: Connect in Drivetrain <a href="#step-2-connect-in-drivetrain" id="step-2-connect-in-drivetrain"></a>

1. Go to **Data** in the left navigation, click the **+** button and select **ChurnZero** (under **Customer Success Management**, or search for it).
2. Drivetrain shows **ChurnZero is a premium integration**. Click **Request access**.
3. Click **Add field** three times and enter `Subdomain`, `Username` and `API key` with their values. If the form already lists fields under **Connector fields**, fill those in instead. Click **Submit credentials**.
4. ChurnZero 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 <a href="#what-data-comes-in" id="what-data-comes-in"></a>

ChurnZero data such as accounts (including custom fields), contacts, events and event types, tasks, journeys, segments, surveys and churn scores.

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

| 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. |
| **ChurnZero not in your subscription**                                         | ChurnZero 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.                                                     |


# Integrating with Freshdesk

Sync Freshdesk support data with Drivetrain to add customer success metrics into planning. Covers API key, domain config, and completing the connection.

## Before you start <a href="#before-you-start" id="before-you-start"></a>

* **In Drivetrain:** you need to be an admin.
* **In Freshdesk:** an active subscription and an agent with admin privileges whose account is verified (Freshdesk shows the API key only to verified agents). The API key has exactly that agent's access, so use an agent who can see all the tickets you want in Drivetrain.

## Step 1: Get your subdomain and API key <a href="#step-1-get-your-subdomain-and-api-key" id="step-1-get-your-subdomain-and-api-key"></a>

1. Sign in to Freshdesk. Your subdomain is the first part of the URL: for `https://mysubdomain.freshdesk.com` it's `mysubdomain`.
2. Click your profile picture in the top-right corner and select **Profile Settings**.
3. Click **View API key**, complete the captcha and copy the key.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7fad77411d30ff3b9831c465e5d438dffeba8cf6%2FFreshdesk.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Connect in Drivetrain <a href="#step-2-connect-in-drivetrain" id="step-2-connect-in-drivetrain"></a>

1. Go to **Data** in the left navigation, click the **+** button and select **Freshdesk** (under **Ticketing**, or search for it).
2. Drivetrain shows **Freshdesk is a premium integration**. Click **Request access**.
3. Click **Add field** twice and enter `Subdomain` and `API key` with their values. If the form already lists fields under **Connector fields**, fill those in instead. Click **Submit credentials**.
4. Freshdesk 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 <a href="#what-data-comes-in" id="what-data-comes-in"></a>

Tickets and related Freshdesk data such as conversations, contacts, companies, agents, groups, products and ticket tags.

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

| 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. |
| **Freshdesk not in your subscription**                                         | Freshdesk 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 fail after someone reset the API key                                     | Resetting the key in Freshdesk disconnects every app using it. Send the new key to your customer success manager.                                                                  |


# Integrating with Planhat

Sync Planhat customer success data with Drivetrain to track retention and NRR alongside financials. Covers API token setup and account setup.

## Before you start <a href="#before-you-start" id="before-you-start"></a>

* **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 <a href="#step-1-create-a-private-app-and-token" id="step-1-create-a-private-app-and-token"></a>

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.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b7dc6586de7bcfc84d15c4513ea12d2b23e068d9%2FPlanhat-1.gif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Connect in Drivetrain <a href="#step-2-connect-in-drivetrain" id="step-2-connect-in-drivetrain"></a>

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 <a href="#what-data-comes-in" id="what-data-comes-in"></a>

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 <a href="#before-the-token-expires" id="before-the-token-expires"></a>

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 <a href="#troubleshooting" id="troubleshooting"></a>

| 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.                                                                                                                                 |


# Integrating with Zendesk

Connect Zendesk to Drivetrain and sync support ticket data into planning models. Covers the subdomain, the admin user and the in-app connection request.

## Before you start <a href="#before-you-start" id="before-you-start"></a>

* **In Drivetrain:** you need to be an admin.
* **In Zendesk:** an active account and an admin user. We recommend a dedicated admin user for Drivetrain, so the connection doesn't break when someone leaves. Don't create an API token unless your customer success manager asks: Zendesk API tokens all stop working by April 30, 2027.

## Step 1: Note your subdomain <a href="#step-1-note-your-subdomain" id="step-1-note-your-subdomain"></a>

Your subdomain is the first part of your Zendesk URL: for `https://acme.zendesk.com` it's `acme`.

## Step 2: Connect in Drivetrain <a href="#step-2-connect-in-drivetrain" id="step-2-connect-in-drivetrain"></a>

1. Go to **Data** in the left navigation, click the **+** button and select **Zendesk** (under **Ticketing**, or search for it). Don't pick **Zendesk Sell**: that's Zendesk's CRM.
2. Drivetrain shows **Zendesk is a premium integration**. Click **Request access**.
3. Click **Add field** twice and enter `Subdomain` and `Admin email` (the admin user's email) with their values. If the form already lists fields under **Connector fields**, fill those in instead. Click **Submit credentials**.
4. Zendesk 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 <a href="#what-data-comes-in" id="what-data-comes-in"></a>

Zendesk data such as tickets, comments, contacts, attachments, accounts, users, teams and tags.

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

| 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. |
| **Zendesk not in your subscription**                                           | Zendesk 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.                                                     |


# Databases & Warehouses

Bring warehouse and database data into your Drivetrain planning models. Supports Snowflake, BigQuery, Databricks, Redshift, Postgres, and many more.

Drivetrain connects to the databases and warehouses below. Each guide covers the setup in your system, then the connection in Drivetrain.

* [Azure SQL Server](/integration-guide/readme/databases-and-warehouses/integrating-with-azure-sql-server)
* [BigQuery](/integration-guide/readme/databases-and-warehouses/integrating-with-bigquery)
* [ClickHouse](/integration-guide/readme/databases-and-warehouses/integrating-with-clickhouse)
* [Databricks](/integration-guide/readme/databases-and-warehouses/integrating-with-databricks)
* [Postgres](/integration-guide/readme/databases-and-warehouses/integrating-with-postgres)
* [Redshift](/integration-guide/readme/databases-and-warehouses/integrating-with-redshift)
* [S3](/integration-guide/readme/databases-and-warehouses/integrating-with-s3)
* [Snowflake](/integration-guide/readme/databases-and-warehouses/integrating-with-snowflake)
* [Google Cloud Storage](/integration-guide/readme/databases-and-warehouses/integrating-with-google-cloud-storage)
* [AWS Cost Explorer](/integration-guide/readme/databases-and-warehouses/integrating-with-aws-cost-explorer)

For other database and warehouse systems, contact your Drivetrain customer success manager to help you get them connected.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td align="center">Azure SQL Server</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-azure-sql-server">Integrating with Azure SQL Server</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4d647afc88619aaec1623aa874b9555a477742b7%2FAzure%20Sql.avif?alt=media">azure-sql-server-card.avif</a></td></tr><tr><td align="center">BigQuery</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-bigquery">Integrating with BigQuery</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b166f249dc32c468f27be1255e1d938e14f7ab83%2FBQ.avif?alt=media">bigquery-card.avif</a></td></tr><tr><td align="center">Databricks</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-databricks">Integrating with Databricks</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-58e4752f1ed393af76fcecfe4cb74294d215806a%2FDatabricks.avif?alt=media">databricks-card.avif</a></td></tr><tr><td align="center">Redshift</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-redshift">Integrating with Redshift</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4fdd9be0f3a8737430f17872aa52409b95562e10%2FRedshift.avif?alt=media">redshift-card.avif</a></td></tr><tr><td align="center">S3</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-s3">Integrating with S3</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d58acf74cd00ff7cd99745071c5991d752607830%2FS3.avif?alt=media">s3-card.avif</a></td></tr><tr><td align="center">Snowflake</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-snowflake">Integrating with Snowflake</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9cac40f5cd97879788c8d84a640ab702b6faa95f%2FSnowflake.avif?alt=media">snowflake-card.avif</a></td></tr><tr><td align="center">Google Cloud Storage</td><td><a href="/integration-guide/readme/databases-and-warehouses/integrating-with-google-cloud-storage">Integrating with Google Cloud Storage</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-693d4bbc6cba738d9a05c51917d2903bfa0c9302%2FGoogle%20cloud.avif?alt=media">google-cloud-storage-card.avif</a></td></tr></tbody></table>

## How these connections work

* **Who can connect:** a Drivetrain admin. Go to **Data** in the left navigation, click the **+** button and select the connector.
* **Request access:** some connectors show a **Request access** button instead of a connection form. Click it, enter the details the guide lists, and click **Submit credentials**. Where the form has no field for a detail, click **Add field** and enter a **Field name** and **Value**. The connection shows **Credentials submitted** until Drivetrain finishes the setup.
* **Choose what to sync:** for databases and warehouses, nothing syncs until you pick tables. Open the connection and click **Add data**.
* **Full refresh:** for database and warehouse tables, each sync reads the selected tables again in full and replaces Drivetrain's copy, unless the guide says otherwise.
* **Sync and schedule:** in the connection's menu, **Sync** runs it now and **Sync schedule** changes when it runs.
* **Credentials:** where a connector supports it, **Edit credentials** in the connection's menu updates the password or key. Otherwise, contact Drivetrain support.
* **Firewalls:** if your database only accepts known IP addresses, allow Drivetrain's IP addresses. Your customer success manager can share them.


# Integrating with AWS Cost Explorer

Connect AWS Cost Explorer to Drivetrain for cloud cost reporting. This guide covers IAM role or access key setup and confirming your full data scope.

## Overview

This guide connects AWS Cost Explorer to Drivetrain so your cloud cost and usage data syncs for analysis and reporting. Drivetrain reads it through a read-only IAM role in your account; you don't share any access keys.

## Prerequisites

To connect AWS Cost Explorer to Drivetrain, you need:

* An AWS account with Cost Explorer enabled. You enable it by opening Cost Explorer in the AWS console once; data can take up to a day to appear.
* IAM permissions to create policies and roles in that account
* Admin access in Drivetrain
* The data scope you want to sync (see [Data scope to confirm](#data-scope-to-confirm))

{% hint style="info" %}
AWS Cost Explorer is a global service, so no AWS Region is required.
{% endhint %}

## Step 1: Create an IAM policy

Create the policy in the AWS IAM console with this JSON configuration. `ce:GetCostAndUsage` is the only Cost Explorer call Drivetrain makes:

```json
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ce:GetCostAndUsage"
            ],
            "Resource": "*"
        }
    ]
}
```

Name the policy **Drivetrain-CostExplorer-Access**.

## Step 2: Create an IAM role

1. Go to **Roles** and select **Create role**.
2. Choose **AWS account** > **Another AWS account** and enter Drivetrain's Account ID: `865992467666`. Optionally select **Require external ID** and enter an external ID of your choice.
3. Select the **Drivetrain-CostExplorer-Access** policy.
4. Name the role **Drivetrain-Integration** and create it.

You can narrow the role's trust policy to Drivetrain's integration role:

```json
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::865992467666:role/Drivetrain-Integration"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}
```

## Step 3: Connect in Drivetrain

1. Go to **Data** in the left navigation, click the **+** button and select **AWS Cost Explorer**.
2. Click **Request access** and enter the details below. If the form has no field for one, click **Add field** and enter a **Field name** and **Value**:
   * the **Role ARN** (for example `arn:aws:iam::<your-account-id>:role/Drivetrain-Integration`)
   * the external ID, if you set one
   * the data scope below
3. Click **Submit credentials**. Drivetrain then completes the connection for you. If a connection form opens instead, enter the same details there.

## Data scope to confirm

Confirm what you would like Drivetrain to pull:

* **Cost metric(s):** unblended, blended, amortized, net amortized, or net unblended cost (and usage quantity, if needed)
* **Granularity:** daily or monthly
* **Group-by dimensions:** e.g. service, linked account, region, usage type, instance type
* **History:** how far back to backfill (e.g. last 12 or 24 months)


# Integrating with Azure SQL Server

Connect Azure SQL Server to Drivetrain and pull structured data into financial models. Covers authentication, firewall rules, and user permissions.

Drivetrain connects to your Azure SQL database directly using TLS, with a database user you create for Drivetrain. This guide covers the detailed steps for the integration process.

[Prerequisites](#prerequisites)

[Azure SQL Server Guide](#azure-sql-server-guide)\
[Authentication](#step-1-authentication)\
[Enable Access](#step-2-enable-access)\
[Create User](#step-3-create-user)\
[Grant User Permissions](#step-4-grant-user-permissions)\
[Connect in Drivetrain](#step-5-connect-in-drivetrain)

[What syncs](#what-syncs)

## Prerequisites

To connect Azure SQL Server to Drivetrain, you need:

* Admin access in Drivetrain
* SQL Server version 2012 or above
* An Azure account with a DB Owner, SQL Server Contributor, or SQL Security Manager role
* ALTER ANY USER permissions in your database server
* Your server name, for example `yourserver.database.windows.net`. Use the name, not an IP address: Drivetrain checks that the server's TLS certificate matches the name you enter.
* Your database's port (usually `1433`)

{% hint style="info" %}
**IMPORTANT**: We do not support single-user mode.
{% endhint %}

## Azure SQL Server Guide <a href="#azure-sql-server-guide" id="azure-sql-server-guide"></a>

### Step 1: Authentication <a href="#step-1-authentication" id="step-1-authentication"></a>

Drivetrain authenticates with a SQL username and password. You'll create this user in Step 3.

If your database only accepts Microsoft Entra ID sign-in, Drivetrain can connect with an Entra ID service principal (client ID, client secret and tenant ID) instead. Ask your customer success manager to set this up.

### Step 2: Enable Access <a href="#step-2-enable-access" id="step-2-enable-access"></a>

1. Log in to the [Azure console](https://azure.microsoft.com/en-us/features/azure-portal/).
2. On the Azure main page, select **SQL databases.**
3. Click on the SQL database that you want to connect to Drivetrain.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4f44c86d5988d18c9287367bb42a6f969cbe3fdb%2FAzure-3.png?alt=media" alt=""><figcaption></figcaption></figure>

4. On the database overview page, find the server name and make a note of it in a secure document.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bb09d53abd022839f5db68dc6f3d48be7b307a3a%2FAzure-4.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Click **Set server firewall.** This opens the server's **Networking** page.
6. Set **Public network access** to **Selected networks**, then add a new firewall rule with a name as “**Drivetrain Integration**”. Allow Drivetrain's IP addresses, which your customer success manager can share with you. Click on **Save**

{% hint style="info" %}
Note: Drivetrain connects to Azure directly over TLS. Follow Azure's [TLS setup instructions](https://docs.microsoft.com/en-us/azure/azure-sql/database/connectivity-settings#minimal-tls-version) if you need to change your server's TLS settings.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-caf9d3eed12ab601dd1696ec9c7066c86e8020fb%2FAzure-5.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Create User <a href="#step-3-create-user" id="step-3-create-user"></a>

Create a database user for Drivetrain's exclusive use.

1. Open a connection to your Azure SQL database.
2. Add a [container database user](https://docs.microsoft.com/en-us/sql/relational-databases/security/contained-database-users-making-your-database-portable) for Drivetrain by running the following command. Replace <`database`> with the name of your database, <`username`> with the username of your choice, and <`password`> with a password of your choice:

```
USE [<database>];
CREATE USER <username> WITH PASSWORD = '<password>';
```

{% hint style="info" %}
Note the username and password in the same secure document.
{% endhint %}

### Step 4: Grant User Permissions <a href="#step-4-grant-user-permissions" id="step-4-grant-user-permissions"></a>

1. Once you have created user for Drivetrain, grant it SELECT permissions for the database, schemas, tables or specific columns you want to sync. Below are sample snippets for every type of access:

   ```
   /*For granting access to everything in database*/

   GRANT SELECT on DATABASE::[<database>] to [<username>];

   /*For granting access to all tables in particular schema*/

   GRANT SELECT on SCHEMA::[<schema>] to [<username>];

   /*For granting access to a specific table*/

   GRANT SELECT ON [<schema>].[<table>] TO [<username>];

   /*For granting access to specific columns on a table*/

   GRANT SELECT ON [<schema>].[<table>] ([<column 1>], [<column 2>], ...) TO [<username>];

   /*For granting access to all columns but a set of specific columnns*/

   GRANT SELECT ON [<schema>].[<table>] TO <username>;
   DENY SELECT ON [<schema>].[<table>] ([<column X>], [<column Y>], ...) TO [<username>];

   /*For granting a managed database-level role*/
   ALTER ROLE <role-name> add member [<username>];
   ```
2. To sync views, grant `SELECT` on them the same way. Drivetrain lists both tables and views.

### Step 5: Connect in Drivetrain

{% hint style="info" %}
That’s it. Now connect the database in Drivetrain:

1. Go to **Data** in the left navigation, click the **+** button and select **Microsoft Azure SQL Database**.
2. Click **Request access**, enter the **Host** (your server name, for example `yourserver.database.windows.net`), **Port**, **Database**, and the **Username** and **Password** of the user you created in Step 3, and click **Submit credentials**. Drivetrain then completes the connection for you. If a connection form opens straight away instead, enter the same details and click **Submit**.
3. Once the connection is set up, open it and click **Add data** to choose the tables to sync. No data syncs until you select tables.
   {% endhint %}

## What syncs

Each sync reads the selected tables and views in full and replaces the copy in Drivetrain. You don't need to turn on change tracking. For large tables, Drivetrain can instead re-read only recent rows, based on a date column. Ask your customer success manager.

To change the password later, contact Drivetrain support.


# Integrating with BigQuery

Bring BigQuery datasets into Drivetrain to power financial models with warehouse-scale data. Covers service account, IAM roles, project ID, and connection.

[Prerequisites](#prerequisites)

[BigQuery Setup](#bigquery-setup)\
[Add an external user in BigQuery](#add-an-external-user-in-bigquery)

## Prerequisites

To connect BigQuery to Drivetrain, you need:

* An active BigQuery account
* Sharing privileges on BigQuery
* Admin privileges in Drivetrain

## BigQuery Setup <a href="#bigquery-setup" id="bigquery-setup"></a>

Drivetrain supports integration with BigQuery from a read-only external user account. To get started you would need to share the read-only access with <drivetrain@integrations-417606.iam.gserviceaccount.com> service account.

### Add an external user in BigQuery <a href="#add-an-external-user-in-bigquery" id="add-an-external-user-in-bigquery"></a>

To grant an access to external user, (someone who is not listed as an employee in the company), follow these steps:

1. In the Explorer, select the **Dataset** to share. To share single tables instead, open the table and click **Share** > **Manage permissions**.
2. Click **Sharing** > **Permissions**, then **Add principal**.
3. Add <drivetrain@integrations-417606.iam.gserviceaccount.com> as principal.
4. Assign role - Set as **BigQuery Data Viewer**.
5. Select the above role & click **Save**

<div align="left"><figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d0e1e316296d44fcb1eda17396f9749ff44fd7e9%2Fimage%20(13).png?alt=media" alt=""><figcaption></figcaption></figure></div>

Drivetrain lists tables only. Views, materialized views and external tables don't appear, so save their results as a table to share them.

{% hint style="info" %}
That’s it. Now connect BigQuery in Drivetrain:

1. Go to **Data** in the left navigation, click the **+** button and select **Google BigQuery**.
2. Enter the details below in the form and click Submit.
3. Once the connection is set up, open it and click **Add data** to choose the tables to sync.
   {% endhint %}

Each sync copies the selected tables in full and replaces the copy in Drivetrain.


# Integrating with ClickHouse

Connect ClickHouse to Drivetrain and ingest analytics data into financial models. Covers host, port, and credentials, plus tips for syncing large tables.

Connect a ClickHouse database and sync its tables and views into Drivetrain

## Overview

Drivetrain connects to ClickHouse over its HTTPS interface. One ClickHouse connector covers one database, once you connect it, you choose which tables and views inside that database to sync. You don't create a separate connector for each table.

## Connection details

Provide these values when you add the connector:

| Field    | Description                                                        |
| -------- | ------------------------------------------------------------------ |
| Hostname | Your ClickHouse host, e.g. `abc123.us-east-1.aws.clickhouse.cloud` |
| Port     | The HTTPS interface port, `8443` on ClickHouse Cloud               |
| Username | A read-only user (see Permissions below)                           |
| Password | Password for that user                                             |
| Database | The database whose tables you want to sync, e.g. `analytics`       |

Drivetrain connects over HTTPS only and checks the server's certificate. A self-hosted server needs its HTTPS interface open, with a certificate from a public certificate authority. If your firewall only allows known IP addresses, allow Drivetrain's IP addresses. Your customer success manager can share them.

## Selecting tables and views

Once connected, open the connection and click **Add data**. Drivetrain lists every table and view in the database. Select as many as you need, each one syncs into its own table in Drivetrain, and you can add or remove objects later without recreating the connector.

Because the database is already set on the connection, names appear unqualified (`orders`, not `analytics.orders`). There's nowhere in setup to type a table name or a SQL query, you select from the list.

### Syncing more than one database

Table listing is scoped to the database in the connection. To sync tables from a second database, add a second ClickHouse connector with that database name. The host, port, and credentials can stay the same.

Each sync reads the selected tables and views in full and replaces the copy in Drivetrain.

## Permissions

The user needs:

* `SELECT` on each table or view you sync.
* Read access to the underlying tables of any view you sync.

**Tip:** Use a dedicated read-only user scoped to just the objects you want to share.

## Using views to shape what you share

Selecting a raw table works, Drivetrain reads its full contents. Views are optional, and they give you tighter control over what leaves your warehouse and over sync volume. A view lets you:

* Expose only the columns Drivetrain needs, instead of a whole wide table.
* Pre-aggregate or pre-filter, for example, restrict to the last 24 months.
* Encapsulate joins so Drivetrain reads one object instead of several.

Create the view in the database you connected and grant your Drivetrain user `SELECT` on it. It appears in the list alongside regular tables, and you select it the same way, no different connector, credentials, or setup steps.


# Integrating with Databricks

Connect Databricks to Drivetrain and stream lakehouse data into financial models. Covers personal access token, cluster HTTP path, and SQL warehouse setup.

[Prerequisites](#prerequisites)

[Databricks Guide](#databricks-guide)\
[Create Personal Access Token](#step-1-create-personal-access-token)\
[Create and Connect a new SQL Warehouse](#step-2-create-and-connect-a-new-sql-warehouse)\
[Connect an existing SQL warehouse](#step-3-connect-an-existing-sql-warehouse)\
[Grant access](#step-4-grant-access)

## Prerequisites

To connect Databricks to Drivetrain, you need:

1. An active Databricks admin account, in a workspace that uses Unity Catalog. Drivetrain lists your tables through Unity Catalog.
2. At least one [SQL warehouse](https://docs.databricks.com/en/compute/sql-warehouse/index.html). Drivetrain runs its queries on a SQL warehouse, so an all-purpose compute cluster can't be used.
3. Admin access in Drivetrain.

## Databricks Guide <a href="#databricks-guide" id="databricks-guide"></a>

### Step 1: Create Personal Access Token <a href="#step-1-create-personal-access-token" id="step-1-create-personal-access-token"></a>

1. Drivetrain uses a secure token to connect to Databricks. You can read more about the Databricks token management guide [here](https://docs.databricks.com/en/dev-tools/auth/pat.html). If Drivetrain asks how you'd like to connect to Databricks, you can instead choose **OAuth (M2M)** and connect with a service principal: create one, generate an OAuth secret (client ID and client secret) for it, and grant it the access in Step 4.
2. In your Databricks workspace, click your Databricks username in the top bar, and then select **Settings** from the drop down.
3. Click **Developer**.
4. Next to **Access tokens**, click **Manage**.
5. Click **Generate new token**.
6. Enter a name that helps you identify this token later, and set its lifetime in days. If asked for a scope type, choose **Other APIs** and include the `sql` and `unity-catalog` scopes: Drivetrain runs SQL statements and reads Unity Catalog. Syncs fail once the token expires, so pick a lifetime that fits.
7. Click **Generate**.
8. Copy the displayed token to a secure location, and then click **Done**.

### Step 2: Create and Connect a new SQL Warehouse <a href="#step-2-create-and-connect-a-new-sql-warehouse" id="step-2-create-and-connect-a-new-sql-warehouse"></a>

{% hint style="warning" %}
If there is already a Unity Catalog enabled SQL warehouse in your Databricks setup, please jump to step 3
{% endhint %}

1. In the Databricks console, go to **SQL** > **SQL warehouses** > **Create SQL warehouse**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-18a1a107d6d922ffb7806a09f0ec63fc2f7f8ffa%2FDB-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. In the New SQL warehouse window, enter a **Name** for your warehouse
3. Choose your **Cluster Size** and configure the other warehouse options
4. Click **Create**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-00ecbe695ae2fdf6d85faffa5d6f9e1a211373ff%2FDB-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

5. After creating the warehouse, Go to the **Connection details** tab

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4e11811b1da1eb1b82344dbc8a07ac181a90f46e%2FDB-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

6. Make a note of the **Server Hostname** and **HTTP Path** and keep them in the secured location along with the personal access token.

### Step 3: Connect an existing SQL warehouse <a href="#step-3-connect-an-existing-sql-warehouse" id="step-3-connect-an-existing-sql-warehouse"></a>

1. In the sidebar, under **SQL**, click **SQL Warehouses** and open your warehouse.
2. On the **Connection details** tab, make a note of the **Server Hostname** and **HTTP Path**.

### Step 4: Grant access <a href="#step-4-grant-access" id="step-4-grant-access"></a>

The user who owns the token (or the service principal) needs **CAN USE** on the SQL warehouse, and read access to the tables you want to sync:

```sql
GRANT USE CATALOG ON CATALOG <catalog> TO `<user or service principal>`;
GRANT USE SCHEMA ON SCHEMA <catalog>.<schema> TO `<user or service principal>`;
GRANT SELECT ON SCHEMA <catalog>.<schema> TO `<user or service principal>`;
```

Drivetrain only reads your tables. It doesn't need `MODIFY` or any write permission.

{% hint style="info" %}
That’s it. Now connect Databricks in Drivetrain:

1. Go to **Data** in the left navigation, click the **+** button and select **Databricks**.
2. Enter the details below in the form and click Submit.
3. If Drivetrain instead asks how you'd like to connect to Databricks, choose **Personal Access Token**, enter the same details and click **Submit**.
4. Once the connection is set up, open it and click **Add data** to choose the tables to sync.
   {% endhint %}

Each sync reads the selected tables in full and replaces the copy in Drivetrain.


# Integrating with Postgres

Connect PostgreSQL to Drivetrain and automate data ingestion into planning models. Covers host, port, and user credentials.

Drivetrain connects to PostgreSQL directly over an SSL connection, with a read-only database user you create.

## Before you start

* You need admin access in Drivetrain.
* Your server must accept SSL connections.
* If your firewall only allows known IP addresses, allow Drivetrain's IP addresses. Your customer success manager can share them.

## Step 1: Create a read-only user

Run this as a database admin. Replace `<database>`, `<schema>` and `<password>`, and repeat the schema lines for each schema you want to share:

```sql
CREATE USER drivetrain WITH PASSWORD '<password>';
GRANT CONNECT ON DATABASE <database> TO drivetrain;
GRANT USAGE ON SCHEMA <schema> TO drivetrain;
GRANT SELECT ON ALL TABLES IN SCHEMA <schema> TO drivetrain;
-- Optional: also cover tables created later (run as the role that creates them)
ALTER DEFAULT PRIVILEGES IN SCHEMA <schema> GRANT SELECT ON TABLES TO drivetrain;
```

## Step 2: Connect in Drivetrain <a href="#postgres-setup" id="postgres-setup"></a>

Go to **Data** in the left navigation, click the **+** button and select **PostgreSQL**. Fill in the form and click **Connect**:

1. **Hostname:** your server's host name, for example `your-db.company.com`.
2. **Username** and **Password:** the user from Step 1.
3. **Port:** usually `5432`.
4. **Database name:** the database that holds the tables you want to share.
5. **Schema name** and **Table names (comma separated):** the schema and tables you plan to sync.
6. **SSL Certificate:** a `.pem`, `.crt` or `.cert` file with the certificate authority (CA) certificate for your server, for example your cloud provider's CA bundle. **Connect** stays disabled until a file is attached.

## Step 3: Choose tables

Open the new connection and click **Add data**. The list shows the tables, views and materialized views in every schema of the database. Pick the ones to sync. Nothing syncs until you do.

The list can include tables the user can't read, and syncing those fails. Grant `SELECT` on everything you pick.

## What syncs

Each sync reads the selected tables in full and replaces the copy in Drivetrain. To change the password later, contact Drivetrain support.


# Integrating with Redshift

Connect Amazon Redshift to Drivetrain and pipe warehouse data into financial models. Covers cluster endpoint and credentials.

Drivetrain supports connecting to **Amazon Redshift** as a data source for financial planning and analysis (FP\&A). This guide explains how to configure and establish the connection.

[Prerequisites](#prerequisites)

[Required information](#required-information)

[Connecting via VPC peering](#connecting-via-vpc-peering)

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To connect Redshift to Drivetrain, you need:

1. An active **Amazon Redshift cluster** with access to the **database** you want to connect.
2. A **user account** with the appropriate read permissions on the required database and schema.
3. Network access: the cluster must be reachable from Drivetrain. Either make it publicly accessible and allow Drivetrain's IP addresses in its security group's inbound rules (your customer success manager can share them), or use [VPC peering](#connecting-via-vpc-peering).
4. Admin access in Drivetrain.

### Required information <a href="#required-information" id="required-information"></a>

When setting up the Redshift connector in Drivetrain, you need to provide the following details:

**Host**\
The endpoint of your Redshift cluster.\
Example: `redshift-cluster-1.abc123xyz.us-east-1.redshift.amazonaws.com`

**Port**\
The port number on which your Redshift cluster is running.\
Default: `5439`

**Database Name (dbname)**\
The name of the database within your Redshift cluster to connect to.\
Example: `fpna_db`

**User**\
The Redshift user with read-only or required privileges.\
Example: `drivetrain`

**Password**\
The password for the above user.

{% hint style="info" %}
Now connect Redshift in Drivetrain:

1. Go to **Data** in the left navigation, click the **+** button and select **AWS RedShift**.
2. Enter the details below in the form and click Submit.
3. Once the connection is set up, open it and click **Add data** to choose the tables to sync. The list covers every schema in the database, so you don't need to name a schema.
   {% endhint %}

### Connecting via VPC peering <a href="#connecting-via-vpc-peering" id="connecting-via-vpc-peering"></a>

If your Redshift cluster is hosted in a private subnet, you can connect it to Drivetrain using **AWS VPC Peering** instead of a public endpoint.

To set up VPC Peering, share the following details with your Drivetrain Customer Success Manager:

* **Account ID**
* **Region**
* **VPC ID (Accepter)**

Drivetrain initiates the peering request from its VPC. Once you accept the request in your AWS console and configure routing, the connection is established.

For detailed instructions on creating and accepting VPC peering connections, refer to the [AWS VPC Peering documentation](https://docs.aws.amazon.com/vpc/latest/peering/create-vpc-peering-connection.html).


# Integrating with S3

Connect an S3 bucket to Drivetrain and ingest object storage data into financial models. Covers IAM user, access keys, and bucket policy.

[Prerequisites](#prerequisites)

[Amazon S3 Setup](#amazon-s3-setup)\
[Integration Methods](#integration-methods)\
[Method 1: Using Access Key and Secret](#method-1-using-access-key-and-secret)\
[Step 1: Create an IAM policy](#step-1-create-an-iam-policy)\
[Step 2: Create User](#step-2-create-user)\
[Step 3: Generate the Access key and secret](#step-3-generate-the-access-key-and-secret)\
[Step 4: Integration details](#step-4-integration-details)\
[Method 2: Using the IAM role](#method-2-using-iam-role)\
[Step 1: Create an IAM policy](#step-1-create-an-iam-policy-1)\
[Step 2: Create an IAM role](#step-2-create-an-iam-role)\
[Step 3: Adding permissions to the S3 bucket](#step-3-adding-permissions-to-the-s3-bucket)\
[Step 4: Integration details](#step-4-integration-details-1)

## Prerequisites

To connect your Amazon S3 bucket to Drivetrain, you need:

* An S3 bucket containing CSV, Excel (`.xlsx`, `.xls`), JSON or Parquet files
* Admin access in Drivetrain
* For private or encrypted buckets, an AWS account with the ability to grant Drivetrain permission and to read from the bucket

## Amazon S3 Setup <a href="#amazon-s3-setup" id="amazon-s3-setup"></a>

We recommend disabling Access Control Lists (ACLs) on each S3 bucket so that the bucket contents are controlled by the bucket's access control settings and not the original file owner's settings. For more information about disabling ACLs for your bucket, see [Amazon S3 documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html).

## Integration Methods <a href="#integration-methods" id="integration-methods"></a>

Method 1: Using the Access key and Secret

* Bucket name
* Folder path
* Access key
* Access secret
* AWS Region

Method 2: Using Roles (More secure)

* Bucket name
* Folder path
* AWS Region
* Role ARN
* External ID (if you set one)

## Method 1: Using Access Key and Secret <a href="#method-1-using-access-key-and-secret" id="method-1-using-access-key-and-secret"></a>

### Step 1: Create an IAM Policy <a href="#step-1-create-an-iam-policy" id="step-1-create-an-iam-policy"></a>

{% hint style="info" %}
You must create an IAM policy for both the IAM Role and Access Key and Secret approaches.
{% endhint %}

{% hint style="info" %}
For encrypted buckets, follow [Amazon S3 bucket instructions](https://aws.amazon.com/premiumsupport/knowledge-center/s3-bucket-access-default-encryption/) to modify the AWS KMS key's policy to grant Drivetrain permissions to download files from your encrypted bucket
{% endhint %}

1. Open your [Amazon IAM console](https://console.aws.amazon.com/iam/home#home).
2. Go to **Policies**, then click **Create Policy**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-71c57236ee72dad0ec8a793389e1e0d26c7e5ab9%2FS3-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Go to the **JSON** tab

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8f783243ce5983e513f8f57faecf021c4621cd7f%2FS3-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

4. Copy the following policy and paste it into the visual editor. Replace `{your-bucket-name}` with the name of your S3 bucket. After that, click **Next: Tags**.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
        "Effect": "Allow",
        "Action": [
                "s3:GetBucketLocation",
                "s3:GetObject",
                "s3:ListBucket"

        ],
        "Resource": [
                "arn:aws:s3:::{your-bucket-name}/*",
                "arn:aws:s3:::{your-bucket-name}"
        ]
        }
    ]
}
```

5\. ***(Optional)*** If you use a customer-managed KMS key, add the following policy to the Action section of the IAM policy to provide read access to the encrypted files.

```
Action": [
         "kms:Decrypt",
         "kms:GenerateDataKey"
     ] 
```

6. In the Add tags step, you can optionally add custom tags that will be associated with your bucket. Click **Next: Review**.
7. In the Review policy step, specify the name of your policy, for example "Drivetrain-S3-Access", then click **Create policy.**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-acd6f94f48cd8ea37509db0109c704eb8f10742b%2FS3-3.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Create User <a href="#step-2-create-user" id="step-2-create-user"></a>

1. Open your [Amazon IAM console](https://console.aws.amazon.com/iam/home#home).
2. Go to **Users**, then click **Create user**.
3. Enter the user name, then click **Next**.
4. Select the **Attach policies directly** option, then choose the "Drivetrain-S3-Access" policy you created in Step 1.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-52a4f323f8cb57d87f2d7a309715cba942a8c318%2FS3-4.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Click **Next**, then click **Create User.**

### Step 3: Generate the access key and secret <a href="#step-3-generate-the-access-key-and-secret" id="step-3-generate-the-access-key-and-secret"></a>

1. In the **Users** tab, open the User you created.
2. Go to the **Security credentials** tab and navigate to the **Access keys** section.
3. Click the **Create access key**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-036f47e8c7b2a2124efdbd0859390a581146e617%2FS3-5.png?alt=media" alt=""><figcaption></figcaption></figure>

4. From the **Use Case** options, select the **Third-party service** option and then click **Next**.
5. Enter a **Description tag** value and then click the **Create access key**.
6. Copy the **Access key** and **Secret access key** values. You will need them to configure the integration.

### Step 4: Integration details <a href="#step-4-integration-details" id="step-4-integration-details"></a>

You need these details to connect:

1. Bucket name
2. Folder path
3. Access key
4. Access secret
5. AWS Region

{% hint style="info" %}
To connect in Drivetrain, go to **Data** in the left navigation, click the **+** button and select **Amazon S3**. Click **Request access** and enter each detail above. If the form has no field for a detail, click **Add field** and enter a **Field name** and **Value**. Click **Submit credentials**. Drivetrain then completes the connection for you. If a connection form opens instead, enter the same details there.
{% endhint %}

## Method 2: Using IAM Role <a href="#method-2-using-iam-role" id="method-2-using-iam-role"></a>

### Step 1: Create an IAM Policy <a href="#step-1-create-an-iam-policy-1" id="step-1-create-an-iam-policy-1"></a>

Follow the same steps as in [Step 1](#step-1-create-an-iam-policy) of Method 1.

### Step 2: Create an IAM Role <a href="#step-2-create-an-iam-role" id="step-2-create-an-iam-role"></a>

1. Go to Roles, then click **Create role.**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c7112079dbf2491b2bd2d892ed89d2a35de4033d%2FS3-6.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Select **AWS account** > **Another AWS account**, then enter Drivetrain’s AWS Account ID, `865992467666`, in the **Account ID** field. Optionally select **Require external ID** and enter an external ID of your choice.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-92f7747f27a816d37a305892a7b89477634c1112%2FS3-7.png?alt=media" alt=""><figcaption></figcaption></figure>

3. In the **Add permissions** step, select the "Drivetrain-S3-Access" policy you created, then click **Next.**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f092efafe9dfc6fe85ebecb3c57130314ccba36a%2FS3-8.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Enter the name Drivetrain-Integration check Trust policy settings and attached policy and click Create Role.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-09fe93e03739db6793f09b35f3b12f65ac7d3a5b%2FS3-9.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Adding permissions to the S3 bucket

This step is only needed if Drivetrain reads the bucket with its own role. If you share the Role ARN in Step 4, the policy from Step 1 on your role is enough. To assign permissions to your S3 bucket, follow the below steps:

1. Select the bucket to which you want to assign permissions.
2. Navigate to the **Permissions** tab.
3. Go to **Bucket Policy.**
4. Click **Edit**. Copy the below policy and paste it into the visual editor. Replace `{your-bucket-name}` with the name of your S3 bucket.

```
{    
	"Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::865992467666:role/Drivetrain-Integration"
            },
            "Action": [
                "s3:GetBucketLocation",
                "s3:GetObject",
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::{your-bucket-name}/*",
				"arn:aws:s3:::{your-bucket-name}"
            ]
        }
    ]
}
```

5. Click 'Save' to apply the changes.

### Step 4: Integration details

You need these details to connect:

1. Bucket name.
2. Folder path.
3. AWS Region
4. Role ARN of the role you created in Step 2, for example `arn:aws:iam::<your-account-id>:role/Drivetrain-Integration`
5. The external ID, if you set one

{% hint style="info" %}
To connect in Drivetrain, go to **Data** in the left navigation, click the **+** button and select **Amazon S3**. Click **Request access** and enter each detail above. If the form has no field for a detail, click **Add field** and enter a **Field name** and **Value**. Click **Submit credentials**. Drivetrain then completes the connection for you. If a connection form opens instead, enter the same details there.
{% endhint %}


# Integrating with Snowflake

Connect Snowflake to Drivetrain and pipe data warehouse tables into financial planning models. Covers sharing data through a Snowflake Direct Share.

[Prerequisites](#prerequisites)

[Snowflake setup](#snowflake-setup)\
[How to create a share with Drivetrain's account](#how-to-create-a-share-with-drivetrains-account)\
[List of supported Snowflake accounts for direct sharing](#list-of-supported-snowflake-accounts-for-direct-sharing)\
[Connect in Drivetrain](#connect-in-drivetrain)

## Prerequisites

To connect Snowflake to Drivetrain, you will need:

* Admin privileges in Snowflake (a role that can create shares, such as ACCOUNTADMIN)
* Admin access in Drivetrain

## Snowflake setup <a href="#snowflake-setup" id="snowflake-setup"></a>

**Drivetrain uses Snowflake's Direct Share approach to connect with customer accounts.**\
Direct Shares only work when both accounts are on the **same cloud provider and region**. To support this, we maintain Snowflake accounts across multiple regions and cloud platforms (see list below).

If your account’s provider or region isn’t listed, please reach out—we’ll be happy to set it up for you.

You can read more about Data Sharing via Direct Shares [here](https://docs.snowflake.com/en/user-guide/data-sharing-intro).

### How to create a share with Drivetrain's account

1. Log in to your [Snowflake](https://app.snowflake.com/) account.
2. In the left navigation menu, go to **Data sharing** > **External sharing** and open the **Shared by your account** tab.
3. Click **Share** and select **Create a Direct Share**.
4. In the **Share Data** dialog, select **+ Select Data** and then:
   1. Select the source database which you want to integrate.
   2. Select the target object or objects from the source database.
   3. Optionally, update the Secure Share Identifier created for your share.
   4. Optionally, enter a Description.
   5. In the remaining text box, enter an account locator. You can find the respective account for your cloud provider and region below. You can only add accounts within the same region to the share. If you don't find any account for your region, please reach out to us.
   6. Select **Create Share**.
5. Note the share name and your account identifier in the form `<ORGANIZATION_NAME>.<ACCOUNT_NAME>`. You need both to [connect in Drivetrain](#connect-in-drivetrain).

### List of supported Snowflake accounts for direct sharing

{% hint style="info" %}
***AWS Snowflake Accounts***<br>

#### **AWS US WEST**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_USWEST**

Locator ID: **VJB64118**

Cloud Provider: **AWS**

Region: **US West (Oregon)**

#### **AWS US EAST (Virginia)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_USEAST**

Locator ID: **YIB12816**

Cloud Provider: **AWS**

Region: **US EAST (Virginia)**

#### **AWS US EAST (Ohio)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_USEAST\_OHIO**

Locator ID: **QX73326**

Cloud Provider: **AWS**

Region: **US EAST (Ohio)**

#### **AWS CA CENTRAL (Canada)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AWS\_CACENTRAL**

Locator ID: **RN48023**

Cloud Provider: **AWS**

Region: **CA CENTRAL (Canada)**

#### **AWS EU CENTRAL (Frankfurt)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AWS\_EU\_CENTRAL\_1**

Locator ID: **FM31440**

Cloud Provider: **AWS**

Region: **EU CENTRAL 1 (Frankfurt)**

#### **AWS AP SOUTH EAST 2 (Sydney)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AWS\_APSOUTHEAST2**

Locator ID: **TA79713**

Cloud Provider: **AWS**

Region: **AP South East 2 (Sydney)**
{% endhint %}

{% hint style="info" %}
***GCP Snowflake Accounts***<br>

#### **GCP US CENTRAL (Iowa)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_USCENTRAL**

Locator ID: **AB40701**

Cloud Provider: **GCP**

Region: **US Central (Iowa)**

#### **GCP US EAST (North Virginia)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_GCP\_USEAST4**

Locator ID: **OH55314**

Cloud Provider: **GCP**

Region: **US EAST 4 (North Virginia)**
{% endhint %}

{% hint style="info" %}
***AZURE Snowflake Accounts***<br>

#### **AZURE US WEST (Washington)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AZ\_USWEST**

Locator ID: **RA27187**

Cloud Provider: **AZURE**

Region: **US West (Washington)**

#### **AZURE CA CENTRAL (Toronto)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AZURE\_CACENTRAL**

Locator ID: **QN47444**

Cloud Provider: **AZURE**

Region: **Canada Central (Toronto)**

#### **AZURE NORTH EUROPE**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AZURE\_NORTH\_EUROPE**

Locator ID: **LM67628**

Cloud Provider: **AZURE**

Region: **North Europe (Ireland)**

#### **AZURE UK SOUTH (London)**

Organization ID: **ICKQIFB**

Account ID: **DRIVETRAIN\_AZURE\_UKSOUTH**

Locator ID: **OC15986**

Cloud Provider: **AZURE**

Region: **UK South (London)**
{% endhint %}

### Important notes

{% hint style="info" %}
**Important:**

1. Please configure Row Level Security to provide access to relevant tables for Drivetrain. If you’re using a different region on AWS or are on another cloud platform, please share the details with the Drivetrain team.
2. If you encounter any issues while creating a share in Snowflake using the Account ID, please try using the Locator ID instead. If the issue persists, contact your Customer Success Manager or Data Integration Manager for assistance.
   {% endhint %}

### Connect in Drivetrain

1. Go to **Data** in the left navigation, click the **+** button and select **Snowflake**.
2. Fill in the fields and click **Submit**:
   * **Drivetrain Snowflake Account**: pick the region of the Drivetrain account you added to the share, for example **AWS AP South East 2 (Sydney)**.
   * **Share Name**: the name of the share.
   * **Customer Snowflake Account Identifier (\<ORGANIZATION\_ID>.\<ACCOUNT\_ID>)**: your account identifier, `<ORGANIZATION_NAME>.<ACCOUNT_NAME>`.
3. Open the new connection and click **Add data** to choose the tables and views to sync. Each sync reads them in full and replaces the copy in Drivetrain.

If you see `<share> Share with Owner Account <account> not found in Account <Drivetrain account>`, Drivetrain couldn't find that share in the Drivetrain account you picked. Check that you added that account to the share, and that the share name and account identifier match exactly.


# Integrating with Snowflake (Small Datasets)

Connect Snowflake to Drivetrain for smaller datasets. Covers the GCS storage integration, a warehouse and user, and password or key-pair access.

[Prerequisites](#prerequisites)

[Snowflake Setup](#snowflake-setup)

[Creating Storage Integration](#creating-storage-integration)\
[Step 1: Create storage integration with provider as GCS](#step-1-create-storage-integration-with-provider-as-gcs)

[Connecting via username & password](#connecting-via-username-and-password)\
[Step 1: Create a new warehouse/use an existing warehouse](#step-1-create-a-new-warehouse-use-an-existing-warehouse)\
[Step 2: Create a user & role](#step-2-create-a-user-and-role)\
[Step 3: Get Snowflake identifier details](#step-3-get-snowflake-identifier-details)\
[Step 4: Add permissions to tables](#step-4-add-permissions-to-tables)\
[Step 5: Provide access to warehouse](#step-5-provide-access-to-warehouse)

[Connecting via key-pair](#connecting-via-key-pair)\
[Step 1: Generate a private key](#step-1-generate-a-private-key)\
[Step 2: Generate a public key](#step-2-generate-a-public-key)\
[Step 3: Assign the public key to a Snowflake user](#step-3-assign-the-public-key-to-a-snowflake-user)

[Drivetrain Setup](#drivetrain-setup)\
[Step 1: Connect to Snowflake](#step-1-connect-to-snowflake)\
[Step 2: Import data from Snowflake](#step-2-import-data-from-snowflake)

## Prerequisites

To connect Snowflake to Drivetrain, you will need:

* Admin privileges in Snowflake
* Owners of a user, or users with the SECURITYADMIN role or higher in Snowflake to be able to alter a user (if connecting via key-pair) . For more information, see [Overview of Access Control](https://docs.snowflake.com/en/user-guide/security-access-control-overview) and [GRANT OWNERSHIP](https://docs.snowflake.com/en/sql-reference/sql/grant-ownership).
* Admin permissions in Drivetrain.

## Snowflake Setup <a href="#snowflake-setup" id="snowflake-setup"></a>

{% hint style="info" %}
Drivetrain now connects to Snowflake through a Direct Share, so the storage integration, username and password, and key-pair steps below aren't needed. To set up the share, follow [How to create a Share with Drivetrain's Account](/integration-guide/readme/databases-and-warehouses/integrating-with-snowflake#how-to-create-a-share-with-drivetrains-account).
{% endhint %}

## *Creating Storage Integration*

### Step 1: Create storage integration with provider as GCS

1. Execute the below query command to create GCS integration.

```
CREATE STORAGE INTEGRATION gcs_int
TYPE = EXTERNAL_STAGE
STORAGE_PROVIDER = 'GCS'
ENABLED = TRUE
STORAGE_ALLOWED_LOCATIONS = ('gcs://dt-data-import/{Tenant_ID}/');
```

{% hint style="info" %}
**Note:** Get Tenant\_ID from your Customer Success Manager or Data Integrations Manage:
{% endhint %}

2. Execute the below query to retrieve the Service Account details, get the property\_value of "**STORAGE\_GCP\_SERVICE\_ACCOUNT**" property and store it in a secured document.

```
// Some code
DESC STORAGE INTEGRATION gcs_int;
```

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bd7cb33cca9dd7bf1e3eb7755a4ec84469f5375f%2FSnowflake-1.avif?alt=media)

## *Connecting via username & password*

### Step 1: Create a new warehouse/use an existing warehouse

1. Go to **Admin** → **Warehouses** in the left navigation section.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-51fd40f27b13b0461bfd6d518217ed2b33518c01%2FSnowflake-1.png?alt=media)

2. We recommend creating a new warehouse to run data transfer queries for Drivetrain. However, you can also choose an existing data warehouse. If Warehouse is not present already, follow the next step to create one

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-509b0145fe858f0251b62dbf7f019aad72bc9dce%2FSnowflake-2.avif?alt=media)

3. Click on the top right button to create a new warehouse. Choose the **Size** as per the amount of data you need to query. You can change this later if needed.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bbb88d6ebc1cb3bd0859b0587ca4d17251bbd367%2FSnowflake-3.avif?alt=media)

{% hint style="success" %}
Please make a note of the warehouse name. This detail will be needed while creating a user.
{% endhint %}

### Step 2: Create a user & role

1. We recommend creating a new user. However, you can also choose an existing user. If user is not already present, follow the next step to create one.
2. To create a user and role, go to **Admin → Users & Roles** in the left navigation section.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-54f642c321d8c92ea364eb3c81f1d80457e7ec16%2FSnowflake-5.png?alt=media)

3. Select the **Roles** tab and click on the **+ Role** button at the top right to create a custom role. This is an optional step and you can skip this if you already have a relevant role defined

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-09b5e7ec85560cf67af01638090cda0a3a4b5f1d%2FSnowflake-6.avif?alt=media)

4. Then click on the **+ User** button at the top right and fill in the details. Please choose the role that you created in the step above. Choose the warehouse that we had created or selected in the previous section as the Default Warehouse. You can also choose some Default Namespace if needed (this is optional).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-98aadbaaf932bb243999245b6744f06c9fe8375a%2FSnowflake-.avif?alt=media)

{% hint style="success" %}
If you check the checkbox against 'Force user to change password on first time login' then you must activate the user by logging into the new account and changing the password.
{% endhint %}

{% hint style="info" %}
At the end of this step, you will get the username / password and warehouse name that you will need for the connection.
{% endhint %}

### Step 3: Get Snowflake identifier details

1. To get this, click on the Account name next to the Snowflake icon at the bottom left menu. Mouse hover to the respective Snowflake Account.
2. Then click on the Copy icon. This will copy the Account Idetifier. This should be something like: ***ICKXXXX.ACCOUNT\_NAME***. Please note this as well.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-27487cfb1a7401dd43bb0fe78d48bd092f6d23f5%2FSnowflake-8.avif?alt=media)

### Step 4: Add permissions to tables

1. Please go to **Data → Databases** in the left navigation bar. Select the tables that you want to give permissions for.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8e85437e5f9c6fc5d83ed275fee388f133bd2f60%2FSnowflake-9.avif?alt=media)

2. Click on the **+ Privilege** icon and then select the role that you had created in the sections above. Choose the default privilege in the **Privileges** dropdown and click on **Grant Privileges.**

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-afe9273b53911f07a14ea8891f6b217842b1762a%2FSnowflake-10.avif?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-40a9d9ceda46e067acd65924bc503b7e73327bca%2FSnowflake-11.avif?alt=media)

### Step 5: Provide access to warehouse

1. Execute the below command to provide warehouse access to the role defined in Step 2.

```
GRANT USAGE ON WAREHOUSE EXAMPLE_WAREHOUSE TO ROLE EXAMPLE_ROLE;
```

EXAMPLE\_WAREHOUSE = name of the warehouse as per [Step 1](#step-1-create-a-new-warehouse-use-an-existing-warehouse).

EXAMPLE\_ROLE = name of the warehouse as per [Step 2](#step-2-create-a-user-and-role).

## *Connecting via key-pair* <a href="#connecting-via-key-pair" id="connecting-via-key-pair"></a>

### Step 1: Generate a private key

1. Open a terminal window on your system and type the below command line:

   `openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt`
2. The commands generate a private key in PEM format.

```
-----BEGIN PRIVATE KEY----- 
MIIBIj... 
-----END PRIVATE KEY-----
```

3. Make a note of this key and store securely. You will need to enter this key on Drivetrain when connecting Drivetrain to Snowflake.

### Step 2: Generate a public key

1. Open the same terminal window on which you ran the command to generate a private key and now run the below command line:

   `openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub`
2. The commands generate a private key in PEM format.

   ```
   -----BEGIN PRIVATE KEY----- 
   MIIE6T... 
   -----END PRIVATE KEY-----
   ```
3. Make a note of this key and store securely.

### Step 3: Assign the public key to a Snowflake user

1. Execute an [ALTER USER](https://docs.snowflake.com/en/sql-reference/sql/alter-user) command to assign the public key to a Snowflake user.

   `ALTER USER example_user SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...';`

example\_user = username of the account you want to connect to Drivetrain.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ccb280de2d9f85c24e51a0c6a8c9211b47e4f124%2FSnowflake-12.avif?alt=media)

{% hint style="info" %}
While copying the public key ensure to:

* exclude the public key delimiters in the SQL statement.
* remove all line breaks.
  {% endhint %}

## Drivetrain Setup <a href="#drivetrain-setup" id="drivetrain-setup"></a>

### Step 1: Connect to Snowflake

Drivetrain connects to Snowflake through a Direct Share. Create the share first by following [How to create a Share with Drivetrain's Account](/integration-guide/readme/databases-and-warehouses/integrating-with-snowflake#how-to-create-a-share-with-drivetrains-account).

1. In Drivetrain, go to **Data** in the left navigation, then click the **+** button.
2. Search for **Snowflake.**
3. Click **Snowflake**.
4. Fill in the fields and click **Submit**:
   * **Drivetrain Snowflake Account**: pick the Drivetrain account in your Snowflake cloud provider and region.
   * **Share Name**: the name of the share you created for Drivetrain.
   * **Customer Snowflake Account Identifier**: your Snowflake account identifier, in the form `<ORGANIZATION_ID>.<ACCOUNT_ID>`.
5. Go to **Data** again and you will see a new connection to Snowflake.

### Step 2: Import data from Snowflake

1. Navigate to the new Snowflake connection and click **Add data**.
2. You will see a list of all available tables. The tables follow the below nomenclature:

```
Schema_Name.Table_Name
```

3. Select the tables from which you want to get data into Drivetrain and move them to the right side of the window.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c7596e3a553a1ffe4523fcd74e1202f9e1e397bf%2FSnowflake-16.avif?alt=media)

4. Click **Add**. That's it! All your relevant data from Snowflake will now be available in Drivetrain for your use.


# Integrating with Google Cloud Storage

Connect Google Cloud Storage to Drivetrain and import object data into planning models. Covers service account setup and bucket permissions.

[Prerequisites](#prerequisites)

[Google Cloud Storage Setup](#google-cloud-storage-setup)\
[Step 1: Create a new bucket (optional)](#step-1-create-a-new-bucket-optional)\
[Step 2: Grant permissions to access the bucket](#step-2-grant-permissions-to-access-the-bucket)

## Prerequisites

To connect Google Cloud Storage to Drivetrain, you need:

* An active Google Cloud Storage account
* A Google Cloud Storage bucket and path of folder containing CSV or Excel (`.xlsx`) files. Each file loads as its own table, and each sheet of an Excel file as its own table.
* Admin access in Drivetrain

## Google Cloud Storage Setup <a href="#google-cloud-storage-setup" id="google-cloud-storage-setup"></a>

Drivetrain supports integration with Google Cloud Storage from a read-only external user account. To get started you would need to share the read-only access with <drivetrain@integrations-417606.iam.gserviceaccount.com> service account.

### Step 1 : Create a new bucket (optional) <a href="#step-1-create-a-new-bucket-optional" id="step-1-create-a-new-bucket-optional"></a>

{% hint style="info" %}
If you are granting read access to an existing bucket, proceed directly to Step 2.
{% endhint %}

1. Create a new bucket with name as "Drivetrain Bucket" with US multi region.
2. Create a new folder "Drivetrain Files" under this bucket and move all the CSV files you want to ingest into this folder.

### Step 2: Grant permissions to access the bucket <a href="#step-2-grant-permissions-to-access-the-bucket" id="step-2-grant-permissions-to-access-the-bucket"></a>

To grant an access to external user, (someone who is not listed as an employee in the company), follow these steps:

1. Log in to your Google Cloud account. Open Google Cloud Storage in the Cloud Console, then select the bucket containing the files you want to share.
2. Choose **Permissions** tab and click on **Grant Access**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-564252123578f61aacf81f6feedcd78b73061021%2FGC-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Add <drivetrain@integrations-417606.iam.gserviceaccount.com> service account to the New principals and assign below mentioned roles and click **Save**
   1. **Storage Legacy Bucket Reader**
   2. **Storage Legacy Object Reader**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1f2b818f08f0485e23f2e1732a7dc4a914499261%2FGC-2.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
That’s it. Now connect Google Cloud Storage in Drivetrain:

1. Go to **Data** in the left navigation, click the **+** button and select **Google Cloud Storage**.
2. Click **Request access** and enter the **Bucket Name** and the **Folder Path** where the files are stored. If the form has no field for a detail, click **Add field** and enter a **Field name** and **Value**. Click **Submit credentials**. Drivetrain then completes the connection for you. If a connection form opens instead, enter the same details there.
   {% endhint %}


# HRIS & ATS

Keep headcount accurate in Drivetrain by connecting your HRIS or ATS. Integration guides for Rippling, Workday, Greenhouse, Gusto, ADP, and 20+ more.

​Drivetrain lists **60+** HRIS & ATS tools in its connector catalog.

You can integrate the following tools directly by following the instructions provided below:

* [ADP Workforce Now](/integration-guide/readme/hris-and-ats/integrating-with-adp-workforce-now)
* [Ashby](/integration-guide/readme/hris-and-ats/integrating-with-ashby)
* [BambooHR](/integration-guide/readme/hris-and-ats/integrating-with-bamboohr)
* [Darwinbox](/integration-guide/readme/hris-and-ats/integrating-with-darwinbox)
* [Deel](/integration-guide/readme/hris-and-ats/integrating-with-deel)
* [Greenhouse](/integration-guide/readme/hris-and-ats/integrating-with-greenhouse)
* [Gusto](/integration-guide/readme/hris-and-ats/integrating-with-gusto)
* [HiBob](/integration-guide/readme/hris-and-ats/integrating-with-hibob)
* [HiBob (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-hibob-sftp)
* [Justworks](/integration-guide/readme/hris-and-ats/integrating-with-justworks)
* [Keka HR](/integration-guide/readme/hris-and-ats/integrating-with-keka-hr)
* [Lattice](/integration-guide/readme/hris-and-ats/integrating-with-lattice) (on request)
* [Lever](/integration-guide/readme/hris-and-ats/integrating-with-lever)
* [Namely](/integration-guide/readme/hris-and-ats/integrating-with-namely) (not available yet)
* [Paylocity](/integration-guide/readme/hris-and-ats/integrating-with-paylocity)
* [Paylocity (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-paylocity-sftp)
* [Paychex](/integration-guide/readme/hris-and-ats/integrating-with-paychex)
* [Paycom](/integration-guide/readme/hris-and-ats/integrating-with-paycom)
* [Paycor](/integration-guide/readme/hris-and-ats/integrating-with-paycor)
* [PeopleHR](/integration-guide/readme/hris-and-ats/integrating-with-peoplehr)
* [Personio](/integration-guide/readme/hris-and-ats/integrating-with-personio)
* [Rippling](/integration-guide/readme/hris-and-ats/integrating-with-rippling)
* [Rippling (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-rippling-sftp)
* [Sapling (now Kallidus)](/integration-guide/readme/hris-and-ats/integrating-with-sapling)
* [UKG Pro](/integration-guide/readme/hris-and-ats/integrating-with-ukg-pro)
* [UKG Ready](/integration-guide/readme/hris-and-ats/integrating-with-ukg-ready)
* [Workday (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-workday-sftp)
* [Zenefits (now TriNet)](/integration-guide/readme/hris-and-ats/integrating-with-zenefits) (on request)
* [Zoho People](/integration-guide/readme/hris-and-ats/integrating-with-zoho-people)

For other HRIS & ATS systems, contact your customer success manager to help you get them connected.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center">ADP</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-adp-workforce-now">Integrating with ADP Workforce Now</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c7b1502fea0dd69db17e7ce1f408dcb9cca74642%2FADS.avif?alt=media">adp-card.avif</a></td></tr><tr><td align="center">ADP Workforce Now (Canada)</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-adp-workforce-now">Integrating with ADP Workforce Now</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-85cc556d52f60446d180eac72b1526a42b9cdca7%2FADP%20Workforce.avif?alt=media">adp-workforce-now-canada-card.avif</a></td></tr><tr><td align="center">BambooHR</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-bamboohr">Integrating with BambooHR</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c2a7696c9058c7a6dbc23334e325c54e6b15065d%2FBambooHR.avif?alt=media">bamboohr-card.avif</a></td></tr><tr><td align="center">Darwinbox</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-darwinbox">Integrating with Darwinbox</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-54e0ef8501e24a8cc61da02fc1f53cede708fdf8%2FDarwinbox.avif?alt=media">darwinbox-card.avif</a></td></tr><tr><td align="center">Deel</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-deel">Integrating with Deel</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a81d761943b5b2d7be71302fe2367b43bf65ac94%2FDeel.avif?alt=media">deel-card.avif</a></td></tr><tr><td align="center">Greenhouse</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-greenhouse">Integrating with Greenhouse</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-06aa39798eeab71e3e18e5601eda5e1553c277da%2FGreenhouse.avif?alt=media">greenhouse-card.avif</a></td></tr><tr><td align="center">Gusto</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-gusto">Integrating with Gusto</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a32e853dc6ae0076ff5a24e494e7051fb9cb5c06%2FGusto.avif?alt=media">gusto-card.avif</a></td></tr><tr><td align="center">HiBob</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-hibob">Integrating with HiBob</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5d51b2886793693c8fae84c47de647c6c90a7af5%2FHibob.avif?alt=media">hibob-card.avif</a></td></tr><tr><td align="center">Justworks</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-justworks">Integrating with Justworks</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c9de51b7d59601c5221716ac20ff503e6bbc5cad%2FJustworks.avif?alt=media">justworks-card.avif</a></td></tr><tr><td align="center">Lever</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-lever">Integrating with Lever</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-eaef7d5ff13935fbf69c1bda7e08fcc250e1786b%2FLever.avif?alt=media">lever-card.avif</a></td></tr><tr><td align="center">Namely (not available yet)</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-namely">Integrating with Namely</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c02e553298673f273f6632e232c1a080a8191965%2FNamely.avif?alt=media">namely-card.avif</a></td></tr><tr><td align="center">Paylocity</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-paylocity">Integrating with Paylocity</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ad23d290f170dcd55004a09509120fb669e46b4d%2FPaylocity.avif?alt=media">paylocity-card.avif</a></td></tr><tr><td align="center">Personio</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-personio">Integrating with Personio</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-236818f3ab22239b53d4936419c5d6efe3e17f07%2FPersonio.avif?alt=media">personio-card.avif</a></td></tr><tr><td align="center">Rippling</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-rippling">Integrating with Rippling</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a6e67f0ddea5463a2fd07e51255c5442873a54d1%2FCard_Rippling.png?alt=media">rippling-card.png</a></td></tr><tr><td align="center">Sapling (now Kallidus)</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-sapling">Integrating with Sapling</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6db779de8844d72d4617a96a8ef698a2529ba988%2FSapling.avif?alt=media">sapling-card.avif</a></td></tr><tr><td align="center">UKG Pro</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-ukg-pro">Integrating with UKG Pro</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dc9c828e7dd237beaa5a7795b7fcde335604bb8a%2FUKG%20Pro.avif?alt=media">ukg-pro-card.avif</a></td></tr><tr><td align="center">Zenefits (on request)</td><td><a href="/integration-guide/readme/hris-and-ats/integrating-with-zenefits">Integrating with Zenefits</a></td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9a4ac087a6d848cea08a3a9c1b8295fd82014940%2FZenefits.avif?alt=media">zenefits-card.avif</a></td></tr></tbody></table>


# Integrating with ADP Workforce Now

Sync ADP Workforce Now data into Drivetrain to keep your headcount models current. Covers the custom employee report and scheduled SFTP export.

ADP Workforce Now sends Drivetrain a scheduled employee report as a CSV file over SFTP. You build the report in ADP, ADP's Automatic Export Service delivers it, and once you select the file in Drivetrain, it's picked up at each sync.

## Before you start <a href="#prerequisites" id="prerequisites"></a>

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **ADP:** an ADP Workforce Now admin who can create custom reports, and your company's **WFN Security Master** to sign ADP's Statement of Work (SOW).
* **Time and cost:** ADP charges for the Automatic Export Service and typically takes 3-4 weeks to set it up. Ask your ADP representative for pricing.

## Step 1: Create your employee report in ADP <a href="#step-1-create-your-employee-report" id="step-1-create-your-employee-report"></a>

1. In ADP, open **Reports & Analytics** and click **Set Up New** under Custom Reports.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7e9518e46d13e63cf9e6fc75812b61f16e1eadaf%2FADPW-1.webp?alt=media)

2. On **Set Up New Report**, set the Report Title to **employee-census**, then click **Select Fields**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-278a36c8954e23b9f90264df22e89fc4eba26f34%2FADPW-2.avif?alt=media)

3. Search for each field under **ADD FIELDS** and click **+** to add it. Include **Associate ID** so every employee has a unique ID. Commonly used fields:

|                                |                                            |
| ------------------------------ | ------------------------------------------ |
| Associate ID (recommended)     | Job Title                                  |
| Payroll First Name / Last Name | Business Unit                              |
| Preferred or Chosen Name       | Company Code                               |
| Position ID                    | Hire Date                                  |
| File Number                    | Termination Date                           |
| Status                         | Annual Salary                              |
| Work Email                     | Work address fields (City, State, Country) |

4. Click **Save + Run**, then **Run** to finalize the report.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9c4c1dbadcb82f731c081219d30b48d0c57392dd%2FADPW-3.webp?alt=media)

{% hint style="info" %}
If ADP adds a report-totals row to the bottom of the report, delete it. ![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ad862e8146a8438fbf28bac00a1cc42d9411baa2%2Fadp-workforce-now-04.png?alt=media)
{% endhint %}

## Step 2: Get your SFTP details from Drivetrain <a href="#adp-workforce-now-sftp-setup" id="adp-workforce-now-sftp-setup"></a>

You need these for ADP's SOW. ADP authenticates with an SSH key that ADP provides, so the Drivetrain side uses SSH-key access:

* **Host name:** `sftp1.drivetrain.ai`
* **Port:** `22`
* **Username** and **Directory** (destination path): specific to your company. Ask your customer success manager for them; you need them before ADP sends the SSH key.

## Step 3: Request recurring transfers from ADP (Automatic Export Service) <a href="#step-3-recurring-report-transfers-using-automatic-export-service" id="step-3-recurring-report-transfers-using-automatic-export-service"></a>

1. Ask your ADP representative to set up the Automatic Export Service for your **employee-census** report. ADP sends you a Statement of Work (example below).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-71da0b82342b72ab6cb4805ba502aac29decd3c4%2FADPW-4.png?alt=media)

2. Fill in the Client Supplied Information:
   1. **WFN Client ID:** the characters to the right of the @ in your ADP login name.
   2. **WFN Security Master:** the person set as Security Master in your ADP instance (usually your ADP admin).
   3. **Authentication Level:** SSH Key (ADP Provided).
   4. **Date Stamp Required:** No.
   5. **Required PGP Encryption:** No. Drivetrain reads the file as plain CSV; it is protected in transit by SFTP.
3. Fill in the destination fields with the values from Step 2: **Host Name/IP Address**, **Port**, **FTP Username** and **Directory**.
4. ADP typically replies in 3-4 weeks with the schedule and the **SSH key** for the connection. Send the key to your customer success manager, or add it yourself in Step 5.

## Step 4: Schedule the report (optional) <a href="#step-4-scheduling-the-report" id="step-4-scheduling-the-report"></a>

ADP may schedule the report for you. To schedule it yourself:

1. Go to **Reports & Analytics** and click **All Custom Reports**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a442e8afc52f9b37006cc542a74f0f7df484edb7%2FADPW-6.avif?alt=media)

2. Click the three dots next to the report and select **Schedule to Run**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7cf2c8ff2659c77f12fe63b6e9cf9a36c8a3828f%2FAPDW-7.webp?alt=media)

3. Set the schedule and click **Apply**. Run it daily, before your Drivetrain sync.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-21dcd89d1768fc7d09513b47f51d9af5df95f6fe%2FADPW-8.webp?alt=media)

## Step 5: Connect ADP in Drivetrain

If ADP already shows in your **Data** panel, your customer success manager has set up the connection: skip this step, because a second connection would read the same directory.

1. In Drivetrain, go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **ADP** tile.
3. What you see next depends on your account:
   * **The SFTP setup** (if asked **How would you like to connect to ADP?**, click **SFTP** first): under **Select authentication method**, choose **SSH Key**, select **Enter my own key**, and paste the SSH public key ADP sent you into **Paste your SSH Key here**. Click **View details**.
4. **SFTP directory details** shows the **Host name**, **Port**, **Destination path**, **Username** and your key (masked). Check they match what you gave ADP, then click **Done**. ADP now appears in your **Data** panel.

{% hint style="info" %}
Don't use **Via OAuth** unless your customer success manager asks you to.
{% endhint %}

## What data comes in

* After the first file arrives, choose which files to bring in: click **Add data** on the ADP data source and pick the files. Each choice becomes a dataset, and later deliveries with the same file name update it. If you don't see your files there, ask your customer success manager to select them. Keep the report name the same on every run.
* Drivetrain reads the directory at each sync (daily by default, or on a custom schedule if **Sync schedule** appears in the data source's menu). Files that arrive after a sync are picked up at the next one.

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>No data arrives after ADP confirms the schedule</summary>

Check that:

1. The files have been selected with **Add data** (or by your customer success manager).
2. The report is in .csv format and still has the name you gave ADP.
3. **Required PGP Encryption** is set to No on the SOW.
4. The SOW host, port, username and directory match the **SFTP directory details** exactly.
5. The report has run since ADP set up the transfer.

If all five are right, send your customer success manager the date of the last run.

</details>


# Integrating with Ashby

Integrate Ashby with Drivetrain to bring recruiting data into workforce models. Covers API key generation and the authorization steps to get connected.

You create a read-only Ashby API key, then connect Ashby from the **Ashby** tile on the Data page. Usually the tile opens a Merge window (Merge is the integration partner Drivetrain uses for Ashby), where you enter the key.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Ashby:** an Ashby admin (only admins can create and manage API keys).

## Step 1: Create an API key in Ashby

1. Sign in to Ashby, click **Admin** in the top navigation bar, then **Integrations** in the left sidebar.
2. Click **API Keys**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0b457a8b03a3b10fa47b346ca9ab2a52571cd139%2Fashby_api_step_01.png?alt=media)

3. Click **+ New** in the upper-right corner.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-89b5ad81b34983fdc659e5a2982a8dc7c4174aac%2Fashby_api_step_02.png?alt=media)

4. Name the key `Drivetrain Integration` and click **Create API Key**.
5. Grant these read permissions. Write permissions aren't needed; Drivetrain never writes to Ashby.

| Permission              | Access |
| ----------------------- | ------ |
| Jobs                    | Read   |
| Candidates              | Read   |
| Interviews              | Read   |
| Hiring Process Metadata | Read   |
| Organization            | Read   |
| Offers                  | Read   |

6. Click **Save and Continue**. Copy the API key and store it securely.

## Step 2: Connect Ashby in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media)

2. In the **Connect a data source** window, click the **Ashby** tile. What opens depends on how Ashby is set up for your account:
   * **A Merge window** (Merge is the integration partner Drivetrain uses for Ashby): follow the Merge steps below.
   * **A credentials form:** enter the API key and click **Submit**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3e8db888881854260221e79030e707fc5e095afb%2Fimage%20-%202026-07-01T162830.603.png?alt=media)

3. Once connected, Ashby appears in the **Data** panel and starts syncing.

### In the Merge window

1. If you see **Administrator role required**, click **I am an admin**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0f22e7e03bed5934abc320e8a217facf1ad22006%2Fimage%20-%202026-07-01T162833.341.png?alt=media)

2. Paste the Ashby API key and click **Next**. When the key is accepted, the window closes.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2f36fa2c8e4ea1f62a6c471b0d3c356648d0c986%2Fimage%20-%202026-07-01T162835.765.png?alt=media)

## What data comes in

Through Merge, Drivetrain adds the recruiting tables Merge makes available for your Ashby account, limited by the permissions you granted in Step 1. Through the credentials form, your customer success manager confirms which tables are added. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If you revoke the API key, contact your customer success manager. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with BambooHR

Connect BambooHR to Drivetrain for workforce and HR planning.

Drivetrain connects to BambooHR with a BambooHR API key and brings in employee data for workforce and headcount planning. The integration is read-only.

### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **BambooHR:**
  * Your BambooHR **subdomain**: in `yourcompany.bamboohr.com`, the subdomain is `yourcompany`.
  * A BambooHR user who can create API keys. The key can see only what this user can see, so use a user with access to all employees and to their job information, compensation and employment status (for example, a Full Admin).

### Step 1: Log in to BambooHR

1. In the BambooHR login page, enter your **BambooHR subdomain** (e.g., in `yourcompany.bamboohr.com`, the subdomain is `yourcompany`)
2. Click **Continue**
3. Enter your BambooHR credentials
4. Click **Log In**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-07ee98b6d2987d39a76f69cdb1dfc7aaf503e471%2FBambooHR%20Integration%20(6).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Generate an API key in BambooHR

1. Click your name or profile picture in the lower-left corner, then click **API Keys**
2. Click **Add New Key**
3. Name the key `Drivetrain Integration`
4. Click **Generate Key**
5. **Copy** the **API key** shown

{% hint style="warning" %}
You’ll only see this key once—make sure to **save it securely.**
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-58db21ecd4da1f6361f27017d954a4581c597207%2FBambooHR%20Integration%20(8).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Integrate in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **BambooHR** tile. What opens depends on how BambooHR is set up for your account:
   * **Set up a new BambooHR connection** form: in **Subdomain**, enter your subdomain (for example, `mycompany`); in **API Key**, paste the key from Step 2; click **Submit**.
3. Once connected, BambooHR appears in the **Data** panel and starts syncing.

With the form, Drivetrain doesn't check the subdomain or key when you click **Submit**: if either is wrong, the first sync fails (see Troubleshooting).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9ea960be9265629dfb143901d145d49032380de0%2FBambooHR%20Integration%20(4).gif?alt=media" alt=""><figcaption></figcaption></figure>

### What data comes in

* Two datasets: **Employee Roster** (current details for each employee) and **Employee History** (changes over time).
* Built from BambooHR employee fields, including custom fields, and the Job Information, Compensation and Employment Status tables. Past employees are included.
* Every sync reloads all of this data. Drivetrain syncs BambooHR with the rest of your data once a day (or on a custom schedule, if **Sync schedule** appears in the source's menu on the Data page). To sync now, click **Sync** in that menu.

### Reconnect or disconnect

* **New API key** (for example, the old key was deleted or its user lost access): open the BambooHR source's menu, click **Edit credentials**, enter the subdomain and the new key, and click **Submit**. If **Edit credentials** isn't in the menu, send the new key to your customer success manager.
* To stop syncing, click **Remove** in the source's menu. You can also delete the key in BambooHR.

### Troubleshooting

<details>

<summary>A sync fails with an authorization error (401 or 403)</summary>

BambooHR rejected the API key, or the subdomain is wrong. Check the subdomain, create a new key if needed, and use **Edit credentials**. BambooHR also blocks access for a while after repeated attempts with an unknown key, so wait before retrying.

</details>

<details>

<summary>A sync fails because BambooHR's rate limit was reached</summary>

BambooHR limits how many requests it accepts. The next scheduled sync retries automatically.

</details>

<details>

<summary>Some employees or fields are missing</summary>

The key sees only what its BambooHR user can see. Create the key from a user with access to all employees and the job information, compensation and employment status tables, then use **Edit credentials**.

</details>

For anything else, contact your Drivetrain onboarding partner with a screenshot or the exact error message.

### Need to Grant Temporary Access?

In **rare cases**—such as **data inconsistencies** or **bug investigations**—your Drivetrain team may request temporary access to your BambooHR account.

**View:** [Grant temporary access to BambooHR](/integration-guide/readme/hris-and-ats/integrating-with-bamboohr/grant-temporary-access-to-bamboohr)

This is not required for setup or general connection issues.


# Grant temporary access to BambooHR

Grant temporary BambooHR access to Drivetrain for troubleshooting.

In **rare cases**—such as **data inconsistencies** or **bug investigations**—your Drivetrain support or onboarding team may ask you to grant temporary access to your BambooHR account. This allows us to **troubleshoot directly** using a controlled, temporary user that you create.

{% hint style="warning" %}
Use this guide only if requested by Drivetrain support. Most customers will not need to follow these steps, and it is not required for initial setup or general connection issues.
{% endhint %}

### Overview

This guide walks you through how to:

1. Add a **temporary user account** for the Drivetrain team
2. Assign the **correct permissions**
3. **Revoke access** once troubleshooting is complete

Access is temporary and used only for diagnosis. You retain full control and visibility at all times.

### Step 1: Add a Temporary Admin User

1. In BambooHR, go to **Settings**
2. Select **Access Levels**
3. Click on **Full Admin**
4. Click **Add a New Non-Employee User**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-55f7b70e40eb485e360bf4ad6fa61fc0e961bb65%2FBambooHR%20Integration%20(9).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Fill in Temporary Admin User details

1. Use the following details:
   1. **First name:** Drivetrain
   2. **Last name:** AI
   3. **Email:** the address your CSM gives you (it looks like `dp-yourcompany@drivetrain.ai`)
   4. **Access Level:** Full Admin
2. Click **Save**. BambooHR emails the user an invitation to log in.

{% hint style="info" %}
**Full admin access** is required only for the duration of troubleshooting. No passwords need to be shared manually. BambooHR also makes every new Full Admin a billing contact.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d253f004a07daa71dfa55b1f1a611791358f037b%2FBambooHR%20Integration%20(10).gif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Notify the Drivetrain Team

Once the user has been created:

* **Notify** your Drivetrain CSM via email or Slack
* The **Drivetrain team** will log in and proceed with debugging

### Step 4: Remove Access After Troubleshooting

After the issue is resolved:

1. Go to **Settings > Access Levels > Full Admin**
2. **Hover** on the temporary Drivetrain user
3. Click **Manage Access**
4. Select **No Access**
5. Click **Update Access**

{% hint style="warning" %}
Temporary access is granted only for issue resolution. Access is handled via user provisioning—no credentials are shared manually. You can remove or deactivate the user at any time.
{% endhint %}


# Integrating with Darwinbox

Sync Darwinbox HR data with Drivetrain to power accurate headcount planning. Covers creating API keys in Darwinbox Studio or getting them from Darwinbox.

You create a Darwinbox API user and API keys, then enter them in Drivetrain. Darwinbox is usually set up as a premium integration: you submit the values from the Darwinbox tile and your customer success manager completes the connection.

[Prerequisites](#prerequisites)

[Case one: When you have access to the Darwinbox Studio module](#case-one-when-you-have-access-to-darwinbox-studio-module)\
[Step 1: Create a Studio user](#step-1-create-a-studio-user)\
[Step 2: Create an API key](#step-2-create-an-api-key)\
[Case two: When you don't have access to the Darwinbox Studio module](#case-two-when-you-dont-have-access-to-darwinbox-studio-module)\
[Connect Darwinbox in Drivetrain](#connect-darwinbox-in-drivetrain)

## Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **Darwinbox:** a super admin account. If you have the **Darwinbox Studio** module, you can create the API keys yourself (case one); otherwise your Darwinbox account manager creates them (case two).

You'll collect these values:

| Value                                     | What it is                                                                                                                       |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Subdomain                                 | Your Darwinbox address, e.g. `company.darwinbox.in`                                                                              |
| Username and Password                     | The API user created below; Drivetrain signs in with them on every call                                                          |
| Employee Data API key and its dataset key | For the [Employee Data](https://api-docs.darwinbox.com/#e3afba06-d4cf-479e-8605-26388b14eda3) API (`/masterapi/employee`)        |
| Employee CTC Data API key                 | For the [Employee CTC Data](https://api-docs.darwinbox.com/#981af6ff-0fac-42f2-bec4-78b8466260aa) API (`/payrollapi/ctcbreakup`) |

To also bring in former employees, create a second Employee Data key (with its dataset key) that returns inactive employees.

## Case one: When you have access to the Darwinbox Studio module <a href="#case-one-when-you-have-access-to-darwinbox-studio-module" id="case-one-when-you-have-access-to-darwinbox-studio-module"></a>

### Step 1: Create a Studio user

1. Log in to your Darwinbox account with the super admin role, and go to the **Modules** page.
2. Click **Darwinbox Studio**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8793e72646880ce008ddbcbcff99ee66ac8509d9%2Fdw-1.avif?alt=media)

3. Under the **Studio Users** tab, click **Add Studio User**.
4. Add the following user details on the next screen:
   1. Enter the username **Drivetrain Integration**.
   2. Select **External** as the type.
   3. Enter the email address shared by your Drivetrain customer success manager.
   4. Enter a unique user ID.
   5. Enter a strong password.

{% hint style="info" %}
Note the username and password: they are the **Username** and **Password** you enter in Drivetrain.
{% endhint %}

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cfcd3369d0dc5da3344209c01abf74c0d8e50d61%2Fdw-2.avif?alt=media)

### Step 2: Create an API key

1. Under the **Darwinbox API Keys** tab, click **Configure Darwinbox API**.
2. Add the following API details on the next screen:
   1. Enter **static key** as the key type.
   2. Enter an API configuration name, e.g. **Drivetrain Integration Employee Data**.
   3. Select the user created in the previous step.
   4. Select the module: **Core** for the Employee Data API, and **Compensation** for the Employee CTC Data API.
   5. Select the endpoint `/masterapi/employee` for employee data and `/payrollapi/ctcbreakup` for employee CTC data.
   6. Click **Create**.
3. Copy the API key, and for the Employee Data API also its dataset key.

{% hint style="info" %}
Create a separate API key for each API. If you need more Darwinbox data (for example employee history, leave or attendance), ask your customer success manager which extra keys to create.
{% endhint %}

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7633c5ec67c4bc6f2532e7317b1640120b6a02ab%2Fdw-3.avif?alt=media)

## Case two: When you don't have access to the Darwinbox Studio module <a href="#case-two-when-you-dont-have-access-to-darwinbox-studio-module" id="case-two-when-you-dont-have-access-to-darwinbox-studio-module"></a>

### Step 1: Contact your Darwinbox account manager <a href="#step-1-contact-your-darwinbox-account-manager" id="step-1-contact-your-darwinbox-account-manager"></a>

1. Ask your Darwinbox account manager to set up an integration with Drivetrain.
2. Ask them to create an API user named **Drivetrain Integration** and share its username and password.
3. Ask them to create API keys for the [Employee Data](https://api-docs.darwinbox.com/#e3afba06-d4cf-479e-8605-26388b14eda3) API (with its dataset key) and the [Employee CTC Data](https://api-docs.darwinbox.com/#981af6ff-0fac-42f2-bec4-78b8466260aa) API.

## Connect Darwinbox in Drivetrain <a href="#connect-darwinbox-in-drivetrain" id="connect-darwinbox-in-drivetrain"></a>

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **DarwinBox** tile.
3. If you see **DarwinBox is a premium integration** (the usual case), click **Request access**. In the form, enter **Subdomain**, **Username**, **Password**, **Employee API Key** and **CTC API Key** (if no fields are shown, click **Add field** and enter each one with its name). Then click **Add field** and add each dataset key with a name (e.g. `Employee dataset key`), plus any second key for inactive employees. Click **Submit credentials**. Your customer success manager completes the connection and lets you know.
4. If a **Set up a new DarwinBox connection** form opens instead, don't submit it yet: send the dataset key(s) to your customer success manager first and click **Submit** only after they confirm which value goes in each field.
5. Once connected, **DarwinBox** appears in the **Data** panel and starts syncing.

## What data comes in

The Darwinbox data your keys allow, such as active (and, if you created the second key, inactive) employees and CTC breakup, as tables on the **Data** page. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the API user's password or a key changes, contact your customer success manager to update the connection. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Deel

Sync Deel workforce data into Drivetrain for headcount planning. Covers creating an organization token and choosing the read scopes to share.

You create a read-only Deel organization token, then enter it in Drivetrain from the **Deel** tile on the Data page.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Deel:** a Deel admin, and API access enabled on your Deel account (your Deel account manager can confirm this).

## Step 1: Create an organization token in Deel

Deel's own guide: [API tokens](https://developer.deel.com/docs/api-tokens-1).

1. In Deel, open the **Developer Center** (under **More** > **Developer**).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-55531004a05206ee013e2f1459a4da252a0c9ad8%2FDeel-1.avif?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b0bea8e05fdf027016dd302581ff19c2506de0ea%2FDeel-2.avif?alt=media)

2. On the **Access Tokens** tab, click **Generate new token**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2101a946152e9867c9d133b0e1cb1159f2d60846%2FDeel-3.avif?alt=media)

3. Label the token `Drivetrain Integration` and choose **Organization token**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1b96d2f5939e7128e2a7d9ba5ae1b240292a6ac9%2FDeel-4.avif?alt=media)

4. Select all six of these scopes, read access only, so the token works however your Deel tile connects (Step 2): `people:read`, `users:read`, `organizations:read`, `contracts:read`, `time-off:read`, `accounting:read`.
5. If asked for the access level, choose **Organization-level** access so data comes in for all workers. Leave the sensitive-data options off (Merge requires this), then click **Generate**. If pay fields later arrive empty in Drivetrain, contact your customer success manager.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-91f7661a79ba53ebfe8905fdd6478b8a02ae9cdd%2FDeel-5.avif?alt=media)

6. Copy the token and store it securely. Deel shows it only once.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8bb7a688a101a4910b0dbe4d296459687675e623%2FDeel-6.avif?alt=media)

## Step 2: Connect Deel in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Deel** tile. What opens depends on how Deel is set up for your account:
   * **A credentials form:** enter the values above and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the token.
3. Once connected, Deel appears in the **Data** panel and starts syncing.

To bring in more than one Deel account, repeat these steps with a token from each account.

## What data comes in

Through the credentials form, Deel people data, prepared in Drivetrain as a Deel employee roster and an employee history dataset. Through Merge, the employee tables Merge makes available for your account. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If you revoke or regenerate the token, contact your customer success manager with the new token. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Greenhouse

Pull Greenhouse ATS data into Drivetrain to align hiring plans with financial models. Covers creating Harvest v3 (OAuth) client credentials and the read permissions to grant.

You create read-only Harvest API credentials in Greenhouse, then enter them in Drivetrain from the **Greenhouse** tile on the Data page.

{% hint style="warning" %}
Greenhouse is retiring Harvest API v1/v2 keys; after your organization's cutoff date they stop working. Create **Harvest v3 (OAuth)** credentials (a client ID and client secret), as below. See Greenhouse's [Create Harvest API credentials for an integration](https://support.greenhouse.io/hc/en-us/articles/5888163769883).
{% endhint %}

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Greenhouse:** a Core, Plus or Pro plan, and a user who can manage all organization API credentials (Basic access or above with that permission). Greenhouse recommends creating the credentials from an integration system user, not a personal account, so the connection doesn't break when that person leaves.

## Step 1: Create Harvest v3 credentials in Greenhouse

1. Click the **Configure** (gear) icon in the top navigation bar.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0a38c1678a0901dd9f057bbae97d1e2c7cf67110%2Fgh-1.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click **Dev Center** on the left.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b7f8af72b3310d45aa693a1910351f7ddf0bab1c%2Fgh-2.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Click **API Credential Management**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f76402f686c518b712697b218b4eb333178b17e9%2Fgh-3.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click **Create new API credentials**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fcf6d47f5fff997e81f4c6aae8f0db9b42f99cc4%2Fgh-4.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Set **API type** to **Harvest v3 (OAuth)**, **Partner** to **Custom**, and **Description** to `Drivetrain Integration`. Then click **View and store credentials** (or **Manage permissions**, whichever is shown).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8e43db1cee64858c71700edb4c063901565ae985%2Fgh-5.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Copy the client ID and client secret, store them securely, then click **I have stored the client credentials**. The client secret is shown only once. Use these credentials only for Drivetrain: Greenhouse allows one active access token per client ID, so another tool using the same credentials can make Drivetrain's sync fail.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-85d3de58e1b60d7b23a71677608dbaea349effae%2Fgh-6.png?alt=media" alt=""><figcaption></figcaption></figure>

7. Give the credentials read (list) access to these resources, then click **Save**. Drivetrain reads only these, and never writes to Greenhouse:
   * Applications, Candidates, Jobs, Job interview stages, Offers
   * Interviews (scheduled interviews) and Scorecards
   * Departments, Offices, Users
   * Rejection reasons

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fe41b8bf071447cc41469153117fcf8e4dd9be3e%2Fgh-7.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Grant all of these. If one is missing, the Greenhouse sync fails (through Merge, that data is just left out). To change access later: **Dev Center** > **API Credential Management**, find the Drivetrain credentials, click **Edit**, and update the permissions.
{% endhint %}

## Step 2: Connect Greenhouse in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Greenhouse** tile. What opens depends on how Greenhouse is set up for your account:
   * **A credentials form:** enter the values above and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): if it asks for your Greenhouse client ID and client secret, enter them. If it asks for a single Harvest **API key** instead, close the window and contact your customer success manager: the v3 credentials from Step 1 don't fit that screen, and Greenhouse no longer issues v1/v2 keys after your cutoff date.
3. Once connected, Greenhouse appears in the **Data** panel and starts syncing.

## What data comes in

Through the credentials form, Drivetrain adds these Greenhouse tables: Applications, Candidates, Departments, Jobs, Job Stages, Offers, Offices, Reject Reasons, Remote Users, Scheduled Interviews and Scorecards. Through Merge, it adds the recruiting tables Merge makes available for your account. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If you rotate the client secret or the credentials stop working, contact your customer success manager with the new credentials. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.

## Troubleshooting

<details>

<summary>Greenhouse sync fails with an authentication (401) error</summary>

The connection has no valid credentials, for example because it uses a retired Harvest v1/v2 API key. Create Harvest v3 credentials (Step 1) and send them to your customer success manager to update the connection.

</details>

<details>

<summary>Greenhouse sync fails with a permission (403) error, or some data is missing</summary>

The credentials lack read access to one of the resources in Step 1, item 7. Add it in Greenhouse; the next sync picks it up.

</details>


# Integrating with Gusto

Connect Gusto to Drivetrain to import payroll and headcount data into models. Covers authorization and required permissions.

You connect Gusto from the **Gusto** tile on the Data page. Usually the tile opens a Merge window (Merge is the integration partner Drivetrain uses for Gusto), where you sign in to Gusto.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Gusto:** a Gusto admin with **Full Access**, or at minimum a specific role with **Payroll**, **Finance & accounting**, **HR & Onboarding** and **Benefits** all checked. Accounts with the **Accountant** access level can't connect. See Merge's [Gusto guide](https://help.merge.dev/en/articles/5446121-gusto-basic-auth).

## Step 1 (optional): Add a dedicated Gusto admin

To keep the connection from depending on one person's login, add an admin user for the integration. Follow this short video, or the steps below.

{% embed url="<https://www.loom.com/share/ac95302128334291a09aa67b664f9c96?t=1>" %}

1. Log in to Gusto with an admin account.
2. Open Settings by clicking **My Profile** from the overflow menu in the top-right corner.
3. Click the **Permissions** tab, then **Gusto admins**.
4. Click **Add new admin** and enter the user's details. *(Your Drivetrain customer success manager can share an email address to use.)*
5. Under **Which roles will Drivetrain Integration need to help run your business?**, select **Full Access**.
6. Under **Summary**, click **Add admin**.

## Step 2: Connect Gusto in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a44e3497ab6a6976f4211b6f0276086b4c80930b%2FGusto-1.webp?alt=media)

2. In the **Connect a data source** window, click the **Gusto** tile. What opens depends on how Gusto is set up for your account:
   * **A Merge window** (Merge is the integration partner Drivetrain uses for Gusto): follow the Merge steps below.
   * **A credentials form:** fill in what it asks for, or contact your customer success manager if you're unsure which Gusto login to use.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b5dddedcfc38a0effb5a739b76fefe3463060f46%2FGusto-2.avif?alt=media)

3. Once connected, Gusto appears in the **Data** panel and starts syncing.

### In the Merge window

1. Click **Continue**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1290ef40f9ced6a46222fcde8c917325d90e7801%2FGusto-3.avif?alt=media)

2. Enter the Gusto admin's **User ID** and **Password**, and click **Submit**. (If Merge asks you to authorize Drivetrain in Gusto instead, sign in as the Gusto admin and approve access.)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f5c45fdb9a7572a6ff820056ad853879c42d4ea9%2FGusto-4.avif?alt=media)

3. Enter the Gusto two-factor code you received by email, authenticator app or phone.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5fa9bcefd7c3dd63a4621d555d814754d9aa6bf7%2FGusto-5.avif?alt=media)

4. Wait while the connection is set up, then click **Finish Setup**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-17d193c046d8dc43d49efd6ed6cbbcf1e95dfd05%2FGusto-6.avif?alt=media)

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fd2effc25f76e62a3c10254068d2b42837ce771f%2FGusto-7.avif?alt=media)

## What data comes in

Gusto employee data, prepared in Drivetrain as a Gusto employee roster and an employee history dataset. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the sync fails after the Gusto admin's password changes or the admin is removed, contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with HiBob

Connect HiBob to Drivetrain via API and sync employee records into planning models. Covers setup and recommended access permissions to configure.

Drivetrain connects to HiBob through the HiBob API with a service user. Prefer a file-based sync? See [Integrating with HiBob (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-hibob-sftp).

## Before you start <a href="#prerequisites" id="prerequisites"></a>

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **HiBob:** an admin who can create service users and permission groups.

## Step 1: Create a service user in HiBob <a href="#step-one-create-the-service-user-in-your-hibob-account" id="step-one-create-the-service-user-in-your-hibob-account"></a>

1. In HiBob, go to **System Settings**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c182676e546ff22a5efc06049d2463290815108d%2FHibob-1.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Go to **Integrations** and click **Manage Service Users**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-af7cbdbde9452ffce6cd34330b19ef47577ee05a%2Fhibob-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Click **Create Service User**, enter the display name **Drivetrain Integration** and click **Create**.
4. HiBob shows the **Service User ID** and **Token**. Copy both now: the token can only be copied when it is generated.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e54243c9e364314b61110a4bf1aeb40a3b3c1754%2Fhibob-3.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Give the service user read access <a href="#step-two-create-a-permission-group" id="step-two-create-a-permission-group"></a>

1. Create a permission group for service users, name it **Drivetrain Integration**, and add the **Drivetrain Integration** service user to it.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e1761142a6d9651bb848425eca88be06b9bdf430%2Fhibob-4.png?alt=media" alt=""><figcaption></figcaption></figure>

2. On the group's **People's data** tab, under **Whose data can members access?** (**Access data for** in newer HiBob versions), choose **Select people by condition** and include every lifecycle status you plan on, usually **Hired**, **Employed** and **Terminated**. Don't limit it to employed people only, or leavers and future hires won't sync.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aa4468de923d16299d36f5fa04863b9a16fa5baa%2Fhibob-5.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-13ceeac5d3beee98a9a7b7684863c3ba9fd7c647%2Fhibob-6.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Click **Edit permissions**, go to **People's data** > **People's fields**, and grant **View** on these categories, plus **View history** where shown. Drivetrain only reads; it never needs Edit.
   * **Basic info**
   * **Work** (and **View history**)
   * **Employment** (and **View history**)
   * **Lifecycle**
   * **Payroll** (and **View history**), if you want salary data
   * Any category that holds custom fields you want in Drivetrain (your customer success manager adds them to the sync)
4. Click **Save**.

{% hint style="info" %}
HiBob silently leaves out fields the service user can't view, so a missing column in Drivetrain usually means a missing **View** permission. If the connect window in Step 3 opens Merge screens instead of a Drivetrain form, follow [Merge's HiBob guide](https://help.merge.dev/en/articles/6361857-hibob-how-do-i-link-my-account) for the permissions it needs.
{% endhint %}

## Step 3: Connect HiBob in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b21065d51619b785e6371583716c0710415cd552%2Fimage%20-%202026-07-01T162828.161.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, search for **bob** (or open the **HRIS & ATS** category) and click the **HiBob** tile. What opens depends on how HiBob is set up for your account:
   * **How would you like to connect to HiBob?:** click **Via Service account login**, then continue with the credentials form below.
   * **A credentials form:** enter your **Service User ID** as the service account ID and your **Token** as the service account password, and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the Service User ID and Token.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bc00144782cb9a9cfb0abc6e0fafa3dc3589a84d%2Fimage%20-%202026-07-01T222511.025.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-804cd87df7b5b04958c713df6c3a252f405df777%2Fimage%20-%202026-07-01T222513.639.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Once connected, HiBob appears in the **Data** panel and starts syncing.

## What data comes in

Employees (plus any custom fields your customer success manager configures), and the work, employment and salary history tables. Every sync re-reads the full data. If you connected through Merge, the tables differ. Drivetrain syncs daily by default (or on a custom schedule, if **Sync schedule** appears in the data source's menu).

## Reconnect or update credentials

If you rotate the service user's token in HiBob, update it with **Edit credentials** on the data source. If that option isn't shown, ask your customer success manager how to update it.

## Troubleshooting

<details>

<summary>Sync fails with an authentication (401/403) error</summary>

The service user's token was rotated or revoked, or the service user lost its permission group. Check the service user in HiBob, then update the token (see above).

</details>

<details>

<summary>Columns or employees are missing</summary>

HiBob leaves out fields the service user can't view and employees outside **Access data for**. Add **View** on the missing category (and **View history** for history tables), and include Hired and Terminated people. The change shows after the next sync.

</details>

{% hint style="info" %}
If you have any questions or run into any issues during setup, please contact your customer success manager for assistance.
{% endhint %}


# Integrating with HiBob (SFTP)

Set up a HiBob–Drivetrain connection via SFTP. Covers SFTP credentials, file configuration, and how to schedule recurring workforce data transfers.

HiBob sends Drivetrain a scheduled report as a CSV file over SFTP. You get the SFTP details in Drivetrain, add them as an SFTP destination in HiBob, then schedule your report to it. To connect through the HiBob API instead, see [Integrating with HiBob](/integration-guide/readme/hris-and-ats/integrating-with-hibob).

## Before you start

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **HiBob:** an Account Admin (needed to add an SFTP destination), and a report in **Analytics > Reports** with the employee fields you want, including **Employee ID**.

## Step 1: Get your SFTP details in Drivetrain

1. In Drivetrain, go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **HiBob** tile.
3. If asked **How would you like to connect to HiBob?**, click **SFTP**.
4. Under **Select authentication method**, keep **Password** and click **View details**.
5. **SFTP directory details** shows the **Host name**, **Port**, **Destination path**, **Username** and **Password**. Copy them now: the password isn't shown again. Click **Done**. HiBob now appears in your **Data** panel.

## Step 2: Add Drivetrain as an SFTP destination in HiBob

1. In HiBob, go to **Settings > Integrations**, search for **SFTP**, and click **Connect** (or **Manage** if an SFTP destination already exists).
2. Click **Add SFTP destination**, enter a **Name** (for example, Drivetrain), and under identification select **Credentials** (password-based authentication).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcoC52dUbjiTYtJ7CNNla_mWRaqqDCIHnp1-n4IQVZ2pzUJ0T7aedNy32ccbv76UeySOvmM3u-WKbTtS_gmGpJT8R1f6Sggefx_EE15G5wEpLtq7ScPUqrucy6g51tunDnZM1ITsA?key=u3oaxTnGKnaJs-FIiH18vw" alt=""><figcaption></figcaption></figure>

3. Enter the values from Step 1: **Username**, **Password**, host and port (**Host name** and **Port**), and **Path** (the **Destination path**). Click **Save**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcRihOaFuramazRNo-1eXACfCOSZcWSb7Kq9-s84E-pZAuLyNxjsjwJI1YgMrudhnP4An909yBIefqiink0fbI8t93PJm9XdgVFLYPgHeUhLo8Ps0eFVIO58et-C2rq7W2N0TOS?key=u3oaxTnGKnaJs-FIiH18vw" alt=""><figcaption></figcaption></figure>

## Step 3: Schedule the report to Drivetrain

1. Go to **Analytics > Reports** and open the report you want to send.
2. Click the **More** dropdown at the top right and select **Schedule**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe7DBTtQph7FdegDzw7eFyRQExnLWXUrK4VOCHTPM4uyAP9pQradmh5iRR9VuzFIspwWe9Rty6XOaMJO2FOKM9DbWApYBf1mpMWN-w2958dvkhKzR3UE_Q8qiBJaoIdQ9jPIDCB?key=u3oaxTnGKnaJs-FIiH18vw" alt=""><figcaption></figcaption></figure>

3. Enter:
   * **Scheduling name:** any value
   * **SFTP:** the destination you added in Step 2
   * **Frequency Period and Timezone:** daily is typical; run it before your Drivetrain sync
   * **File Format:** csv
4. Save and run. HiBob now sends the report on that schedule.

## What data comes in

* After the first file arrives, choose which files to bring in: click **Add data** on the HiBob data source and pick the files. Each choice becomes a dataset, and later deliveries with the same file name update it. If you don't see your files there, ask your customer success manager to select them.
* Drivetrain reads the directory at each sync (daily by default, or on a custom schedule if **Sync schedule** appears in the data source's menu). Files that arrive after a sync are picked up at the next one.

## Troubleshooting

<details>

<summary>Files arrive but no data shows in Drivetrain</summary>

The files haven't been selected yet. Click **Add data** on the data source and choose them, or ask your customer success manager to select them. Then wait for the next sync, or run **Sync**.

</details>

<details>

<summary>HiBob can't connect to the destination</summary>

Check that the host, port, username, password and path match the **SFTP directory details** exactly, and that identification is set to **Credentials**. If you lost the password, ask your customer success manager.

</details>


# Integrating with Justworks

Link Justworks to Drivetrain to automate employee data syncs into your models. Covers setup, permissions, and understanding what workforce data transfers.

You connect Justworks from the **Justworks** tile on the Data page. Usually the tile opens a window from [Merge](https://merge.dev/), the integration partner Drivetrain uses for Justworks, where you sign in to Justworks and authorize access; on that path no API key or extra Justworks user is needed.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Justworks:** a Justworks admin login, on an active paid Justworks plan.

## Step 1: Open the Justworks connector in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Justworks** tile. What opens depends on how Justworks is set up for your account:
   * **A Merge window** (Merge is the integration partner Drivetrain uses for Justworks): continue with the steps below.
   * **A credentials form:** fill in what it asks for, or contact your customer success manager.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bb01ed17505287937079af512fd5ec015b516300%2FScreenshot%202025-11-24%20at%204.09.58%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

3. In the Merge window, confirm **I am an admin** and click **Next**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-77fe25d48fd1b4c9759bb8da614d77e5879a911e%2FScreenshot%202025-11-24%20at%204.04.40%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Review the list of items Drivetrain will have read access to and click **Next**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-58589dbf7f386fc892cdf85d5161f9cf221664af%2FScreenshot%202025-11-24%20at%204.06.04%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Click **Open window** to launch the Justworks login.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-21aa2660eb4dde43b7b13e6ba92ddd13211c705c%2FScreenshot%202025-11-24%20at%204.06.21%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Log in to Justworks

Sign in with your Justworks admin credentials.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4ba6351cc708fa7f308fd55b8cb0d7b1177c06f6%2FScreenshot%202025-11-24%20at%204.07.32%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Authorize the connection

1. Click **Next** on the first screen.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-649232378351653c009f133e01e18c2a15d79385%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. If a checkbox for access to **Sex** or **Date of Birth** appears, check it. It appears only when that level of access is requested.
3. Click **Authorize**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6b3a6a5caf28ad3a29303e532ea01ca767d9644f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Merge returns you to Drivetrain. Once connected, **Justworks** appears in the **Data** panel and starts syncing.

## What data comes in

Justworks employee data, prepared in Drivetrain as a Justworks employee roster. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the sync fails with a credentials error, contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Lattice

Lattice isn't available as a self-serve connector yet. How to request a Lattice connection from Drivetrain.

Drivetrain doesn't have a confirmed working Lattice connection yet, so Lattice data can't sync automatically today. Use the **Lattice** tile to request it.

## Request a Lattice connection

You must be a Drivetrain admin.

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Lattice** tile.
3. Under **Fields**, click **Add field** and enter a **Field name** and **Value**, for example `Lattice URL` and your company's Lattice address. The form doesn't submit without at least one field. Click **Submit credentials**.
4. If a different window opens instead, don't enter credentials; contact your customer success manager.

Your customer success manager follows up and tells you if any credentials are needed. Don't enter Lattice passwords or API keys in this form. If Lattice then shows in the **Data** panel as **Credentials submitted**, that's your request, not a working connection.


# Integrating with Lever

Bring Lever ATS data into Drivetrain to plan hiring alongside your financials. Covers API key generation and authorization steps.

You generate a read-only Lever API key, then enter it in Drivetrain from the **Lever** tile on the Data page.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Lever:** a Super Admin (Lever requires the "Manage API credentials" and "Manage integrations" permissions). Lever Basic includes only the Postings API, so the full sync needs a Lever plan with API access. See Lever's [Generating and using API credentials](https://help.lever.co/hc/en-us/articles/20087297592477).

## Step 1: Generate an API key in Lever

1. In Lever, open **Settings** (from your profile picture or the top-left menu) and go to **Integrations and API**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-996f5d3d03cd6fb37ca307d86748c0eb3b4da1bc%2FLever-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. On the **API Credentials** tab, under Lever API credentials, click **Generate New Key** and name it `Drivetrain Integration`.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ba03ac7fb666ff177395d5d14f8966c99110eb17%2FLever-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Under **Permissions**, choose the **Select all read** preset, then click **Done**. Drivetrain never writes to Lever.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-af01d7b8c39d5a6b3b22db5f968e6a84a9a47a74%2FLever-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

4. Copy the key and store it securely. Lever shows it only once.

## Step 2: Connect Lever in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Lever** tile. What opens depends on how Lever is set up for your account:
   * **A credentials form:** enter the values above and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the API key.
3. Once connected, Lever appears in the **Data** panel and starts syncing.

## What data comes in

Through the credentials form, Drivetrain reads Lever archive reasons, opportunities, postings, applications, attachments, forms, interviews, sources, requisitions and users. Through Merge, it adds the recruiting tables Merge makes available for your account. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If you revoke or regenerate the key, contact your customer success manager with the new key. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Namely

Namely isn't available as a connector yet. How to request it from Drivetrain.

Drivetrain doesn't have a working Namely connector yet, so Namely data can't sync automatically today. The **Namely** tile only records your request.

To ask for Namely, or for another way to bring Namely data in:

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Namely** tile.
3. In **Namely is a premium integration**, click **Request access**.
4. Under **Fields**, click **Add field** and enter a **Field name** and **Value**, for example `Namely URL` and your company's Namely address. The form doesn't submit without at least one field.
5. Click **Submit credentials**. Your customer success manager follows up. If Namely then shows in the **Data** panel as **Credentials submitted**, that's your request, not a working connection.

Don't enter Namely passwords or API keys in this form.


# Integrating with Paylocity

Connect Paylocity to Drivetrain via API and sync payroll data into planning models. Covers client ID, access permissions, and completing the integration.

Drivetrain connects to Paylocity through Paylocity's API, using a Client ID and Client Secret that Paylocity issues to your company. Prefer a file-based sync? See [Integrating with Paylocity (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-paylocity-sftp).

## Before you start

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **Paylocity:** your **Company ID**, and someone who can request API (Web Services) access from Paylocity.

## Step 1: Find your Company ID

Your Company ID is in the upper-left corner of your Paylocity portal.

## Step 2: Request a Client ID and Client Secret <a href="#step-2-getting-your-client-id-and-secret" id="step-2-getting-your-client-id-and-secret"></a>

1. Fill out the [Paylocity Web Services Access Request Form](https://docs.paylocity.com/Knowledge/Partner%20Integration/Paylocity%20Web%20Services_Access%20Request.pdf):
   * **Client Contact Information:** someone at your company (for example, from HR).
   * **Vendor / Third Party Contact Information:** Drivetrain.
   * **Briefly describe use case:** business reporting and planning in Drivetrain.
   * Ignore the **Webhook Push Notifications** section.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-433cf6caeec1ba6ac8dbfc8f45334bec962d6d27%2FPL-1.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Select only the permissions you need. **Get Employee** is required. Drivetrain brings in employee data only, so you need Pay Statements, Deductions & Earnings only if your customer success manager asks for them.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cbdc02e8eeb575af5a598c387aa7d767571beeb6%2FPL-2.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Email the completed form to <webservices@paylocity.com>, asking for a Client ID and Client Secret for API access. Paylocity replies with both.

## Step 3: Connect Paylocity in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Paylocity** tile. What opens depends on how Paylocity is set up for your account:
   * **How would you like to connect to Paylocity?:** click **Via OAuth**, then continue with the credentials form below.
   * **A credentials form:** enter your Company ID, Client ID and Client Secret and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the Company ID, Client ID and Client Secret.
3. Once connected, Paylocity appears in the **Data** panel and starts syncing.

{% hint style="info" %}
**Company ID:** if it starts with **CS**, enter only what follows (for example `932637`, not `CS932637`). Otherwise enter it exactly as shown; it is case-sensitive.
{% endhint %}

## What data comes in

Employee data only (the employee roster). Drivetrain syncs daily by default (or on a custom schedule, if **Sync schedule** appears in the data source's menu).

## Reconnect or update credentials

If Paylocity issues a new Client Secret, update it with **Edit credentials** on the data source. If that option isn't shown, ask your customer success manager how to update it.


# Integrating with Paylocity (SFTP)

Transfer Paylocity workforce data to Drivetrain over SFTP. Step-by-step setup for file exports, SFTP credentials, and automating your payroll data syncs.

Paylocity sends Drivetrain scheduled reports as files over SFTP. You get the SFTP details in Drivetrain, add Drivetrain as an integration in Paylocity's reporting settings, then schedule reports to it.

## Before you start

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **Paylocity:** access to **Report & Analytics** and **Reporting Settings**, and at least one report (for example a **Dynamic** report) you want to sync.
* **A key file:** Paylocity authenticates with an SSH private key in PuTTY (.ppk) format. Make the key pair with [PuTTYgen](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html), choosing **RSA** with 4096 bits: **Save private key** gives the .ppk file for Paylocity, and the text box **Public key for pasting into OpenSSH authorized\_keys file** is the public key for Drivetrain. If Paylocity rejects the .ppk file, save it again as PPK version 2 (in PuTTYgen, **Key > Parameters for saving key files**).

## Step 1: Get your SFTP details in Drivetrain

1. In Drivetrain, go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Paylocity** tile.
3. If asked **How would you like to connect to Paylocity?**, click **SFTP**.
4. Under **Select authentication method**, choose **SSH Key**, select **Enter my own key**, and paste your public key into **Paste your SSH Key here**.
5. Click **View details**. **SFTP directory details** shows the **Host name**, **Port**, **Destination path**, **Username** and your key (masked). Copy them, then click **Done**. Paylocity now appears in your **Data** panel.

## Step 2: Add Drivetrain as an integration in Paylocity

1. In Paylocity, go to **Report & Analytics** and click the **Reporting Settings** tab.
2. Click **Add Integration** and enter:
   1. **Name:** Drivetrain
   2. **Server/Host Name:** the **Host name** from Step 1 (`sftp1.drivetrain.ai`)
   3. **Directory:** the **Destination path** from Step 1
   4. **Port:** `22`
   5. **User Name:** the **Username** from Step 1
   6. **Authentication option:** Upload key file
   7. **Upload file:** your .ppk private key
3. Click **Run Now** to test the connection.

## Step 3: Create or select a report

You can send any Paylocity report, including **Saved Reports** or new **Dynamic Reports**. To create a Dynamic report:

1. Go to **Create Report → Dynamic**.
2. Select the dataset (for example, Employee Record Information, Employee Position History or Employee Status History).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-efb8a63c6d9ca689e26e8c92d1aa456b33d19673%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-4fdc5542f28e4977fff2b35ab45f9b5fe2751f34%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Choose the fields. Common ones: Employee ID, First name / Last name, Company code, Employment status, Hire date, Termination date, Department, Job title.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8e25abd29d04a61fbbbf98d541806c6cb5cf0a51%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

4. **Save** the report.

## Step 4: Schedule the report for delivery

1. Open the report.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2e299c5fc2d391dba194689a64dd0ea54d40ac39%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click the **⋮ (More Options)** menu and select **Schedule**.
3. Set **Frequency** (Daily), **Time** (early morning, before your Drivetrain sync), **Exclude Weekends** (optional) and **Time Zone**.
4. Under **What Reports Will Be Included**, make sure your report is selected.
5. Under **Delivery Options**, select **Deliver to integration: Drivetrain**. **Send Notification** is optional.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c45c7f93935df66847a772e2f45f9f1910b985b7%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Click **Save**. To test now, go to **Schedules** and click **Run Now** on the new schedule.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8acc85783026933e5f1838c3dfb0920ff38d814b%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

You can schedule more reports to the same Drivetrain integration without any extra setup.

## What data comes in

* After the first file arrives, choose which files to bring in: click **Add data** on the Paylocity data source and pick the files. Each choice becomes a dataset, and later deliveries with the same file name update it. If you don't see your files there, ask your customer success manager to select them. Drivetrain reads CSV (comma-separated) and Excel (.xlsx, .xls) files.
* Drivetrain reads the directory at each sync (daily by default, or on a custom schedule if **Sync schedule** appears in the data source's menu). Files that arrive after a sync are picked up at the next one.

## Troubleshooting

<details>

<summary>Files arrive but no data shows in Drivetrain</summary>

The files haven't been selected yet. Click **Add data** on the data source and choose them, or ask your customer success manager to select them. Then wait for the next sync, or run **Sync**.

</details>

<details>

<summary>Run Now fails in Paylocity</summary>

Check that the host, directory, port and user name match the **SFTP directory details** exactly, and that the uploaded .ppk file is the private half of the public key you pasted into Drivetrain.

</details>


# Integrating with Paychex

Sync Paychex payroll and workforce data into Drivetrain for accurate headcount models. Covers API key and client secret setup for one or more companies.

You connect Paychex with an **API Key** and **Client Secret** that you create in Paychex. In Drivetrain, the Paychex tile usually opens a window run by Merge, the integration partner Drivetrain uses for Paychex, where you enter them.

### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **Paychex:** admin permissions in your company's Paychex instance (or access shared with you by an admin).
* If you need payroll data, your Paychex account must include access to the Payroll and Check APIs.

### Step 1: Generate Your API Key and Client Secret

* Log in to **Paychex** and go to **Company Settings**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7c295f68cf9ee1c3177b32cecea344300b036ed0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Select **Integrated Apps**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-1a1b93bffe6627b76a0420d4878f95250d785f77%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **Create App**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-870ee61c107cd027153c0f2f3ea2659c84161a73%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Enter an **Application Name** and **Description**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d532649a2164f8aa9962a41be22b366ac14d7aec%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Select **Read only** for the **Company and worker APIs**
  * If you also need to sync payroll information, select **Read only** for the **Payroll and check APIs**

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-bfc6d13a4e75ac0f0e02e060888ca53417e3773e%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* If Payroll API toggles are missing, contact your Paychex account manager for access.
* Review and accept the **Legal Notice** and **Paychex API License Agreement**, then **Save**.
* After saving, Paychex will display your **API Key** and **Client Secret**.
* Copy both values; you enter them in Drivetrain in the next step.

### Step 2: Connect Paychex in Drivetrain <a href="#step-2-share-your-credentials-with-drivetrain" id="step-2-share-your-credentials-with-drivetrain"></a>

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Paychex** tile. What opens depends on how Paychex is set up for your account:
   * **A Merge window** (the usual case): follow its prompts and enter the **API Key** and **Client Secret** when asked.
   * **A credentials form:** enter the API Key and Client Secret and click **Submit**.
3. Once connected, **Paychex** appears in the **Data** panel and starts syncing.

### Notes and Special Cases

#### Requesting Payroll API Access

If your Paychex account does not show the **Payroll** or **Check** **API** toggles, ask your Paychex account manager to enable them, or ask your customer success manager: Drivetrain can request access from Paychex on your behalf.

### Linking Multiple Companies

To link multiple companies under a Paychex parent account:

1. Ensure you are a **Super Admin** or **Security Admin** in the parent account.
2. Create the app in the **parent** account using the steps outlined above.
3. Open the app from **Company Settings → Integrated Apps → {Your App Name}**.
4. Scroll to **Company Access** and select **Add or Remove Company**.
5. Select all companies that should use the same credential set and **Save**.
6. Switch into each child company using the company dropdown in the upper-left corner.
7. In each child account, open the app under **Integrated Apps**, toggle **Access** on, and **Save**.

Then connect with that one API Key and Client Secret as described in [Step 2](#step-2-share-your-credentials-with-drivetrain).

### What data comes in

Paychex HR data (for example employees, employments and companies) as tables on the **Data** page. Drivetrain doesn't build a ready-made Paychex employee roster from them. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

### Update credentials or disconnect

If the sync fails with a credentials error, contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Paycom

Connect Paycom to Drivetrain and sync payroll and employee data for headcount planning. Covers credentials and access scopes.

You connect Paycom with a Client ID and Client Secret that Paycom issues. In Drivetrain, the Paycom tile usually opens a window run by Merge, the integration partner Drivetrain uses for Paycom, where you enter them.

### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **Paycom:** an active Paycom account and access to your Paycom account manager. Paycom charges a fee to issue API credentials.

### Step 1: Request API credentials from Paycom

Ask your Paycom account manager for API credentials for a third-party integration. Paycom issues a **Client ID** and a **Client Secret**; you can't create them yourself.

### Step 2: Allowlist Merge's IP addresses in Paycom

Paycom only accepts API calls from approved IP addresses. If the Paycom tile opens a Merge window (the usual case), ask Paycom (or your Paycom admin) to allowlist Merge's addresses for your Drivetrain region:

* **US:** 44.194.126.11, 44.194.4.0, 3.232.227.174, 3.214.125.237, 54.158.121.71, 44.193.163.62
* **EU** (if your Drivetrain workspace is hosted in the EU): 13.53.228.73, 13.51.75.140

### Step 3: Connect Paycom in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Paycom** tile. What opens depends on how Paycom is set up for your account:
   * **A Merge window** (the usual case):
     1. Click **I am an admin**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b8bf4fe09227c6c3ce4009f4e39454b658df8631%2FScreenshot%202025-12-10%20at%202.18.09%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

```
 2. Check the permissions and click **Next**.
```

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-90888204d4fdc663185b1ba478d4772c0133c5e0%2FScreenshot%202025-12-10%20at%202.19.32%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

```
 3. Enter your **Client ID** as the **Username** and your **Client Secret** as the **Password**, then click **Next**.
```

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ae7804dc8977079ace44dbb99cc5b46a436373dd%2FScreenshot%202025-12-10%20at%202.20.11%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

* **A credentials form:** enter the Client ID and Client Secret and click **Submit**.

3. Once connected, **Paycom** appears in the **Data** panel and starts syncing.

### What data comes in

Paycom employee data, prepared in Drivetrain as an employee roster and an employee history. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

### Update credentials or disconnect

If the sync fails with a credentials error, or Paycom reissues your credentials, contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Paycor

Connect Paycor to Drivetrain from the Paycor tile: what you need in Paycor, the connection steps and what data comes in.

There are two ways to connect Paycor:

* **From the Paycor tile in Drivetrain (usual case).** You sign in to Paycor and approve access in a window run by Merge, the integration partner Drivetrain uses for some connectors. Follow [Connect from the Paycor tile](#connect-from-the-paycor-tile).
* **Direct connection with your own Paycor app.** Only if your customer success manager asks for it. Follow [Direct connection](#direct-connection-with-your-own-paycor-app).

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* **Drivetrain:** you must be a Drivetrain admin.
* **Paycor:** a Company Admin, HR Admin, or Payroll Admin role. Without it, the activation step fails with a 403 error.
* **Paycor Developer Portal:** an App Creator account at developers.paycor.com. Any Paycor client can get one; an HR, Payroll, or Company Admin must request it (Step 1 below). Paycor may charge for API access.

#### Step 1: Register for the Paycor Developer Portal <a href="#step-1-register-for-the-paycor-developer-portal" id="step-1-register-for-the-paycor-developer-portal"></a>

Do this for both ways of connecting.

1. Go to [developers.paycor.com/join-developer-portal](https://developers.paycor.com/join-developer-portal).
2. Under "Are you an existing Paycor client?" click **Get started**.
3. Sign in with your Paycor username and password.
4. Select the client(s) you want to be able to activate apps for.
5. Choose an administrator for the Developer Portal account (typically yourself) and click **Request Access**.
6. Sign out and sign back in. This step is required for your new permissions to take effect.

{% hint style="info" %}
If you don't see the Applications tab after signing back in, your access request is still pending. Wait a few minutes and refresh, or contact your internal Paycor administrator.
{% endhint %}

## Connect from the Paycor tile <a href="#connect-from-the-paycor-tile" id="connect-from-the-paycor-tile"></a>

1. In Paycor, click the ☰ menu and go to **Company > Departments**. Note the **Company ID** shown at the top left (a number such as 385423).
2. In Drivetrain, on the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
3. In the **Connect a data source** window, click the **Paycor** tile. What opens depends on how Paycor is set up for your account:
   * **A Merge window** (the usual case):
     1. Select **Paycor Production Account** (or **Paycor Sandbox** if that's where you sign in) and enter your **Company ID**.
     2. Click **Open window** and sign in to Paycor if asked.
     3. Review the requested access and click **Next**.
     4. Select **one** Paycor client (legal entity), accept the terms, and click **Integrate**. You return to the Merge window while the connection finishes.
   * **A credentials form:** your customer success manager tells you which values to enter; then click **Submit**.
4. Once connected, **Paycor** appears in the **Data** panel and starts syncing.

One connection covers one Paycor Company ID. To bring in more than one company, ask your customer success manager; don't add Paycor a second time yourself.

## Direct connection with your own Paycor app <a href="#direct-connection-with-your-own-paycor-app" id="direct-connection-with-your-own-paycor-app"></a>

Use this only if your customer success manager asks for it. You create an app in the Paycor Developer Portal, activate it for your legal entity, and share its credentials; the Drivetrain team completes the connection.

#### Step 2: Create a New Application <a href="#step-2-create-a-new-application" id="step-2-create-a-new-application"></a>

1. From the Developer Portal home screen, click **Applications**.
2. Click the **+ Application** button.
3. Enter an application name (for example, YourCompany – Drivetrain) and select **Standard Application** as the type.
4. Click **Create Application**.
5. Immediately copy the Client ID and Client Secret shown in the confirmation pop-up.
6. Click **Got it** to dismiss the dialog.

{% hint style="warning" %}
Save your Client Secret now. Paycor does not display it again after this dialog closes. If lost, it can be regenerated on the Security Connections tab, but the previous value stops working immediately.
{% endhint %}

#### Step 3: Configure Data Access (Scopes) <a href="#step-3-configure-data-access-scopes" id="step-3-configure-data-access-scopes"></a>

1. Open your application and click the **Data Access** tab.
2. Click **+ Scope** and give it a descriptive name, for example: `drivetrain-read`.
3. Select read-only permissions for the data below.
4. Click **Save**.
5. Switch to the **General** tab and copy the Scope name that now appears. You need it in Step 5.

| Data                                                                     | Permission | Used for                                                                      |
| ------------------------------------------------------------------------ | ---------- | ----------------------------------------------------------------------------- |
| Legal entity basic information (**View Legal Entity Basic Information**) | Read       | Company name and identifiers                                                  |
| Employees                                                                | Read       | Employee records: status, hire and termination dates, position, work location |
| Departments                                                              | Read       | Department structure                                                          |
| Pay rates                                                                | Read       | Current and historical pay rates                                              |

Drivetrain doesn't read taxes, deductions, direct deposits, time off or time punches, so you don't need to grant them.

#### Step 4: Configure Security Connections <a href="#step-4-configure-security-connections" id="step-4-configure-security-connections"></a>

1. Open the **Security Connections** tab on your application.
2. Copy the **APIm Subscription Key**. Save it alongside your Client ID and Client Secret.
3. In the **Approved Return OAuth URL** field, paste the redirect URI your customer success manager gives you, exactly as given.
4. Save your changes.

{% hint style="danger" %}
The redirect URI must be an exact match. A trailing slash, different casing, or http instead of https causes an invalid\_grant error.
{% endhint %}

#### Step 5: Activate the Application Against Your Production Tenant <a href="#step-5-activate-the-application-against-your-production-tenant" id="step-5-activate-the-application-against-your-production-tenant"></a>

Activation links your application to one Paycor legal entity. It requires a Company Admin, HR Admin, or Payroll Admin.

1. Go to [hcm.paycor.com/AppActivation/ClientActivation](https://hcm.paycor.com/AppActivation/ClientActivation).
2. Enter the Application OAuth Client ID (from Step 2) and the Application Scope name (from Step 3, General tab).
3. Click **Initiate**.
4. Review the access scopes shown. They should match Step 3.
5. Click **Next**.
6. Select the legal entity (client) you want to grant access to, then click **Integrate**.
7. Record the Legal Entity ID (the numeric identifier of the legal entity you selected).

{% hint style="warning" %}
If you see a 403 error, the signed-in user does not have the required administrator role. Have an authorized administrator complete this step.
{% endhint %}

Repeat activation for each legal entity you want to connect; each one becomes a separate connection.

#### Share the credentials <a href="#share-credentials-with-the-drivetrain-team" id="share-credentials-with-the-drivetrain-team"></a>

Send these values using the secure method your customer success manager provides. Don't share credentials over email, Slack, or any unencrypted channel.

| Credential            | Where to find it                                                       |
| --------------------- | ---------------------------------------------------------------------- |
| Client ID             | Application detail page, or the pop-up in Step 2                       |
| Client Secret         | Captured in Step 2; can be regenerated on the Security Connections tab |
| APIm Subscription Key | Security Connections tab (Step 4)                                      |
| Legal Entity ID       | Recorded in Step 5                                                     |

Your customer success manager tells you if anything else is needed to finish the connection.

## What data comes in

Paycor employee data, prepared in Drivetrain as an employee roster. A direct connection also builds an employee history. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the sync fails with a credentials error, contact your customer success manager to relink. For a direct connection, send a regenerated Client Secret to your customer success manager; if the app's activation is removed in Paycor, activate it again (Step 5). To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Personio

Sync Personio employee data into Drivetrain for headcount planning. Covers creating a custom integration and selecting the attributes to share.

You create a custom integration in Personio to get a client ID and client secret, then submit them in Drivetrain from the **Personio** tile on the Data page.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Personio:** a Personio admin who can create API credentials, on a Personio plan that includes API access.

## Step 1: Create API credentials in Personio

1. Log in to Personio and click **Settings** in the bottom left.
2. On the **Integrations** tile, click **API Credentials**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a8aacb434976560a72d96a81a7b3a1581d70b904%2FPS-1.png?alt=media)

3. Click **Create Custom Integration**.
4. Enter the name `Drivetrain Integration` and click **Next**.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6afd07486dc96d086ad40de37641a2f7ef8f5bab%2Fps-2.png?alt=media)

5. Under **Select the attributes you want to grant access rights for**, give read access to:

   * Employees
   * Attendances
   * Absences
   * Custom Reports
   * Org Units

   If Personio also lists **Persons** or **Employments**, give those read access too: Drivetrain reads each employee's employment records.
6. Under readable employee attributes, click select all, or select the fields you want to sync. Commonly used fields: Email, First name, Last name, Gender, Hire date, Office, Profile Picture, Termination date, Status, Supervisor, and (optional) Occupation type.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6817061702f773d6a294c374787b519f8de10e75%2Fps-3.png?alt=media)

7. Click **Create integration**. Copy the client ID and client secret and store them securely.

![](https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-f2a2d509bf0b17c1d7bcfa36f7b8f851cfab5566%2Fps-4.jpeg?alt=media)

{% hint style="info" %}
To change access rights later, create a new custom integration with the updated rights and send the new credentials to your customer success manager.
{% endhint %}

## Step 2: Connect Personio in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Personio** tile. What opens depends on how Personio is set up for your account:
   * **A credentials form:** enter the values above and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the client ID and client secret.
3. Once connected, Personio appears in the **Data** panel and starts syncing.

## What data comes in

Through the credentials form: Personio employees and their employment records, plus any Personio custom report your customer success manager sets up with you, prepared in Drivetrain as a Personio employee roster. Through Merge: the employee tables Merge makes available for your account. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the credentials stop working (the sync fails with a credentials error), create new ones in Personio and send them to your customer success manager. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with PeopleHR

Connect PeopleHR to Drivetrain using an API key. This guide covers scoping access to employee, salary, and absence data before syncing it into Drivetrain.

You connect PeopleHR with an API key. In Drivetrain, the PeopleHR tile usually opens a window run by Merge, the integration partner Drivetrain uses for PeopleHR, where you paste the key.

### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **PeopleHR:** an administrator in your company's PeopleHR account, or someone who has shared that access with you.

### PeopleHR Setup <a href="#peoplehr-setup" id="peoplehr-setup"></a>

#### Step 1: Create an API key

1. In your PeopleHR account, click **Access** in the top-left corner and select **HR Admin**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2478059f43c7039e78c6e580bb992f2042fbcd85%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Go to **Settings > API** and click the **+** icon to create a new key.
3. Enter a **Key Name** (for example, *Drivetrain*). Leave **IP Addresses** empty unless your customer success manager gives you addresses to allow: a restriction that blocks Drivetrain's integration partner makes the sync fail.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fffbaff0699521259f494293a0264362a3044f19%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Under **Application Access**, select **Employee** (needed for the employee roster) and, based on your use case, **Salary**, **Absence**, and **Holiday**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-028939380b001e778a0847caeeeac4a19d3976ca%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The **Salary** area controls access to compensation data. Include it only if your Drivetrain use case requires salary or pay information. To pull salary or employment **history**, also include the **History** area, as historical fields are only returned on the per-employee detail call.
{% endhint %}

5. Click **Save**.
6. Click the copy icon to copy the key, and store it securely.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-be8f7cb6bfa99ef99b96ce04e502c99821d563fa%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

### Drivetrain Setup

#### Step 1: Connect PeopleHR

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **PeopleHR** tile. What opens depends on how PeopleHR is set up for your account:
   * **A Merge window** (the usual case): follow its prompts and paste the **API key** when asked.
   * **A credentials form:** paste the API key and click **Submit**.
3. Once connected, **PeopleHR** appears in the **Data** panel and starts syncing.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d38febf93c4708f8e87928149a55b31106ca61a1%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

### What data comes in

PeopleHR employee data, prepared in Drivetrain as an employee roster and an employee history. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

### Update credentials or disconnect

If you delete or replace the API key in PeopleHR, the sync fails; contact your customer success manager to relink with the new key. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Rippling

Sync Rippling workforce data into Drivetrain automatically. Authorize the connection, set permissions, and start syncing headcount into your models.

Connect Rippling with a Rippling API token. Drivetrain reads your employee data and builds an **Employee Roster** dataset from it (an SFTP connection brings in your files as tables instead). The integration is read-only: nothing is written back to your Rippling data.

#### Ways to connect

When you click the **Rippling** tile, Drivetrain asks **How would you like to connect to Rippling?**

* **API Key**: create a Rippling API token and paste it into Drivetrain. Steps below.
* **SFTP**: shown only on some accounts. Rippling sends a scheduled report file instead. See [Integrating with Rippling (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-rippling-sftp).
* **Login via Rippling**: use it only if your customer success manager (CSM) asks you to.

{% hint style="info" %}
If you don't see the Rippling tile, ask your CSM to enable it. Create the API token as described below, enter the token in the fields shown (if none are shown, click **Add field**, name it `API key` and paste the token as its value), and click **Submit credentials**.
{% endhint %}

#### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **Rippling:**
  * Permission to create API tokens in Rippling. If Rippling asks for an **API version** when you create the token, choose the latest one.
  * The token sees only what its creator can see in Rippling. Create it as a user whose permission profile covers the entire company and can view sensitive employee data such as compensation (for example, a Super Admin). Otherwise employees or fields are missing.
  * Rippling revokes a token when its creator leaves the company or when it goes unused for 30 days. Create it from an account that will stay active.

#### How to Install the Integration

**Log in to Drivetrain**

Navigate to **Data** → **+** Add Data Source → HRIS → Rippling.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-de2ee18578e1859fef2500905a2c8353d3423712%2Fimage%20-%202026-07-01T225256.767.png?alt=media" alt=""><figcaption></figcaption></figure>

**Choose "API Key"**

On the authentication screen, select **API Key**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-11767ed456552ca4c2feb30cbd745d55000ca991%2Fimage%20-%202026-07-01T225301.492.png?alt=media" alt=""><figcaption></figcaption></figure>

To connect using an API key, first generate a key in Rippling, then paste it into the Drivetrain connector.

**How to get your Rippling API key**

{% hint style="info" %}
Using Rippling's API requires the Rippling API Key Package. If it is not already enabled on your account, contact your Rippling account representative to turn it on.
{% endhint %}

1. Sign in to your Rippling account at [app.rippling.com](https://app.rippling.com).
2. Go to **Company Settings → API access**. (Alternatively, open **Tools → Developer → API Access**.)
3. Click **Create API key**.
4. Enter a **Description** (for example, Drivetrain Integration).
5. Under **Permissions**, grant read access to all of the following scopes:
   * `compensation`
   * `user`
   * `department`
   * `teams`
   * `level`
   * `employment_type`
   * `manager`
   * `legal_entity`
   * `custom_fields`
   * `worker`

{% hint style="warning" %}
Grant read access to every scope listed above. A common cause of failed syncs is the `level` scope not being enabled — double-check it's included before saving the API key.
{% endhint %}

6. Click **Save** — you will be redirected to the API access page.
7. Copy the generated **API token** and store it securely (you may not be able to view it again).

Then paste the API token into the Drivetrain Rippling connector's **API Key** field and click **Submit** to start the sync.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cac765f4bf3350d38da13b4b22fe465c748b6873%2Fimage%20-%202026-07-01T230335.424.png?alt=media" alt=""><figcaption></figcaption></figure>

#### What data comes in

* **API key connections**: an **Employee Roster** with one row per employee. It includes job title, department, employment type, status, hire and termination dates, legal entity, teams, address (city, state or province, postal code, country), compensation, Rippling custom fields, and name and email from the employee's Rippling user profile. Fields the token or its creator can't see come in empty.
* **SFTP connections**: each report file arrives as its own table, not as the Employee Roster. See [Integrating with Rippling (SFTP)](/integration-guide/readme/hris-and-ats/integrating-with-rippling-sftp).
* Every sync reads the full employee list again, so changes such as new hires, terminations and title changes arrive with the next sync.
* Drivetrain syncs Rippling with the rest of your data once a day (or on a custom schedule, if **Sync schedule** appears in the source's menu on the Data page). To sync now, click **Sync** in that menu.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b43b920250acfe9feaf8b3cba704d87292447aa3%2FScreenshot%202025-11-17%20at%2011.46.21%E2%80%AFAM.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Reconnect or disconnect

* **New API token** (for example, the old one was revoked): open the Rippling source's menu and click **Edit credentials**, paste the new token, and click **Submit**. Keep the same scopes as the old token.
* If **Edit credentials** isn't in the menu, contact your CSM.
* To stop syncing, click **Remove** in the source's menu.

#### Troubleshooting

<details>

<summary>The API Key entered is invalid. Please verify again.</summary>

Rippling rejected the token. Copy the token again. If it was revoked or lost, create a new one.

</details>

<details>

<summary>You don't seem to have sufficient permissions to the V1 or V2 APIs.</summary>

The token can't read Rippling workers. Make sure it has `workers.read` and that its creator can see employees in Rippling, then try again.

</details>

<details>

<summary>A sync fails because Rippling refused the employee request</summary>

Common causes:

* The token is missing a scope from the list above. A missing `levels.read` scope is a frequent cause. In Rippling, open the token's **⋯** menu and click **Edit** to add the scope. Only the token's creator can change its scopes. Then click **Sync** in Drivetrain.
* The token was revoked because its creator left the company or the token went unused for 30 days. Create a new token and use **Edit credentials**.

</details>

<details>

<summary>Some employees are missing or some fields are empty</summary>

The token can only see what its creator can see. Use a token created by someone whose permission profile covers the entire company and sensitive data such as compensation, and check that the token has the matching scopes.

</details>

#### FAQs

<details>

<summary>Can I choose which fields to sync?</summary>

No. Setup has no field or table selection. Drivetrain brings in the standard Employee Roster, including your Rippling custom fields. If you need a Rippling field that isn't in it, ask your CSM.

</details>

<details>

<summary>Does Drivetrain write any data back to Rippling?</summary>

No. The integration only reads data. Drivetrain does not modify or push data into Rippling.

</details>

<details>

<summary>If I change sync frequency later, will it affect my existing data?</summary>

No. Only the timing changes. Historical data stays intact.

</details>

#### Support

If you encounter any issues not covered here, please contact your dedicated Customer Success Manager (CSM) or reach out to <support@drivetrain.ai>.


# Integrating with Rippling (SFTP)

Send Rippling data to Drivetrain daily over SFTP, or use the native API connection. Covers picking a report and scheduling it in Workflow Studio.

This guide walks you through sending your Rippling data to Drivetrain on an automated daily schedule using SFTP. You pick a Rippling report and use Rippling's Workflow Studio to export it as a CSV and deliver it to Drivetrain's secure SFTP server, so your headcount models and workforce plans always reflect the latest data with no manual uploads.

{% hint style="info" %}
Prefer a direct connection? Use **Login via Rippling** or **API Key** instead, see [Integrating with Rippling](/integration-guide/readme/hris-and-ats/integrating-with-rippling). Choose SFTP when your team standardizes on scheduled file feeds, or when direct API access isn't available.
{% endhint %}

### How it works

1. You pick (or build) a Rippling report with the employee fields Drivetrain needs.
2. In Workflow Studio, a daily schedule triggers a **Send a report via SFTP** action.
3. Rippling exports the report as a CSV and drops it into Drivetrain's SFTP folder every day.
4. After the first file arrives, it is selected once with **Add data** in Drivetrain. It then loads as its own table and refreshes on every delivery.

### Prerequisites

* Admin access to Rippling — required to build reports and workflows in Workflow Studio.
* Drivetrain admin access, to create the SFTP directory (Step 1).

### Step 1 — Get your SFTP details

1. On the Data page in Drivetrain, click **+**, then click the **Rippling** tile.
2. Choose **SFTP**.
3. Under **Select authentication method**, choose **Password**, then click **View details**.
4. Under **SFTP directory details**, copy the **Host name**, **Port**, **Destination path**, **Username** and **Password**, then click **Done**.

{% hint style="warning" %}
The password is shown only once. Store it securely, like any password.
{% endhint %}

If you don't see the **SFTP** option, ask your Drivetrain customer success manager (CSM) for these details instead.

### Step 2 — Identify the report to send

Choose (or create) the Rippling report that contains the workforce data you want in Drivetrain. Typical fields include:

* Employee name, Preferred name, Employee ID, Work email
* Job title, Employee type, Department, Location
* Start date and End / Termination date
* Manager name, Manager email, Manager ID

### Step 3 — Build the scheduled workflow in Workflow Studio

1. Open **Workflow Studio** — use the search bar at the top of Rippling to search for "Workflow Studio," then open it.
2. From the left sidebar, add a **Schedule** trigger and pick a suitable time for the workflow to run daily.
3. Drag the **Send a report via SFTP** action onto the canvas, between the desired steps.
4. Click the step you just added to open its settings, then configure it:
   1. Select the report you want to send (from Step 2).
   2. Select **password-based authentication**.
   3. Enter the **SFTP hostname** from Step 1.
   4. Enter the **SFTP username** from Step 1.
   5. Enter the **SFTP password** from Step 1.
   6. Set **Port** to the port from Step 1.
   7. Set a **filename** without spaces (for example, `rippling_employees`). Keep the same filename on every run: Drivetrain loads each filename as its own table.
   8. Set the **Destination folder** to the destination path from Step 1.
   9. Set **File type** to `CSV`.
   10. Skip the date and time format.
   11. Skip the total and subtotal rows.
5. Click **Test step** to confirm the connection and delivery.
6. Click **Save** to activate the workflow.

{% hint style="warning" %}
If the test fails, re-check the hostname, username, password and port, and make sure the destination folder exactly matches the destination path from Step 1 (no trailing spaces).
{% endhint %}

### Step 4 — Notify Drivetrain

Tell your CSM that the workflow is live so they can check that the file lands in the SFTP folder.

After the first file arrives, choose it with **Add data** in the Rippling source's menu on the Data page (pick **Bring selected files** if asked). If you don't see a file picker there, ask your CSM to select the file. Each selected file loads as its own table and refreshes on every delivery.

### FAQs

<details>

<summary>What happens if the test step fails?</summary>

Double-check the credentials, the port and the destination path from Step 1.

</details>

<details>

<summary>What if the file doesn't arrive in Drivetrain?</summary>

Confirm the workflow is turned on, the schedule trigger is enabled, and the filename has no spaces. If you changed the filename, the file arrives as a new table that must be selected with **Add data** (or by your CSM).

</details>

<details>

<summary>Why do columns in Drivetrain look wrong or missing?</summary>

Keep the report structure stable and notify your CSM before changing report columns.

</details>

### Support

If you run into any issues not covered here, contact your Drivetrain CSM or email <support@drivetrain.ai>.


# Integrating with Sapling

Sapling is now Kallidus. Connect it to Drivetrain from the Kallidus tile with a Kallidus API key and subdomain.

Sapling is now **Kallidus** (Kallidus Sapling). Connect it from the **Kallidus** tile on the Data page, not the **Sapling** tile, with a Kallidus API key.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Kallidus:** an admin who can create API keys.

## Step 1: Create a Kallidus API key

1. In Kallidus, go to **Integrations** > **API Keys**.
2. Click **Create New Key**, name it "Drivetrain", and save it. Copy the key.
3. Note your subdomain: if you sign in at `company-name.saplingapp.io`, it's `company-name`.

Kallidus API keys can expire. When one does, the sync stops until you reconnect with a new key.

## Step 2: Connect Kallidus in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Kallidus** tile. What opens depends on how Kallidus is set up for your account:
   * **A credentials form:** enter the subdomain and API key and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): enter the **subdomain** only (`company-name`, not `company-name.saplingapp.io`) and the **API key**.
3. Once connected, **Kallidus** appears in the **Data** panel and starts syncing.

If you don't see a **Kallidus** tile, contact your customer success manager instead of using the **Sapling** tile.

## What data comes in

Kallidus employee data. When connected through Merge, it arrives as Merge's standard HR objects, such as employees, employments, teams and locations, where Kallidus provides them; otherwise your customer success manager confirms the tables. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

When the key expires, create a new one (Step 1) and contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with Keka HR

Connect Keka HR to Drivetrain with a Keka client ID, client secret, API key and subdomain.

You create API credentials in Keka, then enter them in Drivetrain from the **Keka** tile on the Data page.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Keka:** a **Global admin**. Keka's API is an add-on: if **API Access** isn't available in your Keka settings, ask your Keka account manager to enable it.

## Step 1: Create Keka API credentials

1. In Keka, open **Global Settings** with the gear icon next to your organization name.
2. Go to **Integrations and Automation** > **API Access**, and enable API access if it isn't on yet.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e912df9760654ae684eae9ca53d45139a6d9ba8c%2Fkeka1.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Create a new key named "Drivetrain Integration". Select every read scope offered for employee and organization data, so the key works however the connection is set up. If you set an expiry date, the connection stops syncing on that date until you reconnect with a new key.
4. Copy the **Client Id**, **Client Secret** and **API key**. Keka shows them only once.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-db0c520d218a153c7220e21a5916117861199c6c%2Fkeka2.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Note your Keka subdomain: if you sign in at `mycompany.keka.com`, it's `mycompany`.

## Step 2: Connect Keka in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Keka** tile. What opens depends on how Keka is set up for your account:
   * **A credentials form:** enter the subdomain, Client ID, Client Secret and API key from Step 1 and click **Submit**.
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): enter your **Subdomain** and click **Next**, then the **Client ID**, **Client Secret** and **API key** and click **Next**.
3. Once connected, **Keka** appears in the **Data** panel and starts syncing.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b3597476820a7d69b828b7db7334d4a0412c7d02%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fc15b17e9186df9e1627bad6298a5f8b747a2829%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a525bcd64c11886fe6254620f217acb52ad023a6%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## What data comes in

Keka employee data. When connected through Merge, it arrives as Merge's standard HR objects, such as employees, employments, teams, groups and locations, where Keka provides them; otherwise your customer success manager confirms the tables. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the sync fails after the Keka key expires or is reset, create a new key (Step 1) and contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Integrating with UKG Pro

Link UKG Pro to Drivetrain and bring enterprise workforce data into your financial models. Covers API credentials and sync setup.

[Prerequisites](#prerequisites)

[UKG Pro Setup](#ukg-pro-setup)\
[Step 1: Find your UKG Pro Customer API Key](#step-1-find-your-ukg-pro-customer-api-key)\
[Step 2: Create your Service Account](#step-2-create-your-service-account)\
[Step 3: Find your UKG Web Service Domain](#step-3-find-your-ukg-web-service-domain)

[Drivetrain Setup](#drivetrain-setup)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* An active UKG Pro account.
* A UKG Pro system administrator who can open **Service Account Administration**.
* Admin privileges in Drivetrain.

## UKG Pro Setup <a href="#ukg-pro-setup" id="ukg-pro-setup"></a>

Drivetrain connects to UKG Pro via an API key and a Service Account. To create this integration, you need to log in using an admin account to find the API key, create a Service Account with the relevant permissions, and then provide the Web Services URL. This guide will cover the steps for the above requirements.

### Step 1: Find your UKG Pro Customer API Key <a href="#step-1-find-your-ukg-pro-customer-api-key" id="step-1-find-your-ukg-pro-customer-api-key"></a>

1. Log in to your UKG pro account and search “**Service Account Administration**” on the top right.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-eed17a0c19c821f6264b4c1180014e533fb98f66%2Fukg-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Copy the Customer API Key from under the header and copy it in a secure document.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-58006a5cea3ac415e01eb1ae5ba310c580e14ae5%2Fukg-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Create your Service Account <a href="#step-2-create-your-service-account" id="step-2-create-your-service-account"></a>

1. On the Service Account Administration Page, Click “**+ add**” on the top rig

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-341bcccd755596f376fed80fce425e36083c1804%2Fukg-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Enter the username as “Drivetrain Integration” and reach out to your CSM for email.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-37f3595565b7f1221e62fa26a3067302725665b1%2Fukg-4.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Under the Web Services section, enable these permissions.
   * Needed for the default sync:
     * Employee Person Details \[View] (required)
     * Employee Employment Information \[View]
     * Employee Job History Details \[View]
     * Employee Compensation Details \[View]
     * Employee User Defined Fields \[View] (for your custom employee fields)
     * Personnel Integration \[Add & View]
     * Company Configuration Integration \[Add & View]
   * Needed only if your customer success manager turns on payroll or PTO data for you, or if a Merge window opens in Step 2 of the Drivetrain setup below (grant them up front if unsure):
     * Employee Pay Statement \[View]
     * Payroll Integration \[Add & View]
     * PTO Plan Integration \[Add & View]

By default (when connected with the Drivetrain form), Drivetrain syncs employee, employment, group, location, team, company, pay group and benefit data. Payroll runs, jobs, PTO plans and other extended UKG Pro data aren't synced by default, even if you grant these permissions. If you need them, ask your customer success manager to turn them on after you connect.

![](https://integrations.drivetrain.ai/~gitbook/image?url=https%3A%2F%2F4220329029-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmBZR0D9lq6jrI895OuOU%252Fuploads%252FogIXB0RYTVBYkFAMrtYF%252Fukg-5.avif%3Falt%3Dmedia%26token%3D8394fe18-74a4-447a-8bcd-43b47d178cf5\&width=768\&dpr=4\&quality=100\&sign=82bdf213\&sv=2)

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2f1a9fad4a5372f4725201a27124ad4ca8b27fb9%2Fukg-6.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click on Save on top right. Your new password will pop-up, save the password in a secure document along with the API key found in Step 1

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c0b6cae96a599709af196c717592079ba31c7775%2Fukg-7.avif?alt=media" alt=""><figcaption></figcaption></figure>

### Step 3: Find your UKG Web Service Domain <a href="#step-3-find-your-ukg-web-service-domain" id="step-3-find-your-ukg-web-service-domain"></a>

1. Go back to home, click on Search Bar and search for “**Web Services**”.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-ae965f7c3b57092ad78cf2313d6c7f2970e867fe%2Fukg-8.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Copy any one of the URLs on the page and add it to the same document where you stored the password and API key. It looks like `https://servicet.ultipro.com/services/BIDataService`. Drivetrain only uses the host part, so any URL from this page works. For the Drivetrain form it must start with `https://`: a URL starting with `http://` makes the sync fail.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c22ab9c8a4dc966f778836026bb0f0c9a814ee23%2Fukg-9.avif?alt=media" alt=""><figcaption></figcaption></figure>

***

## Drivetrain Setup <a href="#drivetrain-setup" id="drivetrain-setup"></a>

After completing the UKG Pro setup above, connect UKG Pro as a data source in your Drivetrain instance. You must be a **Drivetrain administrator** to add a data source.

### Step 1: Open the UKG Pro connector

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-426b3a0fd6e37542c0b484d085dbb56cf653d025%2Fimage%20-%202026-07-01T121656.615.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, search for **UKG** and click the **UKG Pro** tile.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-667683b1f466caa719858735256c7d0763e53ef3%2Fimage%20-%202026-07-01T202418.884.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Enter your UKG Pro details

What opens depends on how UKG Pro is set up for your account:

* **The Set up a new UKG Pro connection form**. Fill in:

  * **Web Services URL**: the URL you copied in Step 3 of the UKG Pro setup above.
  * **Service account username** and **Service account password**: the service account you created in Step 2.
  * **Customer API Key**: the key you copied in Step 1.

  Then click **Submit**.
* **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the same values when asked.

### Step 3: Finish setup

**UKG Pro** appears in the **Data** panel and starts syncing. When the sync completes, your UKG Pro data is available across Drivetrain, including a headcount roster and a monthly headcount history.

## Update credentials or disconnect

* **New password or API key:** if you connected with the form, open the UKG Pro connector's menu in the **Data** panel, click **Edit credentials**, enter the new values and save. Otherwise, ask your customer success manager.
* **Disconnect:** open the connector's menu and click **Remove**.

## Troubleshooting

<details>

<summary>The sync fails after you connect</summary>

Check the **Web Services URL**: it must be your own UKG host and start with `https://`. Then check that the service account is active, its password hasn't expired, and it has the permissions above. Correct the values with **Edit credentials**, then click **Sync**.

</details>


# Integrating with UKG Ready

Step-by-step guide to authenticate and connect UKG Ready with Drivetrain.

To connect UKG Ready, you need five values from UKG Ready: **Domain**, **Company Short Name**, **API Key**, and a service account **User ID** and **Password**. This guide shows where to find or create each one, then how to enter them in Drivetrain.

### Prerequisites

* **Drivetrain:** you must be a Drivetrain admin.
* **UKG Ready:** you are an **Administrator** in your company's UKG Ready instance, or someone has shared their access with you.

### Instructions

#### Step 1: Get your domain

1. Find your domain in your UKG Ready sign-in URL. For example, if you sign in at `acme.com/ta/Default.login`, your domain is `acme.com`.
2. Note it down; you enter it in Drivetrain in Step 6.

#### Step 2: Find your company short name

* Log in to your UKG Ready account and open the menu in the upper left. Then, go to your **settings icon** and click **Global Setup**, followed by **Company Setup**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8e2361bee5d64c05492e03d467da966b0da459f3%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Open **Company Info**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-83b47aea827a5b0fca858370ba9b1d8a9692ee9b%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Scroll down to find **Company Short Name** under **Company Address**. Copy your **Company Short Name**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0fe9c7d982b6098f64730af4ebc17c6e2b21d62e%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Store your **Company Short Name** in the document.

#### Step 3: Find your API key

* In your **Company Setup** page, go to **Login Config**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9ebe344bfbeb361659b3cff8f5e9200cdcdbaca2%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Scroll to find **API Keys** and click the **eye icon** to reveal the key. Copy the API key and store it in a secure place.

{% hint style="info" %}
If there is no key, you can click **GENERATE** to create one. If there are existing integrations using this key, **DO NOT click GENERATE**.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-21005f5044c244171adc005af0684f706847b8af%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Store your **API Key** in a secure document.

#### Step 4: Create a security profile

* In your menu on the left, go to **Settings**, **Profiles/Policies**, and then **Security**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d2419750366efa713ae6b8dd784a1b954aa1fb55%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **NEW SECURITY PROFILE** on the upper right-hand side.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9095ea399d2053f61a9a5b35d06195d3020d8340%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* In this profile, enable the permissions below. Items marked "if applicable" are needed only if you use that UKG Ready module.
* In your **HR** tab:
  * Find **Employee Management**, **Base Compensation**.
    * Select **View** from the drop-down menu.
  * Find **Benefit Management (Plans)**.
    * Select **View**.
  * Find **Cost Centers**.
    * Select **View**.
  * Find **Total Compensation**.
    * Select **View**.
  * Find **HR Custom Values**.
    * Select **View**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-271331efafe5b20c01e355299f4bf395714e4f76%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3146260b27f7e75d292aab1b0d348b2cedd4970b%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Optional, for time-off data: under **TLM**, open **Time Off Requests** and enable its permissions.
* Under **Leave of Absence Management** near the bottom, select **Manage Requests** (if applicable).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-79f680ba7bdf67bd40951de73c1bcac9d019d824%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* In your **Modules** tab (if applicable):
  * Scroll to **Rest API Resources**.
    * Select **Employee Demographics**, **Employee HR Custom Fields**, **Employee Profiles**, **Employee Pay Information**, **Employees**, **Employees (Changed)**, and **Employees (me)**.
  * Under **Accruals**, select **View** for **Accrual Balances (2.0)**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-30516343b6a1d88daa7ff90474f69b006e4a3199%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* In your **Global** tab (if applicable):
  * In **Global Setup**, find **Company Country/Legal Divisions**, **Cost Center Definitions**, and **Leave of Absence Custom Fields Definitions**.
    * Select **View** for each.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-525d702e1479457d1a13b40887fd87cef7840633%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* In **Object Lists**, find **Company EINs**, **Cost Centers**, **Leave of Absence Categories**, and **Pay Period Profile**.
  * Select **View** for all.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5af831d9e5c1204bab278c951049c2d183e054e0%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* In your **Payroll** tab (optional, only if you need payroll data; these are the permissions Merge requests):
  * Find the **Payroll** section. Click **Create/Edit Payroll** and **View/Edit/Add** next to payroll adjustment.
  * Select **Payroll Prep Process**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a25545cd269ac2f1f4319c54679af5c438e530a3%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 5: Create your service account

* From **Settings > Global Setup > Company Setup**, go to **Edit Tabs**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-49a90fe9c3330633a91dbb5d2bcbb3b1ee63dc8d%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* From the **Available Windows** box on the right side of the screen, scroll down to **Service Accounts**. Drag it to the top section in the middle. Click **Save**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8da5b567d6a337f6042285147b37d22caf606146%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Click **Add Service Account**. To create a new account, enter the following details:
  * Username: **Drivetrain Integration**
  * Password: Generate a secure password.
  * Store these two details in a secure document.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-10f0ee6412f585349a1404f0ca3c7c486b3351c5%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

* Then, enter the **Security Profile** you created. Click the **magnifying glass** for Account Groups and select **All Company Employees**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2988104b33d40277883e312acd2fc21a41578b35%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Step 6: Connect UKG Ready in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **UKG Ready** tile. What opens depends on how UKG Ready is set up for your account:
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow its prompts and enter the **Domain**, **Company Short Name**, **API Key**, and the service account **User ID** and **Password** when asked.
   * **A credentials form:** enter the same values and click **Submit**.
3. Once connected, **UKG Ready** appears in the **Data** panel and starts syncing.

{% hint style="info" %}
If your customer success manager sets the connection up for you, it may read saved UKG Ready reports instead. Make sure the service account's security profile can run the reports they name.
{% endhint %}

### What data comes in

When connected through the tile, UKG Ready employee data is prepared in Drivetrain as an employee roster and an employee history. If your customer success manager set the connection up from saved reports, you get those reports' data instead. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

### Update credentials or disconnect

If the service account password or API key changes, contact your customer success manager to update the connection. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.

{% hint style="warning" %}
Don't click **GENERATE** on the API key while UKG Ready is connected: integrations that use the current key, including Drivetrain, can stop syncing until they're updated.
{% endhint %}


# Integrating with Workday (SFTP)

Transfer Workday HR data to Drivetrain via SFTP for workforce planning. Covers report exports, SFTP credentials, and scheduling recurring data transfers.

Workday sends Drivetrain a custom report as a CSV file over SFTP, using an outbound EIB (Enterprise Interface Builder) on a schedule.

## Before you start

* **Drivetrain:** you must be a Drivetrain administrator to add a data source.
* **Workday:** a Workday admin who can create key pairs, custom reports and EIBs, and schedule integrations.

## Step 1: Generate an SSH key pair in Workday

1. In Workday, search for and open the **Create x509 Private Key Pair** task.
2. Enter a name (and an optional description) for the key pair.
3. Workday shows the **Public Key** and the **RSA-SSH Formatted Key**. Copy the **RSA-SSH Formatted Key** as plain text. You paste it into Drivetrain in Step 2.

## Step 2: Get your SFTP details in Drivetrain

1. In Drivetrain, go to the **Data** page and click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Workday** tile.
3. Under **Select authentication method**, choose **SSH Key**, select **Enter my own key**, and paste the **RSA-SSH Formatted Key** into **Paste your SSH Key here**.
4. Click **View details**. **SFTP directory details** shows the **Host name**, **Port**, **Destination path**, **Username** and your key (masked). Copy them, then click **Done**. Workday now appears in your **Data** panel.

{% hint style="info" %}
If the Workday window says **Please click below to raise an access request and we will get back to you shortly.**, contact your customer success manager. They set up the SFTP directory and send you the host name, destination path and username. Share only the public **RSA-SSH Formatted Key**, never the private key.
{% endhint %}

## Step 3: Create a custom report

1. Search for and select **Create Custom Report**.
2. Configure the report:
   1. **Report Type:** Advanced
   2. **Enable As Web Service:** Yes
   3. **Data Source:** All Active and Terminated Workers
3. Add the fields you need, such as Employee ID, Name, Email and Job Title. You can use **Column Heading Overrides** to rename columns.

## Step 4: Create an outbound EIB

1. Search for and select **Create EIB**. Enter a **Name** and choose **Outbound**.
2. **Get Data:** select the custom report from Step 3. Under **Details**, set **Alternate Output Format** to **CSV**.
3. **Transform:** choose **None**.
4. **Deliver:**
   1. **Delivery Method:** SFTP
   2. **SFTP Address:** `sftp://` followed by the **Host name** from Step 2 (for SSH keys this is `sftp1.drivetrain.ai`)
   3. **Directory:** the **Destination path** from Step 2
   4. **Authentication Method:** SSH Authentication
   5. **User ID:** the **Username** from Step 2
   6. **SSH Authentication Key Pair:** the key pair from Step 1
   7. **File name:** keep the same name on every run and end it in `.csv`

## Step 5: Schedule and test the integration

1. Open the **Integration System** page for your EIB.
2. Click **Actions**, then **Integration > Launch / Schedule**.
3. Set the frequency (daily is typical, before your Drivetrain sync) and save.
4. Launch the integration once manually to test it.

## What data comes in

* After the first file arrives, choose which files to bring in: click **Add data** on the Workday data source and pick the files. Each choice becomes a dataset, and later deliveries with the same file name update it. If you don't see your files there, ask your customer success manager to select them.
* Drivetrain reads the directory at each sync (daily by default, or on a custom schedule if **Sync schedule** appears in the data source's menu). Files that arrive after a sync are picked up at the next one.

## Troubleshooting

<details>

<summary>Files arrive but no data shows in Drivetrain</summary>

The files haven't been selected yet. Click **Add data** on the data source and choose them, or ask your customer success manager to select them. Then wait for the next sync, or run **Sync**.

</details>

<details>

<summary>The EIB fails to connect or upload</summary>

Check that the **User ID**, **Directory** and host match the **SFTP directory details** exactly, and that the EIB uses the same key pair whose RSA-SSH key you pasted into Drivetrain. If you created a new key pair in Workday, ask your customer success manager to register the new public key.

</details>


# Integrating with Zenefits

Zenefits (now TriNet) isn't available as a self-serve connector yet. How to request a connection from Drivetrain.

Zenefits is now **TriNet** (TriNet HR Platform). Drivetrain doesn't have a confirmed working Zenefits/TriNet connection yet, so the data can't sync automatically today. Use the **Zenefits** tile to request it.

## Request a Zenefits (TriNet) connection

You must be a Drivetrain admin.

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).
2. In the **Connect a data source** window, click the **Zenefits** tile.
3. Under **Fields**, click **Add field** and enter a **Field name** and **Value**, for example `Zenefits URL` and your company's Zenefits address. The form doesn't submit without at least one field. Click **Submit credentials**.
4. If a different window opens instead, don't enter credentials; contact your customer success manager.

Your customer success manager follows up and tells you if any credentials are needed. Don't enter Zenefits passwords or API keys in this form. If Zenefits then shows in the **Data** panel as **Credentials submitted**, that's your request, not a working connection.


# Integrating with Zoho People

Sync Zoho People employee records with Drivetrain for headcount and compensation planning. Covers signing in to Zoho and approving access.

You connect Zoho People yourself from the **Zoho People** tile on the Data page, usually by signing in to Zoho in a Merge window.

## Before you start

* **Drivetrain:** you must be a Drivetrain admin.
* **Zoho People:** an account with administrator access.

## Connect Zoho People in Drivetrain

1. On the **Data** page, click the **+** icon at the top of the **Data** panel (or **Add data source** if nothing is connected yet).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7dad328875a2b5cab1990f67c4dd0047246e34f5%2FScreenshot%202025-12-05%20at%203.09.02%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

2. In the **Connect a data source** window, click the **Zoho People** tile. What opens depends on how Zoho People is set up for your account:
   * **A Merge window** (Merge is the integration partner Drivetrain uses for some connectors): follow steps 3 to 6.
   * **A credentials form:** enter the values it asks for and click **Submit**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-25fc4acbabd6facf49be03f33cc76d81ad6f7862%2FScreenshot%202025-12-05%20at%202.17.29%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

3. In the Merge window, select **I am an admin**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e724450195c9537cbf4eff6e8e5f65fa8b2f910c%2FScreenshot%202025-12-05%20at%202.17.47%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Review the data the connection will read and click **Next**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-2fd385ba1334d5b90e415be747a9bf0fad244ac3%2FScreenshot%202025-12-05%20at%202.53.04%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Select your account type by location (the region your Zoho account is hosted in).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-cf6b5692e5fbb318ef3bb9ae7f5be13113a17829%2FScreenshot%202025-12-05%20at%202.54.58%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Click **Open window**, sign in to Zoho People and approve access.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-92f58183225a1b48391f714c37ef26b854e7fe32%2FScreenshot%202025-12-05%20at%202.56.15%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

7. Once connected, **Zoho People** appears in the **Data** panel and starts syncing.

## What data comes in

Zoho People employee data. When connected through Merge, it arrives as Merge's standard HR objects, such as employees, employments, teams, groups and locations, where Zoho People provides them; otherwise your customer success manager confirms the tables. Data refreshes on your tenant's daily sync (or on a custom schedule, if **Sync schedule** appears in the connector's menu).

## Update credentials or disconnect

If the sync fails after the Zoho admin loses access or revokes the connection, contact your customer success manager to relink. To disconnect, open the connector's menu in the **Data** panel and click **Remove**.


# Spreadsheets

Integrate Drivetrain with Google Sheets, Airtable, SharePoint, and OneDrive. Automate data imports and remove manual copy-paste from your workflows.

These connectors bring data from spreadsheets and files into Drivetrain as datasets:

| Connector                                                                                        | How it connects           | What you add                         |
| ------------------------------------------------------------------------------------------------ | ------------------------- | ------------------------------------ |
| [Google Sheets](/integration-guide/readme/spreadsheets/integrating-with-google-sheets)           | Sign in with Google       | One tab per URL                      |
| [Microsoft OneDrive](/integration-guide/readme/spreadsheets/integrating-with-microsoft-onedrive) | Sign in with Microsoft    | One .xlsx sheet or .csv file per URL |
| [SharePoint](/integration-guide/readme/spreadsheets/integrating-with-sharepoint)                 | An Azure app you register | One .xlsx sheet or .csv file per URL |
| [Airtable](/integration-guide/readme/spreadsheets/integrating-with-airtable)                     | Sign in with Airtable     | All tables in one base               |
| [Google Drive](/integration-guide/readme/spreadsheets/integrating-with-google-drive)             | Set up by Drivetrain      | Files in a shared folder             |

{% hint style="info" %}
To pull Drivetrain tables **into** Google Sheets or Excel, use the [Google Sheets add-on](/extending-drivetrain/google-sheets-add-on) or the [Excel add-in](/extending-drivetrain/microsoft-excel-add-in) instead.
{% endhint %}

To connect another spreadsheet tool, contact your onboarding partner.

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Airtable</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8c2fe408a95270469dea3ee80e4ae622f6b0f85d%2FAirtable.avif?alt=media">airtable-card.avif</a></td><td><a href="/integration-guide/readme/spreadsheets/integrating-with-airtable">Integrating with Airtable</a></td></tr><tr><td align="center">Google Drive</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-98855866c09e16228162a5a6c6f709f0947c0730%2FGdrive.avif?alt=media">google-drive-card.avif</a></td><td><a href="/integration-guide/readme/spreadsheets/integrating-with-google-drive">Integrating with Google Drive</a></td></tr><tr><td align="center">Google Sheets</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-60c4089f4aa9b3744648b2f50b1c032d9cab4bf5%2FGsheet.avif?alt=media">google-sheets-card.avif</a></td><td><a href="/integration-guide/readme/spreadsheets/integrating-with-google-sheets">Integrating with Google Sheets</a></td></tr><tr><td align="center">Microsoft OneDrive</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7a43ce74af9c1a86b6d1b49af537f3f14efd7c91%2FOnedrive.avif?alt=media">microsoft-onedrive-card.avif</a></td><td><a href="/integration-guide/readme/spreadsheets/integrating-with-microsoft-onedrive">Integrating with Microsoft OneDrive</a></td></tr></tbody></table>

<details>

<summary>How do I upload a CSV to Drivetrain?</summary>

You can upload a CSV to Drivetrain in a few different ways depending on what you want to do.

There are three main ways to import CSVs:

#### **1. Upload to a List** (for model-specific planning data)

Use this when you want to import planning data that evolves over time—such as headcount, hiring plans, or vendor lists—directly into a model.

In Drivetrain, a **list** is a lightweight dataset that lives inside a model and is versioned along with it. Unlike datasets that remain static across versions, lists adapt as your model changes. This makes them ideal for planning scenarios where values differ between model versions.

**To upload:**

1. Open your model and go to the **Lists** page.
2. Create or open a list.
3. Click **Upload CSV**.
4. Choose your file, then click **Validate and Save**.

**Notes:**

* The column names in the CSV must exactly match the list’s column names.
* Uploading a CSV replaces all existing rows in the list. Include every row you want to keep.

***

#### **2. Upload via a spreadsheet or storage connector (recommended for recurring imports)**

Use this when you want Drivetrain to automatically fetch data from an external file—such as from Google Sheets, OneDrive, or cloud storage—on a recurring basis.

**To upload:**

1. Go to the **Data** page.
2. Click the **+** icon next to **Data**.
3. Select a connector such as **Google Sheets**, **OneDrive**, **Google Cloud Storage (GCS)**, **SFTP**, etc.
4. Connect your account and provide the file URL or path.
5. Save the connection.

For GCS or SFTP, you can place CSVs in the configured bucket or folder for scheduled ingestion. For OneDrive, add each file by pasting its URL.

***

#### **3. Upload to update plan or forecast values for a variable**

Use this when you want to modify plan or forecast data directly in a model variable.

**To upload:**

1. Open your model and locate the variable you want to update.
2. Hover over it, click the vertical ellipsis (⋮), and select **Import/Export → Export CSV template**.
   * Edit the exported CSV and save it. *(Skip this step if you already have a prepared file.)*
3. Click **Import/Export → Import CSV**.
4. Review the preview popup for any errors and correct them if needed.
5. Click **Validate and import** to complete the import.

Watch a walkthrough: [How to import plan or forecast data via CSV](https://www.loom.com/share/5a31e79cd2214261aac0709c2fcf3120)

</details>


# Integrating with Airtable

Sync an Airtable base with Drivetrain. Covers Airtable sign-in, granting access to one base, syncing, and troubleshooting.

Sign in with Airtable and choose a base. Drivetrain syncs every table in that base.

## Before you start

* You're a Drivetrain **Admin**.
* You have **Owner** or **Creator** permission on the base. Airtable requires it to authorize integrations.
* Airtable asks you to approve these scopes for Drivetrain: read base schemas (`schema.bases:read`), read records (`data.records:read`) and manage webhooks (`webhook:manage`).

{% hint style="warning" %}
**One base per connection.** Drivetrain syncs only the first base it can see in your grant. Grant access to a single base (not a whole workspace); for another base, add another Airtable connection.
{% endhint %}

## Step 1: Connect Airtable

1. On the **Data** page, click the **+** icon next to **Data** and select **Airtable**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-a7ca161457148480ee356db4e865bd74ea2eb946%2FAT-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Click **Login to connect**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b95da7fdafe8ba7ca09aa222cfebac97daff3772%2FAT-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

3. Sign in to Airtable, if you aren't already.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d94a70cb83d94bc5237bb7e7942b42030954199a%2FAT-3.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Grant access to a base

On Airtable's screen, click **Add a base**, select the base, and click **Authorize** (older screens say **Grant access**).

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-0b1dc1beab28ad130670cc19e412483e0355727a%2FAT-4.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Wait for the first sync

You're returned to Drivetrain while it starts fetching data.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9ae824d97c35302acc7da6e2d136fddb8335ec11%2FAT-5.avif?alt=media" alt=""><figcaption></figcaption></figure>

The connection appears on the **Data** page. When the first sync finishes, each table in the base appears as a dataset.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-57d8b03404167808b5b6cd2bd8206d223ac00d94%2FAT-6.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Syncing

Each sync reads all records of every table in the base. It runs automatically with your other data sources. To refresh now, open the connection's **⋮** menu and click **Sync**.

## Reconnect or disconnect

* **Reconnect:** open the connection's **⋮** menu, click **Edit credentials**, and sign in again.
* **Disconnect:** open the connection's **⋮** menu and click **Remove**. To revoke access in Airtable, click your account avatar → **Integrations** → **Third-party integrations**, select Drivetrain and click **Revoke access**.

## Troubleshooting

<details>

<summary>Not base found to connect with</summary>

You didn't grant access to any base. Connect again and select a base on Airtable's screen.

</details>

<details>

<summary>The wrong base came in</summary>

You granted more than one base. Remove the connection and connect again, granting only the base you want.

</details>


# Integrating with Google Drive

Import files from a shared Google Drive folder into Drivetrain. Drivetrain sets up the connection; covers sharing the folder.

Drivetrain sets up the Google Drive connector for you. You share a folder with Drivetrain, and Drivetrain imports the files in it.

{% hint style="info" %}
For individual Google Sheets, use the self-serve [Google Sheets connector](/integration-guide/readme/spreadsheets/integrating-with-google-sheets) instead.
{% endhint %}

## Before you start

* Ask your Customer Success Manager or Data Integrations Manager for the **email address to share the folder with**.
* The folder holds the files you want to import and **isn't empty**. Empty folders can't be synced.
* Only files directly in the folder are read. Files in **subfolders are skipped**.

## Step 1: Share the folder

1. In Google Drive, right-click the folder and click **Share**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-7cdc8f3a17051fe1577e3dd86499ca405a9c9dd9%2Fgd-1.avif?alt=media" alt=""><figcaption></figcaption></figure>

2. Enter the email address Drivetrain gave you, select **Viewer**, and click **Send**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-73a9328c5d5138fa52093337f4318d021cb1c814%2Fgd-2.avif?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Send the folder URL

Open the folder, copy the URL from your browser's address bar, and send it to your Customer Success Manager or Data Integrations Manager. They finish the setup.

## Syncing

Each sync re-reads all the files in the folder in full. To stop syncing, remove the Drivetrain email from the folder's sharing settings and tell your Drivetrain contact.


# Integrating with Google Sheets

Connect Google Sheets to Drivetrain and import spreadsheet data into financial models. Covers OAuth authorization and sheet selection.

Sign in with Google once, then add each tab you want as a dataset by pasting its URL.

### Before you start

* You're a Drivetrain **Admin**.
* You sign in with a **Google account that can open the sheets** you want to import. The sheets don't need to be public.
* Your Google Workspace allows **third-party app connections**.
* The file is a **native Google Sheet**, not an uploaded .xlsx file.

Drivetrain asks Google for **read-only access to your Google Sheets** (plus your name and email). It gets no access to other Google Drive files, and it only reads the tabs you add.

### Step 1: Connect your Google account

1. On the **Data** page, click the **+** icon next to **Data** and select **Google Sheets**.
2. Click **Connect Google Account** and sign in.
3. On Google's consent screen, tick **See all your Google Sheets spreadsheets** and click **Continue**.

You're returned to Drivetrain and the **Add data from Google Sheets** window opens.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-b94cfceec4de5f8808545de0613da4e2944aee35%2FGsheet0.gif?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
One connection per Google account. To import sheets that only another Google account can open, add a second Google Sheets connection signed in as that account.
{% endhint %}

### Step 2: Add a tab

1. In Google Sheets, open the tab you want to import.
2. Copy the URL from your browser's address bar. It must start with `https://docs.google.com/spreadsheets/d/` and include `#gid=`, which identifies the tab.
3. In Drivetrain, paste it into **Sheet URL** and click **Add**.

The tab appears as a dataset under the Google Sheets connection.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-980b84cd12253688cb0cae380d86b5fe840d8262%2FGsheet1.gif?alt=media" alt=""><figcaption></figcaption></figure>

To add more tabs, click **Add data** on the connection and repeat. Each URL adds one tab.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c7e0e0a08fbf813a2a9162042fa74d528f21d899%2Fgsheet2.gif?alt=media" alt=""><figcaption></figcaption></figure>

### Format your sheet

* The table starts at **cell A1**, and **row 1** holds clear, unique column headers.
* Each tab holds **only one table**.
* Dates use `YYYY-MM-DD`, `YYYY/MM/DD`, `MM-DD-YYYY` or `MM/DD/YYYY`.

Drivetrain detects whether a tab is a **Transaction** or a **Time series** dataset:

* **Transaction:** each row is one record, such as a deal, invoice or journal entry.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-e4f37ef7b85f353c77759127f9365dcebd2ee5e5%2FScreenshot%202025-10-31%20at%205.17.47%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

* **Time series:** each row is one entity (customer, account, region), the first column holds its name or ID, and each period is its own column with a valid date header. Drivetrain unpivots it into rows.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-5a898bec227ae98c6722ccff2a93d26533212c48%2FScreenshot%202025-10-31%20at%205.16.38%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

### Syncing

Each sync re-reads every tab you added in full. Tabs sync automatically with your other data sources. To refresh now, open the connection's **⋮** menu and click **Sync**.

### Reconnect or disconnect

* **Reconnect** (for example after you revoke access in Google): open the connection's **⋮** menu, click **Edit credentials**, and sign in again. A full sync starts.
* **Disconnect:** open the connection's **⋮** menu and click **Remove**.

### Troubleshooting

<details>

<summary>Missing spreadsheet access. Check "See all your Google Sheets spreadsheets" and click Continue.</summary>

You left the Sheets permission unticked on Google's consent screen. Click **Grant access**, tick the box, and click **Continue**.

</details>

<details>

<summary>Invalid Google Sheet link. It must contain a sheet ID</summary>

The URL has no `#gid=`. Open the tab itself and copy the URL from the address bar, not from **Share → Copy link**.

</details>

<details>

<summary>&#x3C;your account> does not have access to this Google Sheet</summary>

The Google account you connected can't open the sheet. Share the sheet with that account, or connect a Google account that can open it.

</details>

<details>

<summary>XLSX files imported into Google Sheets aren’t supported</summary>

The file is an uploaded Excel file. Open it and use **File → Save as Google Sheets**, then add the new sheet's URL.

</details>

<details>

<summary>The sheet ID mentioned in the URL is invalid. Please check again.</summary>

The spreadsheet wasn't found. Check that the URL is complete and the file wasn't deleted.

</details>

<details>

<summary>Invalid Google Sheet URL. Please check the URL and try again</summary>

The `#gid=` in the URL doesn't match any tab, for example because the tab was deleted. Open the tab again and copy a fresh URL.

</details>

<details>

<summary>Sheet with the same name already exists.</summary>

A tab with the same spreadsheet name and tab name is already added to the connection. If it's the same tab, use **Sync** to refresh it; otherwise rename the spreadsheet or tab.

</details>

<details>

<summary>A Google Sheet instance with the account … already exists.</summary>

That Google account is already connected. Add more tabs with **Add data** on the existing connection.

</details>

<details>

<summary>The tab was added but the data looks wrong</summary>

Check the [format rules](#format-your-sheet): table at A1, headers in row 1, one table per tab, supported date formats.

</details>


# Integrating with Microsoft OneDrive

Connect Microsoft OneDrive to Drivetrain and import file data into planning models. Covers Microsoft 365 admin consent, signing in, and adding files.

Sign in with Microsoft once, then add each file you want as a dataset by pasting its URL. Each URL adds one sheet of an .xlsx workbook, or one .csv file.

## Before you start

* You're a Drivetrain **Admin**.
* You sign in with a **Microsoft account that can open the files** you want to import.
* Files are **.xlsx** or **.csv**.
* Microsoft asks you to approve the Drivetrain app's permissions: `Files.ReadWrite.All` (all files your account can access), `User.Read` and `offline_access`. Drivetrain only reads the files you add; it doesn't change them.

### If your organization requires admin consent

If your Microsoft 365 organization doesn't let users approve apps, a Microsoft 365 admin must approve Drivetrain first:

1. Open [this consent link](https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=e91b7619-1c8c-4455-8071-aedf6ca84954\&response_type=code\&redirect_uri=https://id.drivetrain.ai\&response_mode=query\&scope=offline_access%20Files.ReadWrite.All%20User.Read\&state=service~117) and sign in with the admin account.
2. Tick **Consent on behalf of your organization** and click **Accept**. You're redirected to Drivetrain.

<div align="left"><figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d13ba4ff9c673bbb3c8258be740d333b6cecddf4%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure></div>

## Step 1: Connect your OneDrive account

1. On the **Data** page, click the **+** icon next to **Data**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8645a523a904f5f97f2aea4538435c3dbbd081d2%2Fod-1.webp?alt=media" alt=""><figcaption></figcaption></figure>

2. Select **OneDrive**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6cbf76de48898096aa9eadb2292c88170ca7b3b2%2Fod-2.webp?alt=media" alt=""><figcaption></figcaption></figure>

3. Click **Connect OneDrive**. You're taken to Microsoft's sign-in page.
4. Sign in, or pick the account that holds the files, and accept the permissions.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3770361a9b5b1ad15692109fdeae448a43821136%2Fod-4.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-9d805bde36c64d2592ac11dca2d24a39f134c8b4%2Fod-5.webp?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c639670f227724853efc1f523560206318e0bd31%2Fod-6.webp?alt=media" alt=""><figcaption></figcaption></figure>

You're returned to Drivetrain and the **Add data from OneDrive** window opens.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-645d6fbd5b05a06384bc5c719c0a6336722cda61%2Fod-7.webp?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Add a file

1. In OneDrive, open the file in your browser.
2. Copy the URL from the address bar. It must contain `sourcedoc=` and `file=`.

{% hint style="warning" %}
Don't use OneDrive's **Copy link** or **Share** link. It doesn't contain `sourcedoc=` and Drivetrain rejects it.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d47f1236f5285c8bd81c09233c1104f4c946d800%2Fod-8.webp?alt=media" alt=""><figcaption></figcaption></figure>

3. In Drivetrain, paste the URL. Drivetrain checks that it can open the file (a green tick appears).
4. For an .xlsx file, pick the tab in **Sheet name**.
5. Click **Add**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d664550e681b9543c7453611659138e530d90c7d%2Fod-9.webp?alt=media" alt=""><figcaption></figcaption></figure>

The file appears as a dataset under the OneDrive connection once its first sync finishes.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8123ba2c4f721d1f4ddea763c5669b9cf5c2a64b%2Fod-10.webp?alt=media" alt=""><figcaption></figcaption></figure>

To add more files or tabs, click **Add data** on the connection and repeat.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-82d602ba748e37b6736bc4380d9887060d92ef78%2Fod-11.gif?alt=media" alt=""><figcaption></figcaption></figure>

## Format your file

* The table starts at **cell A1**, and **row 1** holds the column headers. No header may be empty.
* Each tab holds **only one table**.
* Formulas import as the values last saved in the file. Cells with formula errors (such as `#N/A` or `#REF!`) import as blank.
* Drivetrain stops reading a sheet after 1,000 blank rows in a row, so keep the data contiguous.

## Syncing

Each sync re-reads every file you added in full. Files sync automatically with your other data sources. To refresh now, open the connection's **⋮** menu and click **Sync**.

Don't rename or delete a tab you've added: the next sync can't find it and fails. To use a different tab, add it as a new dataset.

## Reconnect or disconnect

* **Reconnect** (for example after a password change or **Refresh token expired**): open the connection's **⋮** menu, click **Edit credentials**, and sign in again.
* **Disconnect:** open the connection's **⋮** menu and click **Remove**.

## Troubleshooting

<details>

<summary>Invalid link. It must contain a sourcedoc</summary>

You pasted a sharing link. Open the file in your browser and copy the URL from the address bar.

</details>

<details>

<summary>The file '…' was not found in SharePoint/OneDrive or is not accessible</summary>

The account you connected can't open the file, or the file was moved or deleted. Check you can open it while signed in as that account, then click **Retry fetching**.

</details>

<details>

<summary>Refresh token expired</summary>

Drivetrain's sign-in to Microsoft expired or was revoked. Open the connection's **⋮** menu, click **Edit credentials**, and sign in again.

</details>

<details>

<summary>The first row of this file is empty</summary>

Drivetrain checks the workbook's **first** sheet, whichever tab you picked. Make sure that sheet's table starts at A1 with headers in row 1, or move a cover sheet behind your data sheets, then add the file again.

</details>

<details>

<summary>We couldn't read the sheets in '…' because the workbook is too large for Microsoft to open</summary>

Remove unused sheets or replace formulas with their values to shrink the file, or save the data as a .csv and add that instead.

</details>

<details>

<summary>Can I refresh data from a OneDrive file?</summary>

Yes. Files sync automatically, and you can sync manually at any time.

</details>


# Integrating with SharePoint

Connect SharePoint to Drivetrain with an Azure app and import .xlsx or .csv files. Covers app registration, Sites.Read.All, adding files, and troubleshooting.

You register an app in Microsoft Entra ID (Azure) that can read your SharePoint sites, enter its details in Drivetrain, then add each file you want as a dataset by pasting its URL. Each URL adds one sheet of an .xlsx workbook, or one .csv file.

## Before you start

* You're a Drivetrain **Admin**.
* You can **register an app** in Microsoft Entra ID, and a Microsoft 365 admin can **grant tenant-wide admin consent** to it.
* Your site URL looks like `https://<tenant>.sharepoint.com/sites/<site>`. Sites under `/teams/` can't be connected.
* Files are **.xlsx** or **.csv**, stored in that site's default document library. A connection reads files from **its own site only**.

Drivetrain signs in as the app (no user), so it needs the **application** permission **Sites.Read.All**. It's read-only: it lets the app read documents and list items in all site collections. Drivetrain only reads the files you add.

## Step 1: Register an app in Azure

1. Sign in to the [Azure portal](https://portal.azure.com/#home) and search for **App registrations**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-53faa0521f6ef09cc0a6b300ed7990eb2c8afc6b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click **+ New registration**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d740a22071441d0221fa9db5bbf3d3afb4673353%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Name it (for example **Drivetrain SharePoint Integration**), select **Accounts in this organizational directory only**, and click **Register**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-dd651200c6566d6aec5a3ef8ceecbf315623b568%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Copy the **Application (client) ID** and **Directory (tenant) ID**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d9b78bafd50a408ac565b5a18feedf4e4d5d6dae%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Go to **Certificates & secrets** → **Client secrets** → **+ New client secret**, add a description, pick an expiry and click **Add**.
6. Copy the secret's **Value** (not the Secret ID). Azure shows it only once.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-3c0369e5b27ef5c6e09a908c9add09c736a07775%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Secrets expire (24 months at most). Note the date: when the secret expires, syncs fail until you [enter a new one](#update-credentials-or-disconnect).
{% endhint %}

7. Go to **API permissions** → **+ Add a permission** → **Microsoft Graph** → **Application permissions**, select **Sites.Read.All**, and click **Add permissions**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-18a003e53dd714b58e7142c78e061d1972eec816%2FSharePoint%20-%20Request%20API%20permissions%20-%20Files.Read.All.png?alt=media" alt=""><figcaption></figcaption></figure>

8. Click **Grant admin consent** and confirm. The permission's status shows as granted.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-33e3588dcf6113044b74fe113445fa2ac6a928df%2FSharePoint%20-%20Grant%20admin%20consent%20confirmation.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-241b3af5d7e372124dd86d61caf37e27d3bf4886%2FSharePoint%20-%20Admin%20consent%20granted.png?alt=media" alt=""><figcaption></figcaption></figure>

9. In SharePoint, open the home page of the site that holds your files and copy its URL, for example `https://yourcompany.sharepoint.com/sites/Finance`.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-62bc33bc838fc58f3f2bfa233e13f433bf2ecb0f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 2: Connect SharePoint in Drivetrain

1. On the **Data** page, click the **+** icon next to **Data** and select **SharePoint**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8645a523a904f5f97f2aea4538435c3dbbd081d2%2Fod-1.webp?alt=media" alt=""><figcaption></figcaption></figure>

2. Fill in:
   * **Application (Client) ID**
   * **Secret Key (Value)**: the secret's Value from step 6
   * **Directory (Tenant) ID**
   * **Site URL**: exactly `https://<tenant>.sharepoint.com/sites/<site>`, with nothing after the site name
3. Click **Submit**.

Drivetrain checks only the Site URL format at this point. A wrong ID or secret shows up when you add your first file.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-c363e4de55b59ad6aae0fe059728349583ed8159%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Step 3: Add a file

1. In SharePoint, open the file in your browser.
2. Copy the URL from the address bar. It must contain `sourcedoc=` and `file=`.

{% hint style="warning" %}
Don't use SharePoint's **Copy link** or **Share** link. It doesn't contain `sourcedoc=` and Drivetrain rejects it.
{% endhint %}

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-d47f1236f5285c8bd81c09233c1104f4c946d800%2Fod-8.webp?alt=media" alt=""><figcaption></figcaption></figure>

3. On the SharePoint connection, click **Add data** and paste the URL. Drivetrain checks that it can open the file (a green tick appears).
4. For an .xlsx file, pick the tab in **Sheet name**.
5. Click **Add**.

<figure><img src="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-8962768295a74955b1c2a81c44815d79b5a1a0d2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

The file appears as a dataset under the SharePoint connection once its first sync finishes. Repeat for each file or tab.

## Format your file

* The table starts at **cell A1**, and **row 1** holds the column headers. No header may be empty.
* Each tab holds **only one table**.
* Formulas import as the values last saved in the file. Cells with formula errors (such as `#N/A` or `#REF!`) import as blank.
* Drivetrain stops reading a sheet after 1,000 blank rows in a row, so keep the data contiguous.

## Syncing

Each sync re-reads every file you added in full. Files sync automatically with your other data sources. To refresh now, open the connection's **⋮** menu and click **Sync**.

Don't rename or delete a tab you've added: the next sync can't find it and fails. To use a different tab, add it as a new dataset.

## Update credentials or disconnect

* **New client secret:** create it in Azure (step 5), then open the connection's **⋮** menu, click **Edit credentials**, enter all four fields again (with the new secret's Value in **Secret Key (Value)**) and click **Update credentials**.
* **Disconnect:** open the connection's **⋮** menu and click **Remove**. To revoke access entirely, delete the app registration in Azure.

## Troubleshooting

<details>

<summary>Invalid SharePoint site URL format. Expected format: https://&#x3C;tenant_name>.sharepoint.com/sites/&#x3C;site_name></summary>

Enter the site's home URL only: `https://`, your `.sharepoint.com` domain, `/sites/` and the site name, with no page or folder after it. Site names can contain only letters, numbers, `_` and `-`.

</details>

<details>

<summary>We couldn't open the SharePoint site '…'</summary>

Check the site link, and that the app has **Sites.Read.All** (Application) with admin consent granted.

</details>

<details>

<summary>Microsoft couldn't return the SharePoint site '…' right now</summary>

A temporary Microsoft error. Try again in a few minutes. If it keeps failing, contact support and quote the Microsoft reference in the message.

</details>

<details>

<summary>An unexpected error occurred. Please try again.</summary>

Usually wrong credentials: the **Application (Client) ID**, **Directory (Tenant) ID** or secret is wrong (often the Secret ID was entered instead of the Value), or the secret has expired. Re-enter all four fields with [Edit credentials](#update-credentials-or-disconnect).

</details>

<details>

<summary>The source file must be from the same SharePoint site as configured in the connection settings</summary>

The file is on a different site from the connection's **Site URL**. Move the file to that site's default document library. This can show up after **Add**, as the connection's failure reason ("Failed to add table").

</details>

<details>

<summary>Invalid link. It must contain a sourcedoc</summary>

You pasted a sharing link. Open the file in your browser and copy the URL from the address bar.

</details>

<details>

<summary>The file '…' was not found in SharePoint/OneDrive or is not accessible</summary>

The file was moved or deleted, the link is wrong, or the app lost access. Check the file opens from the URL, then click **Retry fetching**.

</details>

<details>

<summary>The first row of this file is empty</summary>

Drivetrain checks the workbook's **first** sheet, whichever tab you picked. Make sure that sheet's table starts at A1 with headers in row 1, or move a cover sheet behind your data sheets, then add the file again.

</details>

<details>

<summary>We couldn't read the sheets in '…' because the workbook is too large for Microsoft to open</summary>

Remove unused sheets or replace formulas with their values to shrink the file, or save the data as a .csv and add that instead.

</details>

<details>

<summary>Syncs started failing after working for months</summary>

The client secret has probably expired. Create a new one and [update it in Drivetrain](#update-credentials-or-disconnect).

</details>


# Others

Integrate Drivetrain with tools across SSO, SFTP, Jira, Shopify, Oracle Fusion, and beyond. Find step-by-step setup guides for each listed connector.

Drivetrain integrates with 500+ other tools. You can integrate the following tools directly by following the instructions provided below:

* [Amazon S3](/integration-guide/readme/others/integrating-with-amazon-s3)
* [Amazon Seller](/integration-guide/readme/others/integrating-with-amazon-seller)
* [Brex](/integration-guide/readme/others/integrating-with-brex)
* [Clari](/integration-guide/readme/others/integrating-with-clari)
* [Drivetrain's SFTP](/integration-guide/readme/others/integrating-with-drivetrains-sftp)
* [Jira](/integration-guide/readme/others/integrating-with-jira)
* [NetSuite (Role Based Access)](/integration-guide/readme/others/integrating-with-netsuite-role-based-access)
* [Oracle Fusion](/integration-guide/readme/others/integrating-with-oracle-fusion)
* [SFTP](/integration-guide/readme/others/integrating-with-sftp)
* [Shopify](/integration-guide/readme/others/integrating-with-shopify)
* [SkySlope](/integration-guide/readme/others/integrating-with-skyslope)
* [SSO](/integration-guide/readme/others/setting-up-sso)
* [Twilio](/integration-guide/readme/others/integrating-with-twilio)

{% hint style="info" %}
**SFTP or Drivetrain's SFTP?** With [SFTP](/integration-guide/readme/others/integrating-with-sftp), Drivetrain pulls files from a server you host. With [Drivetrain's SFTP](/integration-guide/readme/others/integrating-with-drivetrains-sftp), you push files to a server Drivetrain hosts. The same split applies to S3: [Amazon S3](/integration-guide/readme/others/integrating-with-amazon-s3) is a Drivetrain-provided bucket you upload to; to have Drivetrain read your own bucket, see [S3](/integration-guide/readme/databases-and-warehouses/integrating-with-s3).
{% endhint %}

For any other business application that you would like to connect to Drivetrain, contact your customer success manager to help you get them connected.

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Brex</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6a654b1856ab5c8c5a472ab7df7e3cb5183c6b64%2Fbrex-drivetrain.avif?alt=media">brex-card.avif</a></td><td><a href="/integration-guide/readme/others/integrating-with-brex">Integrating with Brex</a></td></tr><tr><td align="center">Clari</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-aaf9a576f88a4ce2344d84a774e6ddee5133ef2b%2Fclari-drivetrain.avif?alt=media">clari-card.avif</a></td><td><a href="/integration-guide/readme/others/integrating-with-clari">Integrating with Clari</a></td></tr><tr><td align="center">NetSuite (Role Based Access)</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-735e11bf225f1da0a6c79ec5ac20287b435622f1%2Fnetsuite-drivetrain.avif?alt=media">netsuite-role-based-access-card.avif</a></td><td><a href="/integration-guide/readme/others/integrating-with-netsuite-role-based-access">Integrating with NetSuite (Role Based Access)</a></td></tr><tr><td align="center">Shopify</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-6b385a7b23c4a0f7c572045175d2b61082838d7e%2Fshopify-drivetrain.avif?alt=media">shopify-card.avif</a></td><td><a href="/integration-guide/readme/others/integrating-with-shopify">Integrating with Shopify</a></td></tr><tr><td align="center">SSO</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-fa057a36af9fb9960da22bc6e365f1eefde80858%2Fsso-drivetrain.avif?alt=media">sso-card.avif</a></td><td><a href="/integration-guide/readme/others/setting-up-sso">Setting up SSO</a></td></tr><tr><td align="center">Twilio</td><td><a href="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fgit-blob-127001852515dc095a5223cd0db72618ce322aa7%2Ftwilio-drivetrain.avif?alt=media">twilio-card.avif</a></td><td><a href="/integration-guide/readme/others/integrating-with-twilio">Integrating with Twilio</a></td></tr></tbody></table>




---

[Next Page](https://integrations.drivetrain.ai/llms-full.txt/1)

