> 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/airtable-enterprise.md).

# Airtable Enterprise

Airtable Enterprise is the enterprise tier of the Airtable work platform. OctoXLabs reads the users of an enterprise account through the Enterprise API.

## Use cases

* Find Airtable Enterprise accounts that have no match in your directory.

```
Adapters = airtable-enterprise AND NOT Adapters = active-directory
```

* Check what one Airtable Enterprise connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

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

### Required permissions

| Scope or role                      | Permission | Needed for      |
| ---------------------------------- | ---------- | --------------- |
| Enterprise Admin role (user)       | n/a        | Using the token |
| enterprise.user:read (token scope) | Read       | Users           |

The token owner needs the Enterprise Admin role and the token must include at least the `enterprise.user:read` scope.

## Create credentials in Airtable Enterprise

{% stepper %}
{% step %}

### Create a token

Open [airtable.com/create/tokens](https://airtable.com/create/tokens) and click **Create new token**.
{% endstep %}

{% step %}

### Name it

Give the token a unique name. The name is visible in record revision history.
{% endstep %}

{% step %}

### Choose scopes

Choose the scopes to grant. Include at least `enterprise.user:read`.
{% endstep %}

{% step %}

### Add a base

Click **add a base** to give the token access to a base or workspace.
{% endstep %}

{% step %}

### Copy the token

The token is shown only once. Copy it and store it safely.
{% endstep %}

{% step %}

### Find the account ID

Enterprise administrators can see the Enterprise Account ID in the admin panel under "Account ID".
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter             | Required | Type    | Default          | Description                                                           |
| --------------------- | -------- | ------- | ---------------- | --------------------------------------------------------------------- |
| Domain                | Yes      | String  | api.airtable.com | Domain of the Airtable API.                                           |
| API Token             | Yes      | String  | None             | Personal access token.                                                |
| Enterprise Account ID | Yes      | String  | None             | Enterprise account ID from the admin panel.                           |
| Is Secure             | No       | Boolean | True             | Use HTTPS. Clear it to use HTTP.                                      |
| Timeout               | No       | Integer | 30               | Time in seconds to wait for API responses.                            |
| Proxy                 | No       | String  | None             | Proxy address. The connector sends requests through `http://<value>`. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Max retries exceeded for                                               | Airtable answered 429 (rate limit) five times in a row.                | Wait and try again later.                                                                                                                     |
| 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 6.4.1.
{% endhint %}
