Search API Connector Documentation

Print

Import BambooHR Data to Google Sheets

In this guide, we’ll walk through how to pull data from the BambooHR API directly into Google Sheets, using the API Connector add-on for Sheets.

We’ll first get an API key from BambooHR, and then set up a request to pull in human resources data to your spreadsheet.

Contents

Before You Begin

Click here to install the API Connector add-on from the Google Marketplace.

Part 1: Get Your BambooHR API Key

  1. While logged into your BambooHR account, click your Profile icon > API keys from the header bar.
    bamboohr-img1
  2. Click the Add New Key button
    bamboohr-img2
  3. Give your API key a name and click Generate Key.
    bamboohr-img3
  4. One last step: Because the BambooHR API requires Basic Authentication, we need to encode our authentication info to base 64. You can do this by entering your your credentials in the format YOUR_API_KEY:x into this form (i.e. your API key, then a colon, and then an ‘x’).

    The encoding script runs in your browser, and none of your credentials are seen or stored by this site.
 

 

 

(If you have any problems with the above, please check this post for some alternate methods of encoding your credentials).

Part 2: Pull Data from BambooHR to Sheets

The easiest way to get started with the BambooHR API is through API Connector’s built-in integration.

  1. Select BambooHR from the drop-down list of applications
    bamboohr-application
  2. Under Authorization, enter your credentials from above, with the word Basic in front.
  3. Choose an endpoint of interest.
    bamboohr-endpoints
  4. Fill in the companyDomain parameter. You can get your domain name from the URL when you’re logged into BambooHR.bamboohr-img0
  5. Select a destination sheet, name your request, and hit Run.

Part 3: Create a Custom API Request

Alternatively, you can run your own custom requests instead of using API Connector’s pre-built integration, using any of the URLs shown in the API documentation. To create a custom request, add the complete URL into the request URL field, along with a Header where Key = Authorization, and Value = Basic your_encoded_credentialsbamboohr-img7

Notes:

  1. Choose Grid mode for your request
  2. BambooHR returns some extra columns in the beginning of the response. To select just the fields you want, just click Edit Fields to enter the visual field editor, where you can select, re-arrange, and rename fields.

Part 4: API Documentation

Official documentation: https://documentation.bamboohr.com/reference

Previous Import Asana Data to Google Sheets
Next Import BigQuery Data to Google Sheets

Leave a Comment

Table of Contents