> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/k/kolay-ik.md).

# Kolay IK

Kolay IK is a human resources management platform. OctoXLabs reads the active people in your Kolay IK account and adds them to the user inventory.

## Use cases

* **Find employees without a directory account.** List HR records that are not found in Active Directory. How accounts are matched depends on your user merge settings.

```
Adapters = kolayik AND NOT Adapters = active-directory
```

* **List employees with a work email.** Review the people that have a work email in Kolay IK.

```
Adapters = kolayik AND Email = *
```

## Before you begin

### Network

| Source              | Destination     | Port | Protocol |
| ------------------- | --------------- | ---- | -------- |
| OctoXLabs connector | api.kolayik.com | 443  | HTTPS    |

The address is fixed in the connector.

### Required permissions

The baseline says to select the necessary scope when you create the token but does not name it. Not verified: the token needs access to the person list and person summary.

## Create credentials in Kolay IK

{% stepper %}
{% step %}

### Open Developer Settings

Log in to Kolay IK and go to **Settings > Developer Settings**.
{% endstep %}

{% step %}

### Manage API tokens

Click **Manage API Tokens**, then **Create API Token**.
{% endstep %}

{% step %}

### Create the token

Give it a name, select the necessary scope and save it. Copy the token.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default | Description                                             |
| ------------ | -------- | ------- | ------- | ------------------------------------------------------- |
| API Key      | Yes      | String  | None    | Kolay IK API token.                                     |
| Thread Count | No       | Integer | 32      | Number of parallel threads used to read person details. |
| Timeout      | No       | Integer | 30      | Seconds to wait for an API response.                    |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                                            |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Read the status code and body in the message, then check the credentials, permissions and URL. |

## Change history

{% hint style="info" %}
Available starting from version 5.5.2.
{% endhint %}
