> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GreytHR

> Connect GreytHR to Oleria to bring employee and department data into your identity security platform.

Connect GreytHR to Oleria to bring your workforce data into one place. Oleria reads employee profiles, departure records, and department data from GreytHR so you can see every worker's details alongside their access across your other applications - making it easy to spot former employees or role changes that should trigger an access review. This page provides step-by-step guidance for connecting GreytHR to Oleria.

## What Oleria discovers

Once connected, Oleria continuously discovers and maps the following from GreytHR:

* **Employees** - the full worker population, including personal details and work details.
* **Departure records** - when an employee leaves, Oleria picks up their end date and marks them inactive, so former employees who still have access in other connected applications stay visible in Oleria.
* **Departments** - the department each employee belongs to, used to build organizational context within Oleria.

<Note>
  GreytHR tracks who your workers are, not what they can access in your applications. GreytHR does not include group memberships, application roles, MFA status, SSO enrollment, or audit activity. Access and activity data comes from your identity provider and other connected application integrations.
</Note>

## Prerequisites

* Access to the GreytHR Admin portal, to create a dedicated API user for Oleria
* Your GreytHR subdomain (the part before `.greythr.com` in your login URL, for example `acme` from `https://acme.greythr.com`)

<Note>
  Use a dedicated API user rather than a personal employee account for the integration to ensure continuity if the employee leaves or changes roles.
</Note>

## Create an API user in GreytHR

To connect Oleria, you need to create a dedicated API user in GreytHR and copy the credentials it generates. Follow these two steps in order.

<Steps>
  <Step title="Enable the API User Provisioning role (if not already enabled)">
    In GreytHR, navigate to **Settings** → **System Settings** → **User Administration** → **User Roles**. Find the role you plan to assign to the API user and confirm the **API User Provisioning** checkbox is enabled.

    <Note>
      For new GreytHR accounts, this option may not be enabled by default - it is typically set up by the GreytHR implementation team during onboarding. If you do not see the checkbox or cannot enable it, contact GreytHR support before proceeding.
    </Note>
  </Step>

  <Step title="Create the API user and copy credentials">
    Navigate to **Settings** → **My Account** → **API Users** and select **Create API User**. Enter a username and description, for example `Oleria Integration`, and assign the appropriate role.

    After saving, GreytHR displays a **Client ID** and **Password**. Copy both values immediately and store them securely.

    <Warning>
      The password is shown only once. If you lose it, you will need to create a new API user and update the integration in Oleria.
    </Warning>
  </Step>
</Steps>

## Connect GreytHR to Oleria

<Steps>
  <Step title="Open the integration">
    Go to your Oleria workspace, select **Integrations** → select **GreytHR**.
  </Step>

  <Step title="Complete the connection form">
    Select **Continue** and fill in the connection form:

    | Field         | Notes                                                                                                                                                           |
    | :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | Domain        | Required. Your GreytHR subdomain - the part before `.greythr.com` in your login URL. For example, enter `acme` if your login URL is `https://acme.greythr.com`. |
    | Client ID     | Required. The Client ID shown when you created the API user in GreytHR.                                                                                         |
    | Client Secret | Required. The password shown when you created the API user in GreytHR.                                                                                          |

    <Note>
      Oleria labels this field "Client Secret" - enter the API user password from GreytHR here.
    </Note>
  </Step>

  <Step title="Save the integration">
    Select **Authenticate** to validate and save the integration. Oleria checks the credentials against GreytHR before saving.
  </Step>
</Steps>

## Verify the integration

Confirm the GreytHR instance appears in your Oleria workspace connected integrations. After the first sync completes, you can review the discovered employees and departments in your Oleria workspace.

<Note>
  If you reset the API user password in GreytHR, update the Client Secret in Oleria by editing the integration. Outdated credentials will cause the sync to stop.
</Note>

## Known limitations

* **No application access data** - GreytHR tracks worker identity, not application access. Group memberships, application roles, MFA status, and SSO enrollment come from your identity provider and other connected applications.
* **No audit log** - GreytHR does not provide audit activity through this integration.
* **No disable or suspend state** - GreytHR does not have a concept of a disabled or suspended employee. Oleria uses departure records to identify employees who have left the organization.
* **Cost center and employment type are not available** - GreytHR's API does not expose these fields. They will not populate in Oleria for any employee record.
* **Flat department structure** - GreytHR does not expose parent/child department relationships. Oleria shows which department each employee belongs to, but nested department hierarchy is not available.

## Contact us

For questions about this integration, contact us at [support@oleria.com](mailto:support@oleria.com).
