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

# Sage HR

> Connect Sage HR to Iru Compliance with an API key in the X-Auth-Token header and your account subdomain to collect employee, leave, and team directory evidence.

### About Sage HR

Iru calls **`https://YOUR_SUBDOMAIN.sage.hr/api`** with:

```http theme={null}
X-Auth-Token: YOUR_API_KEY
```

Keys are **per admin** and inherit that user’s permissions. Disabling and re-enabling API access **rotates** the key.

### How It Works

Sage HR’s REST API accepts an **API key** in the **`X-Auth-Token`** header. The connector wizard collects your **subdomain** first (to build **`https://{subdomain}.sage.hr/api`**) and the **API key** in a follow-up step.

| Detail | Value |
| - | - |
| **Category** | HRIS |
| **Authentication** | API key (`X-Auth-Token`) |

Official references: [How the API works](https://support.sage.hr/en/articles/3246469-how-does-sage-hr-api-work), [Sage developer HR](https://developer.sage.com/hr/reference/).

### Prerequisites

* **Admin** access.
* **Subdomain** (`acme` from `https://acme.sage.hr`).

### Connect Sage HR to Iru

> [tab] Sage HR
>
> > [!NOTE]
> >
> > Complete this tab before you connect the source in Compliance.
>
> **1. Sign in to Sage HR**
>
> Open your Sage HR site (`https://YOUR_SUBDOMAIN.sage.hr`) and sign in with an **Admin** who can change **Integrations** settings.
>
> **2. Open your profile menu**
>
> Select **Name** (your profile) in the Sage HR header to open the account menu.
>
> **3. Open Settings**
>
> Choose **Settings** (or **Company settings**, depending on Sage HR edition).
>
> **4. Open Integrations and API**
>
> Navigate to **Integrations**, then **API** (labels may read **Integrations** → **API access**).
>
> **5. Enable API Access**
>
> Toggle or select **Enable API Access** and confirm any prompts Sage HR shows about data access.
>
> **6. Copy the API key**
>
> Copy the **API key** Sage HR displays and store it securely. You will use it as the **`X-Auth-Token`** value in Iru.
>
> > [!NOTE]
> >
> > Continue on the [**Iru Compliance**](#iru-compliance) tab.

> [tab] Iru Compliance
>
> > [!NOTE]
> >
> > Finish the [**Sage HR**](#sage-hr) tab first.
>
> **1. Open Sources**
>
> In Iru Compliance, on the left navigation bar, expand **Compliance** and select **Sources**.
>
> ![Left navigation: Compliance expanded, Sources selected](https://mintcdn.com/iru/tI0HDLDwHj8r9Ile/assets/media/images/iru-navigation-compliance-sources.png?fit=max\&auto=format\&n=tI0HDLDwHj8r9Ile\&q=85\&s=87dcef15fc17d2fb9a6e53f454e41710)
>
> **2. Turn on Sage HR**
>
> Find **Sage HR** (use **Category** or **Search by name or description**). On that card, turn on the **toggle**. A browser tab or window may open for the connector wizard.
>
> **3. Enter subdomain**
>
> Enter **subdomain** when the wizard asks for it.
>
> **4. Paste the API key header value**
>
> Paste the **`X-Auth-Token`** value when prompted.
>
> **5. Finish the connection**
>
> Select **Submit API Key**. When the connection succeeds, the wizard shows **Connection Configured**.
>
> **6. Confirm the source is Active**
>
> Close the **Iru is requesting access to external services** browser tab, then return to **Compliance** → **Sources** and confirm the **Sage HR** card is **Active**.

### Troubleshooting

> [accordion] Nothing opens when you turn the source on
>
> Check **pop-up blocker** settings for the Iru site and try again.

> [accordion] 401 Unauthorized
>
> Key rotated - recopy after re-enable.

> [accordion] Wrong tenant
>
> Correct **subdomain**.

### Related Articles

> [card] [Sources Management](https://docs.iru.com/en/compliance/sources-management.md)
>
> Browse and manage every Compliance source.

> [card] [Getting Started With Compliance](https://docs.iru.com/en/compliance/getting-started-with-compliance.md)
>
> Frameworks, actions, and **Artifacts**.

> [card] [Iru Overview](https://docs.iru.com/en/iru/platform-overview/iru-overview.md)
>
> How Endpoint, Compliance, and Identity fit together.

> [card] [Artifacts Management](https://docs.iru.com/en/compliance/artifacts-management.md)
>
> Upload, review, and organize evidence from sources and actions.


## Related topics

- [Sources Management](https://docs.iru.com/en/compliance/sources-management.md)
- [Importing users](https://docs.iru.com/en/identity/directory/importing-users.md)
- [System architecture](https://docs.iru.com/en/identity/getting-started/system-architecture.md)
