The data pipeline from airtable to teable.
Airtable's API uses token-based authentication, allowing users to authenticate API requests by inputting their tokens into the HTTP authorization bearer token header.
Tokens can only access API endpoints covered by the scopes granted to them. Tokens serve as the account of the user who grants access, with the following limitations:
- Scopes: What actions the token can perform.
- Resources/access: What bases and workspace the token can access. Tokens can be granted access to individual—or all—bases/workspaces. These can be listed using the list bases endpoint.
To import airtable Base data into a teable Workspace, the token requires the following
Scope: data.records:read
, schema.bases:read
.
teatool base:migrate --from <AIRTABLE_BASE_ID> --to <TEABLE_SPACE_ID>
Airatable Token: <AIRTABLE_TOKEN>
Teable Token: <TEABLE_TOKEN>
pnpm build
# windows
.\bin\run.cmd base:migrate --from <AIRTABLE_BASE_ID> --to <TEABLE_SPACE_ID>
Airatable Token: <AIRTABLE_TOKEN>
Teable Token: <TEABLE_TOKEN>