Skip to main content
SmartRecruiters

Set Up Google Calendar Integration

In order to set up Google Calendar integration in SmartRecruiters, you'll need to be an Administrator in SmartRecruiters, and have Administrator-level access to your company's Google Cloud Apps (console.developers.google.com) and Search Console (google.com/webmasters/tools). Make sure to log into the Cloud Apps and Search Console and make changes using the same Gmail account.

Make sure to log into the Cloud Apps and Search Console and make changes using the same Gmail account.

  1. Configure Google Calendar to accept updates from SmartRecruiters.
  2. Configure SmartRecruiters to read Google Calendar and post updates.

Configure Google Calendar

The first step in the configuration process allows SmartRecruiters to retrieve employees' Google Calendars.

  1. First, go to https://console.developers.google.com.
  2. Create a project if you don't already have one, or select an existing one.

Enable API access

Enable access to this project for the Calendar and Admin SDK APIs:

  1. In the API Manager pane, click Library to see the list of available APIs.
  2. In the Google Apps APIs list, click Calendar API, then Enable.
  3. Go back to the Library.
  4. In the Google Apps API list, click Admin SDK API, then Enable.

Now, you'll need to add create a service account and add credentials.

Create service account

Create a new service account:

  1. Back in the API Manager pane, click Credentials.
  2. Click Create Credentials. 
  3. Select Service account key from the list.
  4. Choose New Service account from the Service Account list.
  5. Name the service account SmartRecruiters Integration.
  6. For Role, select Project, then Owner
  7. Make sure the JSON option is selected for Key Type.
  8.  Click Create. The key will automatically download a .json file to your default download folder. Hold onto this file. You'll need this file later, and it is the only copy of the key.

Edit service account

Edit the service account:

  1. While still on the Credentials page, click Manage Service Accounts.
  2. Open the Options menu for the account you just created, and click Edit.
  3. Check Enable Google Apps Domain-wide Delegation.
  4. Enter SmartRecruiters Integration in the product name field.
  5. Click Save.
  6. After you’ve enabled Domain-wide Delegation, the API Manager will create an OAuth 2.0 Client ID. You’ll need this ID for the next step. To find it:
    1. In the API Manager pane, click Credentials.
    2. Find the client you just created by looking for the product name.
    3. Copy the Client ID.

Authorize Calendar API

Authorize the Calendar API client in your Google Admin settings:

  1. Go to https://admin.google.com.
  2. Navigate through SecurityMore Settings > Advanced settingsManage API client access.
  3. Enter the Client ID into the Client Name field.
  4. In the One or More API Scopes field, enter both of the following URLs and separate them with a comma:
  5. Click Security to go back to the Security Admin page.
  6. If it’s not already selected, click Enable API access.

Configure SmartRecruiters

The second step in the setup process allows Google to recognize changes to an employee's calendar (e.g., when they Accept or Decline an interview) and updated SmartRecruiters.

  1. Log in to SmartRecruiters and go to the Settings / Admin page.
  2. Click Calendar Integrations, then the Google Integration tab.
  3. Under Key File, click Choose a file and upload the .json key file you downloaded earlier.
  4. Click Copy to copy the Google Calendar Webhook URL for your SmartRecruiters account. It’ll look similar to:
     https://www.smartrecruiters.com/calendar/webhooks/CompanyIdentifier/
  5. Open https://www.google.com/webmasters/tools.
  6. Paste the Google Calendar Webhook URL. Make sure to include the https:// prefix, e.g.:
     https://www.smartrecruiters.com/calendar/webhooks/CompanyIdentifier/
  7. Click Add A Property.
  8. In the Search Console verification page, download the HTML verification file. Keep this page open.
  9. Back in SmartRecruiters, on the Google Integration page, upload the HTML file into the Verification File field. Make sure that the file name is identical to the one that you downloaded.
  10. On the Google Search Console page, then complete the CAPTCHA and click Verify.
  11. Go to https://console.developers.google.co...inverification. Make sure you’re in the project that contains your Google Calendar service account.
  12. Paste the Google Calendar Webhook URL without the https:// prefix, e.g.:.
    www.smartrecruiters.com/calendar/webhooks/CompanyIdentifier/
  13. Click Add Domain.
  14. In SmartRecruiters, on the Google Integration tab, click Load Resources to add any reservable calendar resources, such as conference rooms.

SmartRecruiters may take a few minutes to refresh and complete the integration, so if you see an error message that SmartRecruiters “can’t load resources”, just wait a few minutes.

When your calendar resources have loaded into the list, contact SmartRecruiters Support to finish the integration.