Connect your app to Storyblok
Connect Storyblok to your Lovable project to display content like blog posts and landing pages, or manage and publish articles directly from your app. You can set it up as read-only for public content or with editing permissions to create and update posts.
Anyone who wants editors to manage website content, blogs, or marketing pages in Storyblok without touching code.
Do this, in order
- 1
Check whether you need read-only display access (CDN API) or full editing access (Management API), and note your Storyblok space region.
Your token or account login must match both the intended permissions and the exact geographic data region where your space is hosted.
- 2
If using the CDN API, go to your Storyblok space under Settings > Access Tokens, generate a Public or Preview token, and copy it.
Lovable needs this key to read your published or draft stories.
- 3
Open Connectors in your Lovable dashboard, select Storyblok, and click Connect.
This starts the setup form to configure your Storyblok connection.
- 4
Select your API type, pick the exact matching space region, and either paste your access token or sign in with Storyblok.
A region mismatch will cause authentication to fail even if the token or login credentials are valid.
- 5
Set sharing access under Sharing to choose who in your workspace can use this connection, then click Connect.
Connections are private by default unless you share them with team members.
- 6
Open your Lovable project chat and ask Lovable to link your project to Storyblok and fetch your content.
Linking allows the builder and your running app to call the Storyblok connector directly.
Paste this into your project
Connect to Storyblok and build a blog that lists published articles, supports tag filtering, and renders rich text and images for each post based on its slug.
Words decoded
- Headless CMS
- A content management system where editors write and organize content, but the display and design are handled completely by your app.
- CDN API
- A fast, read-only connection used solely to download and display published or draft content.
- Management API
- A read-and-write connection that lets your app create, update, or publish content inside Storyblok.
- Slug
- The human-readable part of a web address that identifies a specific page or article, such as 'about-us'.
Where people get stuck
- Selecting the wrong space region (for example, choosing EU when your space is in US) will cause all authentication requests to fail.
- Using a Public token will not return draft content; you must create and connect a Preview token if you want to preview unpublished work.
- The connector does not listen for incoming webhooks or instant publish events from Storyblok.
- The connection uses one shared account or token for the entire project, rather than logging in individual app visitors.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.