# 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="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2Fr3yMC9HHTgTGkZVKYggx%2FBambooHR%20Integration%20(6).gif?alt=media&#x26;token=ef2e8442-cff4-4229-88d5-35d6de8be603" 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="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FQn54Hqjk3SJjzpnLLlxy%2FBambooHR%20Integration%20(8).gif?alt=media&#x26;token=c260c992-af85-4e2c-9f73-ff431628de14" 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="https://4220329029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmBZR0D9lq6jrI895OuOU%2Fuploads%2FPmT68IF5DfOYYw5qF5rU%2FBambooHR%20Integration%20(4).gif?alt=media&#x26;token=db486dcc-4c12-4ec7-95c4-243b4536d3f7" 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](https://integrations.drivetrain.ai/integration-guide/integrate-with-drivetrain/hris-and-ats/integrating-with-bamboohr/grant-temporary-access-to-bamboohr)

This is not required for setup or general connection issues.
