3.4 KiB
| title | description | contentType |
|---|---|---|
| Airtable credentials | Documentation for Airtable credentials. Use these credentials to authenticate Airtable in n8n, a workflow automation platform. | integration |
Airtable credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
Create an Airtable{:target=_blank .external-link} account.
Supported authentication methods
- Personal Access Token (PAT)
- OAuth2
/// note | API Key deprecation n8n previously supported an API key authentication method with Airtable. Airtable fully deprecated these keys{: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{: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: Follow the instructions to Find/create PATs in the Airtable documentation{:target=_blank .external-link} to get a Personal Access Token (PAT).
n8n recommends using the following Scopes for your PAT:
data.records:readdata.records:writeschema.bases:read
Using OAuth2
To configure this credential, you'll need:
- An OAuth Redirect URL
- A Client ID
- A Client Secret
Refer to the Airtable Register a new integration documentation{:target=_blank .external-link} for steps on registering a new Oauth integration.
- Open your Airtable Developer Hub to OAuth integrations{:target=_blank .external-link}.
- Select the Register new OAuth integration button.
- Provide a name for your OAuth integration.
- In the n8n Airtable OAuth2 credentials dialog, copy the OAuth Redirect URL.
- In Airtable, paste that redirect URL into the OAuth redirect URL.
- Then select the Register integration button in Airtable.
- On the following page, copy the Client ID from Airtable and paste it into the Client ID parameter in the n8n Airtable OAuth2 credentials dialog.
- In Airtable, select the Generate client secret button.
- Copy the client secret and paste it into the Client Secret parameter in the n8n Airtable OAuth2 credentials dialog.
- Select the following scopes in Airtable:
data.records:readdata.records:writeschema.bases:read
- Select Save changes at the bottom of the page in Airtable.
- In the n8n Airtable OAuth2 credentials dialog, select the Connect my account button.
- This will open a Grant access dialog. Follow the instructions in the dialog and select the base you want to work on (or all bases).
- Select the Grant access button in the dialog to complete the connection.