- Fetch published entries, assets, and content types from your space
- Deliver content through Contentful’s CDN backed Content Delivery API
- Build dynamic pages and layouts powered by your CMS content
- Filter and paginate entries by content type, locale, or field values
- Render rich text fields in your app UI
The Contentful connector is read only. It does not support creating, updating, or deleting content. All content management happens in the Contentful web app or through the Contentful Management API.
Common use cases and example apps
How to connect Contentful
Workspace admins and owners can connect Contentful. You can create multiple Contentful connections using different API keys or different spaces. This can be useful for separating development and production environments or connecting multiple Contentful spaces. When the connection is created, Contentful becomes available across all projects in the workspace.Prerequisites
Before connecting Contentful, make sure you have:- A Contentful account with a space that contains published content
- A Content Delivery API (CDA) access token for that space
- Your Space ID
- Lovable workspace owner or admin role
All API requests made through this connector use your Content Delivery API access token. API usage counts toward your Contentful plan limits and billing is handled directly by Contentful, not Lovable.
Step 1: Find your space ID and create a CDA access token
Your Space ID and CDA access token are both available in the Contentful web app. To find your Space ID:- Log in to app.contentful.com.
- Open the space you want to connect.
- Go to Settings → General settings.
- Copy the Space ID.
- In the same space, go to Settings → API keys.
- Click Add API key or open an existing key.
- Give the key a name such as
Lovable integration. - Copy the Content Delivery API access token.
Step 2: Connect Contentful to Lovable
- Open Connectors → App connectors and select Contentful.
- Click Add connection.
- Enter a Display name, for example
Contentful Prod. - Enter your Space ID.
- Enter your Content Delivery API access token.
- Click Connect.
How to unlink projects from a connection
Editors and above can remove specific projects from a connection without deleting the connection entirely. The connection will remain available for other projects. To unlink projects:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to manage.
3
Select projects
Under Linked projects, check the projects you want to unlink.
4
Confirm
Click Unlink projects and confirm.
How to delete a connection
Workspace admins and owners can delete connections. Other members can delete a connection if they created it, or if they have been explicitly granted access to it. Before deleting, review the Linked projects section to see which projects are currently using the connection. To delete a connection:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to remove.
3
Review linked projects
Review the Linked projects section.
4
Delete
Under Delete this connection, click Delete and confirm.