Set up BambooHR in Metorial for Claude, ChatGPT and Cursor
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'll 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 with at least one access group
- An account with BambooHR for each person who connects
- For the CLI steps: the Metorial 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 keycompanyDomain: 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.
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.
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.
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
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from BambooHR.
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:
Employee: connect BambooHR
In the portal
Open BambooHR in the catalog
Sign in to your portal and open BambooHR. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A BambooHR sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
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.
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.
Check it worked
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. NeedsemployeeId.get_job_listings: Retrieve all job listings from BambooHR's applicant tracking system.get_employee_training_records: Retrieve training records for a specific employee. NeedsemployeeId.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. NeedsapplicationId.get_company_report: Run an exact saved custom report. NeedsreportId.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. NeedsemployeeId.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. Needsstartandend.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. Needsstartandend.get_employee: Retrieve detailed information about a specific employee by their ID. NeedsemployeeIdandfields.get_table_data: Retrieve tabular data for an employee. NeedsemployeeIdandtableName.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. Needsfields.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. NeedsfirstNameandlastName.create_goal: Create a simple goal for an employee. NeedsemployeeIdandtitle.update_goal: Update an existing goal. NeedsemployeeIdandgoalId.add_application_comment: Add a comment to a job application. NeedsapplicationIdandcomment.add_goal_comment: Add a comment to an existing employee goal. NeedsemployeeId,goalIdandtext.upload_file: Upload a file to an employee's file folder or the company file folder. NeedscategoryId,fileNameandfileContent.update_employee: Update one or more fields on an existing employee record. NeedsemployeeIdandfields.update_application_status: Change the status of an exact job application. NeedsapplicationIdandstatusId.upsert_table_row: Add a new row or update an existing row in an employee's table data. NeedsemployeeId,tableNameandrowData.update_time_off_request_status: Change the status of an existing time off request. NeedsrequestIdandstatus.add_training_record: Record a completed training for an employee. NeedsemployeeId,trainingTypeIdandcompleted.add_timesheet_entry: Add a timesheet hour entry for an employee on a specific date. NeedsemployeeId,dateandhours.clock_in_out: Clock an employee in or out for time tracking. NeedsemployeeIdandaction.create_time_off_request: Submit a new time off request for an employee. NeedsemployeeId,timeOffTypeId,start,endandamount.
Destructive tools (2)
delete_table_row: Delete a specific row from an employee's table data. NeedsemployeeId,tableNameandrowId.delete_file: Delete a file from an employee's file folder or the company file folder. NeedsfileId.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use BambooHR there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- BambooHR on metorial.com: the integration overview