Payload CMS
Connect Knowatoa to your Payload CMS instance to automatically publish approved articles via the Payload API.
Requirements
- A running Payload CMS instance
- An API key with permission to create content
Setup
- Go to your site in Knowatoa and click Integrations > CMS Connections > New Connection.
- Select Payload.
- Fill in the required fields:
| Field | Description |
|---|---|
| Site URL | Your Payload CMS address (e.g., https://cms.example.com) |
| API Key | An API key from your Payload admin panel |
- Click Verify Credentials to confirm the connection works.
- Click Save.
How articles are published
- Articles are sent to Payload via its REST API.
- Markdown content is converted to Payload’s Lexical richText format, preserving headings (h1-h6) and paragraphs.
- Each post includes the title and formatted body content.
Generating an API key
- Log in to your Payload admin panel.
- Navigate to your API Keys collection (or the users/authentication section, depending on your Payload configuration).
- Create a new API key with permission to create content in your target collection.
- Copy the key.
Troubleshooting
Verify Credentials fails - Confirm your Payload instance is running and accessible at the URL you provided. - Check that the API key is valid and has the correct permissions.
Articles fail to publish - Verify that your Payload content collection accepts the fields Knowatoa sends (title, content). - Check your Payload logs for any validation errors.
See Connect Your CMS for general CMS setup instructions.