Skip to main content

Connect your Kontent.ai website

Step-by-step guide for setting up StoryChief to publish to your Kontent.ai website.

Written by Gregory Claeyssens

Connect StoryChief to a Kontent.ai environment, then choose which Kontent.ai fields receive your article content.

1. Find your Kontent.ai Environment ID

  1. In Kontent.ai, select your project and the environment you want to publish to using the two menus at the top left.

  2. Open Environment settings → General and copy the Environment ID.

2. Create a Management API key

  1. As a project manager, open Project settings → API keys, go to Management API keys, and click Create Management API key.

  2. Give the key a name such as StoryChief. Under Limitations, grant it access to the environment you selected in step 1.

  3. Enable Manage content model and Create, edit, and delete content also enable Create, edit, and delete assets.

  4. Click Save changes and copy the key value from the API key field.

3. Connect StoryChief and choose a content type

  1. In StoryChief, open the top-right menu and click Integrations to open the Channels page.

  2. Under Personal websites, select Kontent.ai and click Add new destination.

  3. In Authentication, paste your Environment ID and Management API key, then click Authenticate.

  4. In Content type, choose the Kontent.ai content type for your articles and click Select content type. If your environment has no content types yet, create one in Kontent.ai and reload the StoryChief settings page.

4. Map your article fields

In Field mapping, each row shows a Kontent.ai field on the left. Use the dropdown on the right to choose the StoryChief field that supplies its value. Each dropdown shows compatible article, author, and workspace custom fields.

  • For a title text field, choose Article → title.

  • For a rich-text body field, choose Article → body.

  • For a URL slug field, choose Article → slug.

  • For a featured image asset field, choose Article → featured image.

An asterisk marks a required field. Map required fields that StoryChief supports unless the field already has a default value in Kontent.ai. For optional fields you want to manage in Kontent.ai, choose Do not map. If StoryChief doesn’t support a required field, set its value on the content item in Kontent.ai before publishing.

For taxonomy, multiple-choice, and linked-item fields, StoryChief matches category or tag slugs and custom list option values to existing Kontent.ai codenames. Linked author fields use Author → slug. StoryChief converts hyphens to underscores, so a slug like product-updates matches the codename product_updates.

Enter a Display name for the destination. Optionally, enter the Website article base URL (for example, https://example.com/blog) so StoryChief can build the link to the published article. Click Save field mapping.

Before publishing, check that your StoryChief article language code exactly matches an active language codename in Kontent.ai.

Did this answer your question?