Skip to content

Keka connects with your Keka URL and the API key, client ID and client secret of a Keka API access key.

Install the Keka integration

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

Find your Keka domain, API key, client ID and client secret

  1. Your Keka Domain is the full URL you open Keka at, for example https://acme.keka.com. Keka details Keka domain in the browser URL
  2. Get the API Key, Client ID and Client Secret in Keka under Settings → Integrations and Automation → API Access → Create New Key. Keka API access settings

Connect a Keka 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 Keka, 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 Keka 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 Keka. Select Keka

  5. Fill in the form and click Connect:

    Field Required What to enter
    Keka Domain Yes Your full Keka URL, for example https://acme.keka.com.
    API Key Yes The API key of your Keka API access key.
    Client ID Yes Its client ID.
    Client Secret Yes Its client secret.
  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

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

  1. Install the HRIS Unified API in the environment. Truto turns Keka 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. Pick a secret of your own 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).

  4. In Keka, go to Settings → Communications → Event Triggers and open the event trigger you want. Click +Add Action and choose Webhook.

  5. Enter a name and this URL, with the event's name from the table below in event:

    https://api.truto.one/integrated-account-webhook/<integrated_account_id>?event=<event>
  6. Add a header Authorization with the value Bearer <webhook_secret>, using the secret from step 3, and click Add. Truto rejects a request whose header doesn't match.

Add one webhook action for each event trigger, each with its own event value.

event value Truto event
employee:added record:created
employee:invited, employee:job:details:updated, employee:profile:updated, employee:profile:change:request, employee:onboarding:initiated, employee:onboarding:completed, employee:onboarding:cancelled, employee:probation:extended, onboarding:task:assigned, onboarding:task:completed, onboarding:task:rejected, probation:evaluation:completed, reportee:assigned record:updated
exit:initiated, exit:approved, exit:rejected, exit:cancelled, exit:updated, exit:withdraw, exit:process:completed, exit:task:assigned, exit:task:completed, exit:survey:assigned, exit:survey:submitted, self:exit:request record:deleted

See Receiving vendor webhooks.