> 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/s/sysaid.md).

# SysAid

SysAid is an IT service management platform. OctoXLabs reads its assets as devices. It reads the Agents (IT staff) and, optionally, the End Users (requesters) as users.

## Use cases

* List the assets recorded in SysAid.

```
Adapters = sysaid
```

* Find SysAid assets that no endpoint detection tool reports.

```
Adapters = sysaid AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                | Port | Protocol |
| ------------------- | -------------------------- | ---- | -------- |
| OctoXLabs connector | {account\_id}.sysaidit.com | 443  | HTTPS    |

The connector always uses HTTPS on the default port. An optional HTTP proxy can be set.

### Required permissions

Not verified. The source instructions do not list permissions beyond creating the application key as an administrator.

## Create credentials in SysAid

{% stepper %}
{% step %}

### Sign in as a local administrator

Sign in as an administrator. SSO credentials are not accepted for this step. A local admin username and password are required.
{% endstep %}

{% step %}

### Create the application key once

Send the request below. Replace `your_account_id` with your Account ID.

```
curl --request POST \
  --url https://your_account_id.sysaidit.com/connect/v1/application-keys \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --header 'x-sysaid-accountid: your_account_id'
```

{% endstep %}

{% step %}

### Save the client ID and secret

The response gives you the client ID and the secret. SysAid can hold only 100 application keys in total. Create the key once and reuse it. The connector never creates new keys.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter       | Required | Type     | Default | Description                                                                                                    |
| --------------- | -------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| Account ID      | Yes      | Text     |         | SysAid account identifier. It is the subdomain of the API host and the value of the x-sysaid-accountid header. |
| Client ID       | Yes      | Text     |         | Client ID of the application key.                                                                              |
| Client Secret   | Yes      | Password |         | Secret of the application key.                                                                                 |
| Fetch End Users | No       | Boolean  | True    | Collect users from the Agents and the End Users directories. Turn it off to collect agents only.               |
| Proxy URL       | No       | Text     |         | Proxy address.                                                                                                 |
| Timeout         | No       | Integer  | 30      | Seconds to wait for API responses.                                                                             |

## Troubleshooting

| Error message                  | Cause                                                    | Fix                                                                                                          |
| ------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Max retries exceeded for {url} | The API kept returning HTTP 401 or 429 after 5 attempts. | Check the client ID and secret. Wait for the rate limit window (1,000 requests per 5 minutes) and run again. |

## Change history

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