> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/integration-guide/readme/hris-and-ats/integrating-with-gusto.md).

# Integrating with Gusto

Connect Gusto to Drivetrain to import payroll and headcount data into models. Covers authorization and required permissions.

[Prerequisites](#prerequisites)

[Gusto setup](#gusto-setup)

[Create a new user](#create-a-new-user)

[Drivetrain setup](#drivetrain-setup)

## Prerequisites

To connect Gusto to Drivetrain, you need:

* An active Gusto account
* Admin privileges on Gusto
* Admin privileges in Drivetrain

## Gusto setup

Drivetrain supports integration with Gusto via API from an admin user account. To get started, create a new user on Gusto.

### Create a new user <a href="#create-a-new-user" id="create-a-new-user"></a>

Follow this short video guide on how to set up Gusto:

{% embed url="<https://www.loom.com/share/ac95302128334291a09aa67b664f9c96?t=1>" %}

Or follow the step-by-step instructions below:

1. Log in to Gusto with an admin account.
2. Navigate to Settings by clicking **My Profile** from the overflow menu in the top-right corner of the screen.
3. Click the **Permissions** tab.
4. Click **Gusto admins** to add a new admin user.
5. Click **Add new admin**.
6. Specify the details as shown in the image below. *(Your Drivetrain customer success manager will share the email address with you.)*
7. Select **Full Access** under **Which roles will Drivetrain Integration need to help run your business?**
8. Under **Summary**, click **Add admin**.

## Drivetrain setup <a href="#drivetrain-setup" id="drivetrain-setup"></a>

1. Log in to your Drivetrain account.
2. Click **+ New Data Source**.

![](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)

3. Click **+Connect** on the Gusto data connector in the list of integrations.

![](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)

4. On the widget, 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)

5. Enter your Gusto **User ID** and **Password**, and click **Submit**.

![](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)

6. Enter the Gusto 2FA 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)

7. Wait while your Gusto integration is set up. Once done, 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)


---

# 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
If you need additional information that is not directly available in this page, you can query the documentation 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/integration-guide/readme/hris-and-ats/integrating-with-gusto.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.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
