
* Add CMS hub app * Cleanup * Refactor CMS product variants webhooks * Test utils 1 * Remove legacy code * Add .env example * Update types * Remove unused code * Fix cms client opertions settings test * Fix pnpm-lock file * Bump typescript to 4.9, support satisfies expressions
14 lines
1.2 KiB
Markdown
14 lines
1.2 KiB
Markdown
# Contentful
|
|
|
|
## Configuration
|
|
|
|
Contentful integration requires several configuration tokens. You should enter them in the _Apps -> CMS_ configuration view.
|
|
|
|
Here is the list of the tokens and instructions on how to obtain them:
|
|
|
|
- `baseUrl`: the API URL. For Contentful, it's `https://api.contentful.com`.
|
|
- `token`: the authorization token. For instructions on how to create one for CMS Hub, please go to _API keys in the Contentful web app_ section in the [Contentful "Authentication" documentation](https://www.contentful.com/developers/docs/references/authentication/).
|
|
- `environment`: id of the Contentful environment you use. To find it, go to _Settings -> Environments_ in the Contentful dashboard.
|
|
- `spaceId`: id of the Contentful space. To find it, go to _Settings -> General settings_ in the Contentful dashboard.
|
|
- `contentId`: the id of the content model. To obtain it, go to _Content model_ and to the view of a single product in your Contentful dashboard. Your URL may look something like: "https://app.contentful.com/spaces/xxxx/content_types/product/fields". Then, look to the right side of the screen. You will find a copyable "CONTENT TYPE ID" box there.
|
|
- `locale`: the localization code for your content. E.g.: `en-US`.
|