> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Airtable

> Index records and attachments from Airtable bases

## How it works

The Airtable connector indexes records from your Airtable bases. Each record becomes one document in Onyx.
The record's field names and values are kept.

You can index **Everything** the API token can read, or one **Specific Table** by pasting its URL.

Fields such as dates, selects, checkboxes, collaborators, numbers, and formulas become filterable metadata.
Long text fields become the document text. Attachments are downloaded and their text is extracted.
An attachment larger than 10 MB is skipped.

Onyx pulls changes every 24 hours by default. You can change this under **Schedule** when you create the connector.

**Sync with Airtable** is not offered.
The access type can only be **Everyone in Your Organization** or **Specific Groups**.

## Setting up

### 1. Create a Personal Access Token

**1. Go to Personal Access Tokens**

In Airtable, open **Builder Hub → Personal access tokens** and click **Create new token**.

**2. Configure scopes**

Give the token a name, such as `Onyx`, and add these scopes:

* `data.records:read`
* `data.recordComments:read`
* `schema.bases:read`
* `user.email:read` (for collaborator fields)

**3. Grant access to your bases**

Under **Access**, grant the token access to every base you want Onyx to index.

**4. Create and copy the token**

Click **Create token** and copy it. Airtable does not show it again.

### 2. Add the connector in Onyx

**1. Connect an Airtable account**

In Onyx, go to **Admin Panel → Connectors** and select **Airtable**. Under **Authentication Account**,
select **New Airtable Account** and paste the Personal Access Token into **API Token**.

**2. Choose what to index**

Under **Airtable Content to Index**, pick one tab:

**Everything** — Onyx finds and indexes every base and table that the token can read.

**Specific Table** — Onyx indexes one table. Paste the table's URL,
such as `https://airtable.com/appXXX/tblYYY/viwZZZ`, into **Airtable URL**. Onyx reads the base ID, table ID,
and view ID from the URL.

**3. Choose who can see the records**

Under **Document Access**, select **Everyone in Your Organization** or **Specific Groups**.
**Specific Groups** is available on Onyx Cloud and Enterprise Edition.

**4. Create the connector**

Select **Create Connector**. Onyx checks that the token can list at least one base,
or can open the table you pasted, and refuses the connector if it cannot.

Open **Admin Panel → Indexing Status**, select the connector, and confirm its first indexing attempt completes.

### Options

* **Treat All Fields Except Attachments as Metadata** — When enabled, text fields such as "Title" or "Description"
  are stored as metadata key-value pairs instead of searchable document text.
  Only the content of attachments becomes the body of the document.
  Use this when the content you care about is in file attachments, and the other columns are labels or categories.

* **Share ID** (Specific Table only) — If you want record links in Onyx to open a shared view, enter the share ID
  here, such as `shrkfjEzDmLaDtK83`. You can find it by creating a shared view in Airtable.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.