> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-ai-for-work-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the BambooHR Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect the Platform to BambooHR to create, view, and update employees, manage time off requests, and update request statuses. See [BambooHR documentation](https://documentation.bamboohr.com/docs) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for BambooHR integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Supported |
| ---------------------------------------- | --------- |
| Pre-Authorize the Integration            | Yes       |
| Allow Users to Authorize the Integration | Yes       |

***

## Prerequisites

Before enabling the BambooHR action:

* Create a [BambooHR](https://documentation.bamboohr.com/docs) developer account.
* Copy the **user sub domain** and **API key** values.

***

## Step 1: Enable the BambooHR Action

Go to **App Settings > Integrations > Actions** and select **BambooHR**.

### Pre-authorize the Integration (Basic Auth)

1. Select **BambooHR** in the **Available Actions** region.

2. In the **Configurations** dialog, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img2.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=c560ce7f9f644e0d971cdb0bddeb8f55" alt="Auth type" width="959" height="831" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img2.png" />

4. Enter your **API Key**.

5. Click **Enable**. The Integration Successful pop-up appears on first configuration.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img3.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=07122993897648e28703ee24758e858d" alt="Integration Successful" width="598" height="241" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img3.png" />

<Note>The BambooHR action moves from Available to Configured.</Note>

### Allow End Users to Authorize (Basic Auth)

1. Select **BambooHR** in the **Available Actions** region.

2. In the **Configurations** dialog, select the **Authorization** tab.

3. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

4. Click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img4.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=ce29c83dd4ae8305aae26cce039dfa8d" alt="Create New" width="798" height="846" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img4.png" />

5. Select the authorization mechanism (for example, **Basic Auth**).

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img5.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=4da0eeff7a1889d55d1b5adc5d8e8b01" alt="Auth mechanism" width="888" height="904" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img5.png" />

   See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for creating Basic Auth profiles.

6. Enter the following credentials:

   | Field                   | Description                               |
   | ----------------------- | ----------------------------------------- |
   | Name                    | Name for the Basic Auth profile           |
   | Tenancy URLs            | Select Yes if tasks require tenancy URLs  |
   | Base URL                | Base tenant URL for the BambooHR instance |
   | Authorization Check URL | Auth check URL                            |
   | Description             | Description of the auth profile           |

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img6.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=7fc2847f8d2df653311c26fae357b339" alt="Auth credentials" width="894" height="915" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img6.png" />

7. Click **Save Auth**, then select the new profile.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img7.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=e4d893d9a61fde16042c47a9310c9999" alt="Select auth profile" width="798" height="849" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img7.png" />

8. Click **Enable**. The Integration Successful pop-up appears.

***

## Step 2: Install BambooHR Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img8.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=f19aedafcfcb64938761c6d20aab0d06" alt="Explore templates" width="600" height="240" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img8.png" />

2. Click **Install** for the desired template.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/qM7mwNztp4e7APSL/ai-for-service/integrations/actions/images/bamboo-hr-img9.png?fit=max&auto=format&n=qM7mwNztp4e7APSL&q=85&s=43bb24e80d69e6f8513e4aa8018fdf61" alt="Install" width="710" height="795" data-path="ai-for-service/integrations/actions/images/bamboo-hr-img9.png" />

3. The associated dialog task is auto-created. Click **Go to Dialog** or navigate to **Automation AI > Use Cases > Dialogs**.

4. To use the templates, see [Using BambooHR Action Templates](/ai-for-service/integrations/actions/using-the-bamboohr-templates).
