# Integrating with Justworks

### Prerequisites

Before you begin, ensure:

1. You have an active **Justworks admin** account.
2. You have **Admin access in Drivetrain** with permission to add data sources.

### Connect Justworks

Follow these steps to start the connection from within Drivetrain:

#### Step 1: Open the Justworks connector in Drivetrain

* Log in to **Drivetrain**.
* Go to the **Data** page.
* Click the **+ Add data source** icon.
* Search for **Justworks** and select it.

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

* Confirm **I am an admin** and click **Next**.

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

* **Review the list of items** Drivetrain will have read access to and click **Next**.

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

* Click **Open window** to launch the Justworks login prompt.

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

#### Step 2: Log in to Justworks

* You’ll be redirected to the **Justworks login** screen.
* Sign in using your **Justworks admin credentials**.

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

#### Step 3: Authorize the Connection

* Click **Next** on the first screen.

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

* If prompted, check the box to allow access to **Sex** or **Date of Birth** information.
  * This checkbox only appears if your company requires that level of access.
* Click **Authorize** to complete authentication.

<figure><img src="/files/7hDmWmFYALl1r7cQo6iG" alt=""><figcaption></figcaption></figure>

Once authorization succeeds, Merge will redirect you back to Drivetrain and your Justworks sync will begin.


---

# 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-justworks.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.
