Skip to content

Airtable Connector

Airtable combines the functionality of a spreadsheet and a database, making it a powerful tool for organizing and managing structured data. Using the Airtable connector, you can easily ingest data from Airtable into your SearchAI application and make it searchable.

Specifications

Type of Repository Cloud
Supported Content Type Tables (Records)
Content Filtering Support No
RACL Support Yes

Authorization Support

SearchAI supports authentication using personal access tokens and OAuth access tokens for integration with Airtable.

Airtable Configuration

To enable communication between Airtable and SearchAI, generate the access tokens required for authentication.

Personal Access Token

If you are using personal access tokens, log in to the Builder Hub of your Airtable setup and

create a new PAT. Add the following scopes to the PAT.

  • data.records:read
  • data.recordComments:read
  • schema.bases:read

OAuth 2.0

If you are using OAuth 2.0 for authentication,

  1. Register a new integration for SearchAI.
  2. Set OAuth Redirect URL to one of the following, depending on your region or deployment.
  3. When client ID is generated, click on Generate Client Secret.
  4. Enable the following permissions.
    • data.records:read
    • data.recordComments:read
    • schema.bases:read

Refer to this for step-by-step instructions on how to register. This registration will generate a client id and client secret. Copy the same for configuring the Airtable connector in Search AI.

Airtable Connector Configuration in Search AI

Provide the following fields while configuring the Airtable connector in Search AI.

Name: Unique name for the connector

Authorization Type: Select Personal Access Token or OAuth 2.0 as required. Refer to the above section to learn more about how to generate the authentication information for both of these types.

  • If PAT is selected as the auth type, provide the personal access token.
  • If OAuth 2.0 is selected as the auth type, provide the client ID and the client secret.

There are some other optional fields that are used to map the Airtable content to the ingested content. Currently, Search AI supports only the standard fields. Hence, it is not mandatory to provide the other fields.

RACL Support

Search AI supports permission-aware search for Airtable content when RACL is enabled. Airtable implements base-level access control — all records within a base inherit the same base-level permissions, and no granular record-level permissions are available.

The sys_racl field is set to the base_id of the base to which the record belongs, serving as the permission entity for access control.

For example:

"sys_racl": [
    "appXXXXXXXXXXXXXX"    // base_id of the Airtable base
]

Since Airtable does not support automatic permission sync, use the Permission Entity APIs to associate users with the base_id permission entity so they can access the related content.