Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Get a BambooHR account: Use your company’s existing BambooHR account, or start a free trial at https://www.bamboohr.com to get a test company. Note your subdomain - the {company} part of https://{company}.bamboohr.com.
  2. Generate an API key: Log in to BambooHR, click your name in the lower-left corner, and choose API Keys to generate a key. The key inherits the permissions of your user, so time-off and directory access depend on what your user can see.
  3. Store the credentials: Add BAMBOOHR_API_KEY=<your key> and BAMBOOHR_SUBDOMAIN=<your subdomain> to your .env file. The API uses HTTP Basic auth with the API key as the username and any string as the password (BAMBOOHR_API_PASSWORD defaults to x).
  4. Verify access: Run the Get Employee Directory tool with companyDomain set to your subdomain. Requests go to https://{companyDomain}.bamboohr.com/api/v1/.
  • Responses default to XML; every tool sends Accept: application/json to get JSON
  • List Time-Off Requests requires both start and end dates (YYYY-MM-DD)
  • Whether you can create or approve time-off requests depends on the permissions of the user who owns the API key
Provider API reference: https://documentation.bamboohr.com/docs

Tools

Example prompts

  • Check BambooHR for who is out of office this week and summarize by team.
  • Find an employee I name in the BambooHR directory and show their job title, department, and contact details.
  • List BambooHR time-off requests with status requested for the next month and summarize what needs approval.