Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Get a Factorial account with admin access: Sign up at factorialhr.com (a free trial is available) or use an existing company account. Only administrators with full permissions can create and manage API keys.
  2. Create an API key: As an administrator, generate an API key from the Factorial platform user interface (see https://help.factorialhr.com/how-to-create-api-keys-in-factorial). Copy the key value.
  3. Store the key: Set the key as FACTORIAL_API_KEY. It is sent as-is in the x-api-key header, without any prefix.
  • Factorial API keys grant TOTAL access to the account and never expire - rotate them carefully and keep them secret.
  • The API is date-versioned per quarter (this connector uses the 2026-04-01 version); each version is supported for one year after release.
  • Regular (non-admin) users see a restricted version of employee data; admin-generated keys see everything.
Provider API reference: https://apidoc.factorialhr.com/

Tools

Example prompts

  • List Factorial leaves overlapping the current week and summarize who is away, for how long, and whether the leave is approved.
  • List Factorial teams, then list the active employees of a team I pick and summarize the roster.