# Integrating with BambooHR

**Drivetrain integrates with BambooHR** to bring in **employee and organizational data** for workforce planning, headcount tracking, and HR-linked financial models.

To connect your BambooHR account to Drivetrain, follow the steps below.

### Prerequisites

Before you begin, make sure you have:

* Your BambooHR **subdomain** (e.g., in `yourcompany.bamboohr.com`, the subdomain is `yourcompany`)
* A BambooHR **admin account login credentials**
* **Admin permissions** within Drivetrain

### 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 admin account credentials**
4. Click **Log In**

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

### Step 2: Generate an API key in BambooHR

1. Click your **profile picture** in the bottom-left corner > **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="/files/jbkRx1PfmbC1e0woHnpe" alt=""><figcaption></figcaption></figure>

### Step 3: Integrate in Drivetrain

1. Go to the **Data page** in Drivetrain
2. Click the **+** **icon** in the top-left corner to **add a new data source**
3. Select **BambooHR** from the list of available integrations
4. Enter your **BambooHR subdomain** into the **Subdomain field**&#x20;
5. Paste the **API key** into the **API Key field**
6. Click **Submit**

Drivetrain will validate your credentials and begin syncing your BambooHR data. You’ll be able to monitor sync progress from the Data page.

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

### Next Steps

Once connected, you’ll be able to:

* **Pull employee attributes** like name, ID, department, location, and more
* **Use employee data** in planning models, filters, and access controls

### Troubleshooting

If you’re unable to connect BambooHR to Drivetrain after completing the steps above, reach out to your Drivetrain onboarding partner. In most cases, no additional configuration is required.

{% hint style="info" %}
Include a **screenshot** or **brief description** of the error message. We'll help you troubleshoot and guide you through next steps.
{% endhint %}

### 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/integrate-with-drivetrain/hris-and-ats/integrating-with-bamboohr/grant-temporary-access-to-bamboohr.md)

This is not required for setup or general connection issues.


---

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