This document will walk you through connecting your Kontent account to Cloudpress, allowing Cloudpress to export content to Kontent.
Create a content type
Before you connect your Kontent account, you must create a project and a content type for the content you wish to export in Kontent if you have not already done so.
The content type must contain at least the following elements:
- One text element. This element will be used for the item title. When exporting content, Cloudpress sets the value of this element to the title of the document.
- One rich text element. This element will be used to store the content of the document.
You can see an example Blog Post content type defined in Kontent in the screenshot below. In this case, the element named Title will be used as the title of the document, and the Content element will be used for the document’s content.
For more information, refer to Create and delete content types in the Kontent documentation.
Connect your Kontent account
Go to the Connections page in Cloudpress, click the Add Connection button and then select Kontent from the list.
This will prompt you to enter your API Key and Environment ID. You can find the API Key under
Project Settings > API Keys > Management API Keys, and the Environment ID under
Environment Settings > General.
Next, you must tell Cloudpress which content type and language to use for the exported content. Select the correct items from the lists and click Continue.
Next, you must select the elements that Cloudpress must use for the title and content. When exporting a document, Cloudpress will export the title of the document to the title element and the content to the content element.
The final step is to confirma your connection configuration and give the connection a name. You can click the Create Connection button to create the connection.