Skip to content

Commit d5f4e04

Browse files
committed
Document how to create personal access tokens. Fixes #69
1 parent 64ed3ec commit d5f4e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This package will attempt to match a model object against row in Airtable using
2323
* Add `'wagtail_airtable'` to your project's `INSTALLED_APPS`.
2424
* On Wagtail 5.x, to enable the snippet-specific import button on the Snippet list view make sure `wagtail_airtable` is above `wagtail.snippets` in your `INSTALLED_APPS`
2525
* In your settings you will need to map Django models to Airtable settings. Every model you want to map to an Airtable sheet will need:
26-
* An `AIRTABLE_BASE_KEY`. You can find the base key in the [Airtable API docs](https://airtable.com/api) when you're signed in to Airtable.com
26+
* An `AIRTABLE_BASE_KEY`. You can obtain a personal access token at https://airtable.com/create/tokens - from "Create new token", select the scopes `data.records:read` and `data.records:write`, and under Access, select the base you want to work with. Copy the resulting token and paste it as the value of `AIRTABLE_BASE_KEY`.
2727
* An `AIRTABLE_TABLE_NAME` to determine which table to connect to.
2828
* An `AIRTABLE_UNIQUE_IDENTIFIER`. This can either be a string or a dictionary mapping the Airtable column name to your unique field in your model.
2929
* ie. `AIRTABLE_UNIQUE_IDENTIFIER: 'slug',` this will match the `slug` field on your model with the `slug` column name in Airtable. Use this option if your model field and your Airtable column name are identical.

0 commit comments

Comments
 (0)