> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect BambooHR with API Key – StackOne Hub

> Link a BambooHR account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using BambooHR actions.

> [!WARNING]
>
> Admin or Full Access user permissions in BambooHR are required to generate an API key.

## Finding Your Company Domain

Your company domain identifies your BambooHR instance.

**1. Locate Your Company Domain**

Your company domain is the text before `.bamboohr.com` in your BambooHR URL.

<ul>
  <li>Format: `https://{companydomain}.bamboohr.com`</li>
  <li>Example: `https://mycompany.bamboohr.com`, so your company domain is `mycompany`</li>
</ul>

## Generating an API Key

Your API key is generated from your BambooHR account settings and grants the integration access to your data.

**1. Create a New API Key**

Sign in to your [BambooHR account](https://app.bamboohr.com/login/).

<ul>
  <li>Click your **name/avatar** in the lower-left corner.</li>
  <li>Select **API Keys** from the dropdown menu.</li>
  <li>Click **Add New Key**.</li>
  <li>**API Key Name**: `StackOne Integration`</li>
  <li>Click **Generate Key**.</li>
</ul>

![Add New API Key dialog showing the API Key Name field and the Generate Key button](https://mintcdn.com/stackone-60/QvLsh-eSepQLDgD6/connectors/bamboohr/images/bamboohr-config-02-generate-key.png?fit=max\&auto=format\&n=QvLsh-eSepQLDgD6\&q=85\&s=0eb1ad5c6c0856f2dcff1bd36fc20511)

**2. Copy the API Key**

Copy the **API Key** across. BambooHR displays it only once and cannot show it again.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/bamboohr/guides/webhook-setup.md)
>
> Configure receiving Events for BambooHR into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.