Skip to main content
Version: 3.x

Environment variables

This reference lists environment variables used by the Contentful extension.

NameDescription
FRONT_COMMERCE_CONTENTFUL_SPACE_IDRequired The Contentful space id
FRONT_COMMERCE_CONTENTFUL_ACCESS_TOKENRequired The Contentful access token
FRONT_COMMERCE_CONTENTFUL_PREVIEW_ACCESS_TOKENRequired The Contentful preview access token
FRONT_COMMERCE_CONTENTFUL_ENVIRONMENTThe Contentful environment (default: master)
FRONT_COMMERCE_CONTENTFUL_DANGEROUSLY_FORCED_LOCALEThe Contentful locale
FRONT_COMMERCE_CONTENTFUL_DOMAINThe Contentful domain URL (default: "https://graphql.contentful.com")