Skip to content

HiBob connects with a service user's ID and token, or with OAuth 2.0 through a HiBob app you own.

Install the HiBob integration

Install HiBob from Available integrations in each environment you connect accounts from.

Set up your HiBob OAuth app

Truto doesn't ship a HiBob OAuth app of its own. Before your end users can connect with OAuth, bring yours:

  1. HiBob OAuth apps are registered through the HiBob Marketplace partner program. Ask HiBob to register your app with https://api.truto.one/connect/hibob/callback as its redirect URL. If you use a redirect URL on your own domain, add that URL instead.
  2. Enter the app's Client ID and Client Secret on the installed HiBob integration. See Overriding OAuth credentials.

When you click Install, the second step shows the Redirect URL to add to your app and asks for its Client ID and Client Secret. If you skip it, add them later on the Configuration tab.

By default, Truto asks HiBob for these scopes. The Connect UI lists them under Permissions required, and you can change them when you override the OAuth credentials.

  • employee_data:read
  • employee_data:write
  • employee_data.sensitive:read
  • employee_data.sensitive:write
  • employee_data.history:read
  • employee_data.sensitive.history:read
  • payrollhub:read
  • timeoff:read
  • timeoff:write
  • timeoff.sensitive:read
  • timeoff.sensitive:write
  • documents:read
  • documents:write
  • tasks:write
  • reports:read
  • job_catalog:read
  • hiring:write
  • workforce_planning:read
  • attendance:write
  • employee_data.sensitive.history:write

Enable the same scopes on your app. If your app allows fewer, change the list under Use your own OAuth settings → Scopes on the installed integration's Configuration tab to match.

Info

Until you add them, the Connect UI offers HiBob only through the API Key method.

Create a HiBob service user

For the API Key method, create a service user and give it permissions.

Warning

You need to be a HiBob Administrator to follow these steps.

  1. Log in to HiBob, click Settings on the sidebar, and then click Integrations under the Account section. HiBob integrations
  2. Search for "service users" and click Manage. HiBob service users
  3. Click New Service User. HiBob new service user
  4. Enter the Service User Name and Display Name. Click Next. HiBob service user details
  5. Copy the ID and Token. You enter them when you connect. HiBob service user id and token
  6. Go to Permission Groups in HiBob and click Create Group. HiBob permission groups
  7. Enter a Group Name and choose Select people by condition in the Group members section. Click Edit. HiBob create permission group
  8. Remove any conditions if present, and select the service user you created in step 4 from the Add Specific Employees dropdown. Click Apply and then click Create. HiBob permission group members
  9. On the Group details page, click Edit permissions and select all permissions from the People and Timeoff categories in the Features tab. HiBob People permissions HiBob Timeoff permissions
  10. Move on to the People's data tab and click Edit. HiBob People's data tab
  11. Select all the Lifecycle statuses and click Apply. HiBob lifecycle statuses
  12. Click Save to save the permission changes. Save HiBob permissions

Connect a HiBob account

  1. In Integrated Accounts, click Connect Account. Click Connect Account
  2. Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on HiBob, pick it under Advanced settings → Integration (optional). Click Get connection link. Get connection link
  3. Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own HiBob account. The link works for 7 days, until an account is connected with it. Share connection link
  4. Click Get Started if it shows, then select HiBob. Select HiBob
  5. Choose how to connect:
    • OAuth 2.0 (offered once you add your HiBob app): log in to HiBob and approve access.
    • API Key: enter the ID and Token of the service user you created in Create a HiBob service user, and click Connect. HiBob enter ID and Token
  6. Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.

Receive webhooks

HiBob can send employee changes to Truto, which passes them on as unified record:* events on hris/employees.

  1. Install the HRIS Unified API in the environment. Truto turns HiBob events into record:* events only through it; without it, events are dropped.

  2. Subscribe a Truto webhook to record:created, record:updated and record:deleted, or all. See Creating a webhook.

  3. In Bob, add a webhook with this URL and select the employee events below. See HiBob's Getting started with webhooks. Truto answers the ping test Bob sends when you save it.

    https://api.truto.one/integrated-account-webhook/<integrated_account_id>
  4. Copy the secret Bob shows in the webhook's configuration and save it as a webhook_secret variable on the integrated account: Integrated Accounts → the account → Details → Variables → Edit variables (Add variables when it has none). Truto checks each request's Bob-Signature header with it.

HiBob event Truto event
employee.created, employee.joined record:created
employee.updated, employee.left record:updated
employee.deleted record:deleted

Truto ignores other HiBob events. See Receiving vendor webhooks.