> 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/a/activtrak.md).

# ActivTrak

ActivTrak is a workforce analytics platform. OctoXLabs reads its SCIM users endpoint to list users.

## Use cases

* Find ActivTrak accounts that have no match in your directory.

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

* Check what one ActivTrak connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                      | Port | Protocol                                 |
| ------------------- | ------------------------------------------------ | ---- | ---------------------------------------- |
| OctoXLabs connector | api.activtrak.com (default, configurable Domain) | 443  | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

API keys are created by your ActivTrak administrator. Roles are not documented. Not verified.

## Create credentials in ActivTrak

{% stepper %}
{% step %}

### Open API Keys

In the ActivTrak app navigation, select **API & Integrations** > **API Keys**.
{% endstep %}

{% step %}

### Create the key

Click **Create API Key** and follow the steps to request a new key.
{% endstep %}

{% step %}

### Copy the key

After you submit the request, the API key details are shown. Copy the key.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default           | Description                                |
| --------- | -------- | ------- | ----------------- | ------------------------------------------ |
| Domain    | Yes      | String  | api.activtrak.com | Domain of the ActivTrak host.              |
| API Key   | Yes      | String  | None              | API key created in ActivTrak.              |
| Is Secure | No       | Boolean | True              | Use HTTPS. Clear it to use HTTP.           |
| Timeout   | No       | Integer | 30                | Time in seconds to wait for API responses. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

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