> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-agent-management-platform-dev.mintlify.app/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 XO 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](../../../dev-tools/bot-authorization/bot-authentication.md) 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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img2.png" alt="Auth type" />

4. Enter your **API Key**.

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img3.png" alt="Integration Successful" />

<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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img4.png" alt="Create New" />

5. Select the authorization mechanism (e.g., **Basic Auth**).

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img5.png" alt="Auth mechanism" />

   See [App Authorization Overview](../../../dev-tools/bot-authorization/bot-authentication.md) 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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img6.png" alt="Auth credentials" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img7.png" alt="Select auth profile" />

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://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img8.png" alt="Explore templates" />

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

   <img src="https://mintlify.s3.us-west-1.amazonaws.com/koreai-agent-management-platform-dev/ai-for-service/integrations/actions/images/bamboo-hr-img9.png" alt="Install" />

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](using-the-bamboohr-templates.md).


Built with [Mintlify](https://mintlify.com).