Before you install the Frosmo Segments for Contentful app, make sure you have the following information available:
API token. This is your personal access token for the Graniitti API. The app needs the token for fetching segments from the Frosmo Platform. For instructions on how to get the token, see Graniitti API authentication. The token is valid for a limited period of time from the moment of creation.
The token allows you to both read (get) and write (create, update, delete) data to and from the Frosmo database using the Graniitti API. Do not share the token with outside parties or parties you do not trust. In addition, since the token will be visible in the app settings in Contentful, make sure only trusted users have permission to access the settings. |
To install and configure Frosmo Segments for Contentful:
Define the following app settings:
Optionally, in the Convert fields into Frosmo segment selectors section, select the fields that you want to turn into Frosmo segment selectors. The section lists all applicable fields ("Short text, list") from all existing content types. Installing the app automatically sets each selected field to use the segment selector UI widget for its appearance.
You can also convert the fields later by either revisiting the app configuration or directly editing the content types. |
You've installed and configured Frosmo Segments for Contentful. You can now use the segments from your site in Contentful: