Why connect Strapi to Slate?
Slate generates content through AI-powered workflows. Strapi stores and serves your content. Connecting the two moves content from generation into your Strapi collections in a single automated flow.Prerequisites
- The Admin role in your Slate workspace. Members can view integrations but can’t connect them.
- A Strapi 5 project served from a public HTTPS URL
- Two Strapi tokens: a Content API token and a read-only Admin token
Setup
Step 1: Create your Strapi tokens
Slate uses two tokens, each for a different job:
The connect dialog shows where to create each token and which permissions it needs:
- Content API token: “Strapi → Settings → API Tokens. Needs Article find/create/update/publish and Upload find/create.”
- Read-only Admin token: “Strapi → Settings → Administration Panel → Admin Tokens → Plugins → Content-Type Builder → Read.”
Step 2: Connect Strapi in Slate
- Open Slate and go to Workspace settings → Integrations.
- Under More integrations, find Strapi and click Connect.
- Optionally, enter a Connection name (e.g., “Company Blog”).
- Enter your Strapi root URL in Strapi base URL, for example
https://cms.example.com. Don’t add/adminor/api. - Paste your Content API token into Content API token.
- Paste your read-only Admin token into Read-only Admin token.
- Click Connect.
Step 3: Use the connection in a workflow
- Open or create a workflow.
- Add the Strapi block from the Apps section.
- Select your connection in Strapi connection.
- Choose a Collection.
- Map your workflow data to the collection’s fields under Article fields.
What you can do
Once connected, the Strapi integration enables the following through the Strapi workflow block:Use cases
AI-powered blog publishing
Generate blog posts with the LLM block, then save them to your Strapi articles collection as drafts. Example flow: Input keywords → LLM generates article → Strapi block saves a draft entryContent refreshes
Rewrite existing articles and update them in place. Match on the article’s slug so the block updates the entry instead of creating a new one. Example flow: List of slugs → Loop block iterates slugs → LLM rewrites content → Strapi block updates each entryPublishing with approval
Use the Human Review block to get sign-off before content goes live. Example flow: LLM drafts case study → Human Review for approval → Strapi block publishes the entryManaging connections
View connections
Go to Workspace settings → Integrations to see your Strapi connections. Each connection shows Connected or Needs attention.Fix a connection that needs attention
A connection shows Needs attention when Slate marks it invalid. To fix it:- Create new tokens in Strapi as described in Step 1.
- Open the ⋮ menu on the Strapi row and choose Add another connection.
- Enter the base URL, paste both tokens, and click Connect.
- In each Strapi block that used the old connection, select the new connection.
- Remove the old connection.
Selecting a different connection in a Strapi block clears the block’s collection, unique field, and field mappings. Set them again after you switch.
Remove a connection
Open the ⋮ menu on the Strapi row and choose Disconnect. If you have more than one connection, expand the row and click Remove next to the connection. Workflows that use the removed connection need a new one.Troubleshooting
What’s next
- Strapi Block — detailed guide on configuring the Strapi workflow block
- Building Workflows — learn how to create workflows from scratch
- Loop Block — process multiple items in a workflow
- Human Review Block — add approval steps before publishing