> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up BambooHR in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/bamboohr
Last updated: 2026-11-24

Share BambooHR with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 39 tools (23 read-only).

---

To give your team BambooHR in Claude, ChatGPT, Cursor and other AI clients, an admin shares the BambooHR integration in a Metorial portal, and each person signs in to BambooHR with their own account. Agents can read and update visible BambooHR employee records and tables, time off, timesheets, goals and training records. The integration has 39 tools, 23 read-only, 14 write and 2 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares BambooHR in a portal and how each person connects
- The 2 OAuth scopes BambooHR can request, and what each one allows
- How to keep the 23 read-only tools and reject the other 16

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with BambooHR for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `apiKey` and `companyDomain` |
| **OAuth 2.0** (default) | OAuth | Signs in to BambooHR after entering `companyDomain` |

The portal and `metorial setup` use **OAuth 2.0** unless someone picks another method.

### API Key

To connect, a person enters these values:

- `apiKey`: Your BambooHR API key
- `companyDomain`: Your BambooHR company subdomain (e.g., "mycompany")

### OAuth 2.0

Before the sign-in, setup asks for:

- `companyDomain`: Your BambooHR company subdomain (e.g., "mycompany")

People sign in to BambooHR and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `offline_access` | Offline Access | Enables refresh tokens for long-lived access |
| `openid` | OpenID | Access to basic identity information |

### Setup settings

Whichever method you pick, setup also asks for:

- `companyDomain`: Your BambooHR company subdomain (e.g., if you access https://mycompany.bamboohr.com, enter "mycompany")

## Use your own BambooHR OAuth app

With your own OAuth app, people see your company's name on the BambooHR consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose BambooHR and copy the **Redirect URI**.

2. **Register the app with BambooHR**

   Create an OAuth app or client in BambooHR and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the BambooHR integration.

## Admin: share BambooHR in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose BambooHR. Under **Auth Method**, keep **OAuth 2.0** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to BambooHR as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from BambooHR.

4. **Choose who gets it**

   Add the access groups that should see BambooHR. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user BambooHR integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search bamboohr
```

## Employee: connect BambooHR

### In the portal

1. **Open BambooHR in the catalog**

   Sign in to your portal and open BambooHR. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A BambooHR sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search bamboohr
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth 2.0**. To connect with **API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your BambooHR connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list bamboohr
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 23 read-only tools, such as `get_goals` and `list_files`, and lose the 14 write tools, such as `create_goal` or `update_goal`, and the 2 destructive tools, such as `delete_file` or `delete_table_row`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list bamboohr
metorial tools <integration-id>
metorial call <integration-id> get_account_fields -d '{}'
```

`metorial tools` lists the 39 tools, minus any you rejected. `get_account_fields` takes no input. It retrieves visible employee field definitions, including field IDs, names, types and aliases for employee reads, writes and reports.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (23)

- `get_account_metadata`: Retrieve company-level metadata including list values (e.g., departments, locations, divisions), table definitions, and user accounts.
- `get_time_off_balances`: Retrieve visible time off balances for an employee as of a date. Needs `employeeId`.
- `get_job_listings`: Retrieve all job listings from BambooHR's applicant tracking system.
- `get_employee_training_records`: Retrieve training records for a specific employee. Needs `employeeId`.
- `get_application_details`: Retrieve detailed information about a specific job application, including the applicant's name, contact information, resume, answers to screening questions, and current status. Needs `applicationId`.
- `get_company_report`: Run an exact saved custom report. Needs `reportId`.
- `get_employee_directory`: Retrieve employee directory entries visible under the company's directory sharing settings.
- `get_goals`: Retrieve up to 50 visible goals for an employee. all includes closed goals, open selects goals in progress, and closed selects closed goals. Needs `employeeId`.
- `get_account_fields`: Retrieve visible employee field definitions, including field IDs, names, types and aliases for employee reads, writes and reports.
- `get_applications`: Retrieve job applications from BambooHR's applicant tracking system.
- `get_benefits_overview`: Retrieve visible company benefit plan summaries and deduction types.
- `list_files`: List files for an employee or the company.
- `get_timesheet_entries`: Retrieve timesheet entries and clock entries for a date range. Needs `start` and `end`.
- `get_time_off_types`: Retrieve all available time off types configured in BambooHR (e.g., vacation, sick leave, personal days).
- `get_whos_out`: List visible time off occurrences and company holidays for a date range.
- `get_time_off_requests`: Retrieve time off requests within a date range. Needs `start` and `end`.
- `get_employee`: Retrieve detailed information about a specific employee by their ID. Needs `employeeId` and `fields`.
- `get_table_data`: Retrieve tabular data for an employee. Needs `employeeId` and `tableName`.
- `get_training_types`: Retrieve visible training types, including their IDs, names, assigned categories and required status.
- `generate_custom_report`: Generate an ad-hoc employee report using the documented deprecated report endpoint. Needs `fields`.
- `list_resources`: Discover internal employee IDs, current saved report IDs, or active application status IDs.
- `get_current_user`: Resolve the authenticated caller using employee ID 0, requesting only first and last name.
- `download_file`: Download an exact existing employee or company file after checking that its ID appears in that folder.

### Write tools (14)

- `create_employee`: Create a new employee record in BambooHR. Needs `firstName` and `lastName`.
- `create_goal`: Create a simple goal for an employee. Needs `employeeId` and `title`.
- `update_goal`: Update an existing goal. Needs `employeeId` and `goalId`.
- `add_application_comment`: Add a comment to a job application. Needs `applicationId` and `comment`.
- `add_goal_comment`: Add a comment to an existing employee goal. Needs `employeeId`, `goalId` and `text`.
- `upload_file`: Upload a file to an employee's file folder or the company file folder. Needs `categoryId`, `fileName` and `fileContent`.
- `update_employee`: Update one or more fields on an existing employee record. Needs `employeeId` and `fields`.
- `update_application_status`: Change the status of an exact job application. Needs `applicationId` and `statusId`.
- `upsert_table_row`: Add a new row or update an existing row in an employee's table data. Needs `employeeId`, `tableName` and `rowData`.
- `update_time_off_request_status`: Change the status of an existing time off request. Needs `requestId` and `status`.
- `add_training_record`: Record a completed training for an employee. Needs `employeeId`, `trainingTypeId` and `completed`.
- `add_timesheet_entry`: Add a timesheet hour entry for an employee on a specific date. Needs `employeeId`, `date` and `hours`.
- `clock_in_out`: Clock an employee in or out for time tracking. Needs `employeeId` and `action`.
- `create_time_off_request`: Submit a new time off request for an employee. Needs `employeeId`, `timeOffTypeId`, `start`, `end` and `amount`.

### Destructive tools (2)

- `delete_table_row`: Delete a specific row from an employee's table data. Needs `employeeId`, `tableName` and `rowId`.
- `delete_file`: Delete a file from an employee's file folder or the company file folder. Needs `fileId`.

## Triggers

BambooHR has 1 trigger, which fire on events in BambooHR:

- `employee_changed`: Triggers when employee data is created, updated, or deleted in BambooHR.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use BambooHR there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [BambooHR on metorial.com](https://metorial.com/integrations/bamboohr): the integration overview