> 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/b/beyondtrust-entitle.md).

# BeyondTrust Entitle

BeyondTrust Entitle manages access requests and entitlements. OctoXLabs reads its users from the public API.

## Use cases

* List Entitle users and check which email domains they use.

```
Adapters = beyondtrust-entitle AND Domain = *
```

## Before you begin

### Network

| Source              | Destination                                 | Port | Protocol |
| ------------------- | ------------------------------------------- | ---- | -------- |
| OctoXLabs connector | api.entitle.io (or your dedicated API host) | 443  | HTTPS    |

### Required permissions

| Scope or role | Permission                        | Needed for |
| ------------- | --------------------------------- | ---------- |
| API token     | Read access to `/public/v1/users` | Users      |

## Create credentials in BeyondTrust Entitle

{% stepper %}
{% step %}

### Open Tokens

In the Entitle admin console, open the **Tokens** section and click **Add**.
{% endstep %}

{% step %}

### Create the token

Choose **API token**. Enter a token name (2 to 250 characters) and an expiration.
{% endstep %}

{% step %}

### Copy the token

Click **Reveal token** and copy the value. Create the token from an account that can list all users in the tenant.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default        | Description                                                         |
| --------- | -------- | ------- | -------------- | ------------------------------------------------------------------- |
| Domain    | Yes      | String  | api.entitle.io | API host. Change only if BeyondTrust gave you a dedicated endpoint. |
| API Token | Yes      | String  |                | Sent as a Bearer token.                                             |
| Proxy     | No       | String  |                | Proxy as `host:port`.                                               |
| Timeout   | No       | Integer | 30             | Seconds to wait for API responses.                                  |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

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