File size: 4,175 Bytes
0a84888 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | ---
#https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
title: Airtable credentials
description: Documentation for Airtable credentials. Use these credentials to authenticate Airtable in n8n, a workflow automation platform.
contentType: [integration, reference]
priority: high
---
# Airtable credentials
You can use these credentials to authenticate the following nodes:
- [Airtable](/integrations/builtin/app-nodes/n8n-nodes-base.airtable/index.md)
- [Airtable Trigger](/integrations/builtin/trigger-nodes/n8n-nodes-base.airtabletrigger.md)
## Prerequisites
Create an [Airtable](https://airtable.com/){:target=_blank .external-link} account.
## Supported authentication methods
- Personal Access Token (PAT)
- OAuth2
/// note | API Key deprecation
n8n used to offer an API key authentication method with Airtable. Airtable [fully deprecated these keys](https://support.airtable.com/v1/docs/airtable-api-deprecation-guidelines){:target=_blank .external-link} as of February 2024. If you were using an Airtable API credential, replace it with an Airtable Personal Access Token or Airtable OAuth2 credential. n8n recommends using Personal Access Token instead.
///
## Related resources
Refer to [Airtable's API documentation](https://airtable.com/developers/web/api/authentication){:target=_blank .external-link} for more information about the service.
## Using personal access token
To configure this credential, you'll need:
- A Personal **Access Token** (PAT)
To create your PAT:
1. Go to the Airtable Builder Hub [Personal access tokens](https://airtable.com/create/tokens){:target=_blank .external-link} page.
1. Select **+ Create new token**. Airtable opens the **Create personal access token** page.
1. Enter a **Name** for your token, like `n8n credential`.
1. Add **Scopes** to your token. Refer to Airtable's [Scopes](https://airtable.com/developers/web/api/scopes){:target=_blank .external-link} guide for more information. n8n recommends using these scopes:
- `data.records:read`
- `data.records:write`
- `schema.bases:read`
1. Select the **Access** for your token. Choose from a single base, multiple bases (even bases from different workspaces), all of the current and future bases in a workspace you own, or all of the bases from any workspace that you own including bases/workspace added in the future.
1. Select **Create token**.
1. Airtable opens a modal with your token displayed. Copy this token and enter it in your n8n credential as the **Access Token**.
Refer to Airtable's [Find/create PATs documentation](https://support.airtable.com/v1/docs/creating-personal-access-tokens){:target=_blank .external-link} for more information.
## Using OAuth2
To configure this credential, you'll need:
- An **OAuth Redirect URL**
- A **Client ID**
- A **Client Secret**
To generate all this information, register a new Airtable integration:
1. Open your Airtable Builder Hub [**OAuth integrations**](https://airtable.com/create/oauth){:target=_blank .external-link} page.
2. Select the **Register new OAuth integration** button.
3. Enter a name for your OAuth integration.
4. Copy the **OAuth Redirect URL** from your n8n credential.
5. Paste that redirect URL in Airtable as the **OAuth redirect URL**.
6. Select **Register integration**.
7. On the following page, copy the **Client ID** from Airtable and paste it into the **Client ID** in your n8n credential.
8. In Airtable, select **Generate client secret**.
9. Copy the client secret and paste it into the **Client Secret** in your n8n credential.
10. Select the following scopes in Airtable:
- `data.records:read`
- `data.records:write`
- `schema.bases:read`
11. Select **Save changes** in Airtable.
12. In your n8n credential, select the **Connect my account**. A **Grant access** modal opens.
13. Follow the instructions and select the base you want to work on (or all bases).
14. Select **Grant access** to complete the connection.
Refer to the [Airtable Register a new integration documentation](https://airtable.com/developers/web/guides/oauth-integrations){:target=_blank .external-link} for steps on registering a new Oauth integration.
|