# Integrating with Gusto

[Prerequisites](#prerequisites)

[Gusto Setup](#gusto-setup)\
&#x20;  [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 <a href="#gusto-setup" id="gusto-setup"></a>

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

### Create a New User

Please follow this short video guide with instructions on how to set up Gusto:

{% embed url="<https://www.loom.com/share/ac95302128334291a09aa67b664f9c96?sid=4a9fd46d-b5f5-4ebb-88cf-5297a52dfad3>" %}

Or you can follow the step-by-step instructions given below:

1. Log in to Gusto with an Admin account
2. Navigate to Settings by clicking on **My Profile** from the overflow menu on the top-right of the screen
3. Click on the **Permissions** tab
4. Click on **Gusto admins** to add a new Admin user
5. Click on **Add new admin**
6. Specify the details as per the image below (*Your Drivetrain customer success manager would 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 on **+ New Data Source**

<figure><img src="/files/1DRT2xNtuF5KXYm5OuYh" alt=""><figcaption></figcaption></figure>

3. Click **+Connect** on the Gusto Data Connector from the list of integrations

<figure><img src="/files/PE2yIl7s2v88k4Kn1Dlw" alt=""><figcaption></figcaption></figure>

4. On the widget, click **Continue**

<figure><img src="/files/dZ00if6i6ljCxSjTSua6" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/XBjehNQAURVRFPIVktwh" alt=""><figcaption></figcaption></figure>

6. Enter the 2FA code you would have received on your email/authenticator/phone for Gusto

<figure><img src="/files/u2xjkjds0O106XIYC9hk" alt=""><figcaption></figcaption></figure>

7. Please wait while your Gusto integration is set up. Once done, click on **Finish Setup**

<figure><img src="/files/uNkJZSmO9UyL9EJP1cVn" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kZ3dFkAS0EjAP7v7tuT8" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/hris-and-ats/integrating-with-gusto.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
