CMS Installation
- Go to the Connections page on your Ninetailed account, then click Setup Your First Connection. If this is not your first CMS connection, you can create a new connection by selecting New Connection
- Select your CMS.
The next steps vary depending on which CMS you are connecting to.
Contentful
Contentstack
Hygraph
DatoCMS
- Authorize the connection with your CMS. If you are not already logged into your CMS, you will be prompted to do so at this time.
- After the authorization is complete, you will see the list of environments to which your current Contentful account belongs to. Choose the environment where you want to install Ninetailed.
- When prompted to create the connection, you may optionally toggle off installing Merge Tags if you need to be conscientious about the number of content types you are using within your Contentful environment. Merge Tags are a content type that allow you to dynamically insert profile attributes into content.
- Select the region to which your CMS project belongs.
- Authorize the connection with your CMS. If you are not already logged into your CMS, you will be prompted to do so at this time.
- After the authorization is complete, you will see the list of stacks to which your current Contentstack account belongs to in the region you selected during the prior authorization step. Choose the stack where you want to install Ninetailed.
To connect to Hygraph, you will need to generate a Hygraph auth token to populate within the Ninetailed dashboard.
- 1.
- 2.
- 3.Initialize all models for the Content API Permissions
- 4.Select the following permissions for the Management API Permissions:
- Create new roles
- Read existing environments
- Create new models
- Read existing models
- Update existing models
- Delete existing models
- Create new fields
- Read existing fields
- Update existing fields
- Delete existing fields
- Create new entries
- Read existing entries
- Update existing non-published entries
- Update published entries
- Publish non-published entries
- Delete existing entries
- Create new webhooks
- Read existing webhooks
- Update existing webhooks
- Delete an existing webhook
- Read stages
- Update stages
- Delete stages
- Read public content views
- Create public content views
- Update public content views
- Delete public content views
- Can delete existing extensions in an existing project
- Can add a new extension to an existing project
- Can see existing extensions in an existing project
- Can update existing extensions in an existing project
- Can add app installations
- Can update app installations
- Can delete app installations
- 5.Finally, copy and paste your API token into your Ninetailed account, then click Set Hygraph Key
- Authorize the connection with your CMS. If you are not already logged into your CMS, you will be prompted to do so at this time.
- After the authorization is complete, you will see the list projects to which your current DatoCMS account belongs to. Choose the project where you want to install Ninetailed.
- Provide a name and (optionally) a description for the connection. New connections should keep the "Legacy Mode" toggle off, if applicable.
- Click "Create Content Source". This will extend the content model of the selected project by adding three content types: Ninetailed Audience, Ninetailed Experience, and Ninetailed Merge Tag (unless toggled off when creating a Contentful connection).
Next, extend your content model to support personalizations and experiments. While the Ninetailed content types are similar across the content management systems that Ninetailed connects to, the steps to extend a content model in each CMS varies.
Contentful
Contentstack
Hygraph
DatoCMS
After creating your content source following the steps above, you will be directed to a configuration screen showing all of your content types.
Select the content types that you want to add personalizations and experiments to. This will extend your content model to include a one-to-many reference field on those content types entitled "Ninetailed" (field name
nt_experiences
) that will reference entries of type "Ninetailed Experience".- 1.Go to the content type defintion for which you want to enable experiences
- 2.Add a Custom field type and add the following settings. Please make sure to exactly match these settings:
- 1.Change the Display Name to:
Ninetailed
- 2.Change the Unique ID to:
nt_experiences
- 3.Change the Selected Extension/App to:
Ninetailed - Reference Field
- 4.Change the Referenced Content Type to:
Ninetailed Experience
- 3.Then go to the Advanced tab in that same custom field and add the following Config Parameter:
{"field_path":"nt_experiences"}
- 4.Click save.
As a last step, you will also need to configure the referenced Content Type for Ninetailed Experiences.
- 1.Go to the
Ninetailed Experience
content type. - 2.Click on the Variants field.
- 3.Click on the Referenced Content Type of that field. Remove
Ninetailed Audience
from this field, then select all content types that can reference experiences. - 4.Click Save.
Hygraph does not install a Ninetailed Experiences type, because the Hygraph integration supports only adding personalizations. See Legacy Model Personalization for details on adding personalizations.
After creating your content source following the steps above, you will be directed to a configuration screen showing all of your content types.
Select the content types that you want to add personalizations to. This will extend your content model to include a one-to-many reference field on those content types entitled "Variants" (field name
nt_variants
) that will reference entries of your existing content types.DatoCMS does not install a Ninetailed Experiences type, because the DatoCMS integration supports only adding personalizations. See Legacy Model Personalization for details on adding personalizations.
After creating your content source following the steps above, you will be directed to a configuration screen showing all of your content types.
Select the content types that you want to add personalizations to. This will extend your content model to include a one-to-many reference field on those content types entitled "Variants" (field name
nt_variants
) that will reference entries of your existing content types.- Create experiences entries and connect them to your existing content through our Managing Experiences guide