Connector for Contentful configuration properties
Implementing the Tridion Connector for Contentful requires a JSON configuration file, which defines your specific integration of Tridion with Contentful.
This topic describes the configuration properties that are needed specifically for the Connector for Contentful. For complete information on standard configuration format, see the related topic for configuring a Connector.
In the Connectors's JSON configuration file, use the following properties:
Example configuration file
The following sample code illustrates a configuration file that includes the Connector for Contentful:
{
"configuration": {
"ContentfulConnector": {
"configuration": {
"AccessToken": "BFPAF-MF8fFBB6j2Q9Fcq5n7LRlSjpzVZ506Nqvvvx9UXYpp9",
"HostUrl": "https://api.contentful.com",
"BearerTokenUrl": "https://be.contentful.com/oauth/token"
}
}
},
"sitesCm": {
"isEnabled": true,
"ContentfulConnector": {
"namespaces": {
"contentful": {
"displayName": "Contentful",
"stubFolders": [ "tcm:2-71-2" ],
"privilegedUserName": "Administrator"
}
}
}
},
"staging": {
"isEnabled": true,
"ContentfulConnector": {
"namespaces": {
"contentful": {
}
}
}
}