KBAISE/ for lovable
Library
Docs

Connect your app to Contentful

about 5 minBuildingchecked 25h agoOfficial page
The short version

Connect your Contentful account to Lovable to pull published articles, assets, and text directly into your app. This connection is read-only, so your team edits content in Contentful while Lovable displays it.

Anyone who wants to display content managed in Contentful inside their Lovable web app.

Do this, in order

  1. 1

    Sign in to Contentful, go to Settings, then General settings, and copy your Space ID.

    Lovable needs this ID to find the specific content bucket in your account.

  2. 2

    In Contentful, go to Settings, then API keys, click Add API key, and copy the Content Delivery API - access token.

    This token gives Lovable permission to read your published entries.

  3. 3

    In Lovable, navigate to Connectors and select Contentful.

    This opens the setup panel for adding your integration.

  4. 4

    Click Connect, enter a display name, paste your Space ID and the Content Delivery API access token, set your sharing preferences, and click Connect.

    This verifies your credentials and makes the connection available for your projects.

  5. 5

    Open your project chat and ask Lovable to link to Contentful and build your content-driven pages.

    This enables your project to fetch and display the content stored in your Contentful space.

Paste this into your project

Connect to my Contentful integration and build a blog page that fetches and displays published articles, including titles, rich text content, and linked images.

Words decoded

Headless CMS
A tool for writing and organizing text and media without dictating how that content looks on the final website.
Content Delivery API
The specific connection address Contentful uses to share published text and media with other applications.
Space
A container or folder in Contentful where all the content for a specific project lives.

Where people get stuck

  • Do not copy the Content Preview API token; the connector only works with the Content Delivery API token for published content.
  • Draft or unpublished entries cannot be fetched by Lovable.
  • The connection cannot create, edit, or delete content in Contentful; it is strictly read-only.

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.