We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.
kind: source
# Common source-plugin configuration
spec:
name: airtable
registry: docker
path: docker.cloudquery.io/cloudquery/source-airtable:v2.3.0
tables: ["*"]
destinations: ["postgresql"]
# airtable-specific configuration
spec:
access_token: "${AIRTABLE_ACCESS_TOKEN}" # required
# endpoint_url: "https://api.airtable.com" # Optional, defaults to `https://api.airtable.com`
# concurrency: 10000 # Optional, defaults to `10000`
cloudquery
needs to authenticate using a personal access token for Airtable's API. Follow the instructions on the Airtable website and create a read-only token with data.records:read
and schema.bases:read
scopes.<lowercase_base_id>__<snake_case_base_name>__<snake_case_table_name>
.
This ensures table names are unique across all bases (note the separator between name parts is __
).tables
option, for example:kind: source
spec:
name: airtable
registry: docker
path: docker.cloudquery.io/cloudquery/source-airtable:v2.3.0
tables:
# Sync all tables under bases matching the name `base_name_to_sync`
- "*__<base_name_to_sync>__*"
# Sync all tables matching the name `table_name_to_sync`
- "*__*__<table_name_to_sync>"
# Sync all tables matching the name `table_name_to_sync` under bases matching the name `base_name_to_sync`
- "*__<base_name_to_sync>__<table_name_to_sync>"
...
access_token
(string
) (required)endpoint_url
(string
) (optional) (default: https://api.airtable.com
)concurrency
(integer
) (optional) (default: 10000
)