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

# Airtable

> Query the tables of an Airtable base live from Explore and AI agents

The Airtable [live data source](https://docs.lightdash.com/integrations/live-data-sources) reads the records of every table in one Airtable base.

## Before you start

* **Base ID**, starting with `app`, from the base's URL.
* **A personal access token** with the scopes below, from the [Airtable builder hub](https://airtable.com/create/tokens), with access to the base.

## Scopes

| Scope | Why |
| - | - |
| `data.records:read` | Reads the records of the base's tables |
| `schema.bases:read` | Reads the base's tables and fields, which become explores and dimensions |

## Connect Airtable

[Add a live data source](https://docs.lightdash.com/integrations/live-data-sources/set-up-and-manage.md#connect-a-live-data-source), select **Airtable**, and enter the **Base ID** and **Personal access token**.

![The Add Airtable source dialog with the data.records:read and schema.bases:read scopes, the Base ID and Personal access token fields and a Test button under Authentication, the Name and Explore prefix fields under Details, and the Add source button](https://mintcdn.com/lightdash/tLNoQMuCxJAf6LsF/images/integrations/live-data-sources/airtable-config.png?fit=max\&auto=format\&n=tLNoQMuCxJAf6LsF\&q=85\&s=655664dbf899f8491b969ad0e8d1c32d)

## Semantic layer

> [!NOTE]
>
> Each table in the base also gets its own explore.

### Tables

The tables of an Airtable base, one row per table, with their primary field and number of fields

| Field | Description |
| - | - |
|  Table ID | The table's Airtable id, tbl followed by 14 characters |
|  Name | The name of the table |
|  Description | The table's description in Airtable |
|  Primary field | The name of the table's primary field |
|  Fields | How many fields the table has |

## Limits

| Limit | Value |
| - | - |
| Fields per table | 200 |
| Most rows per query | 4,999 |


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