Skip to content
Your AI knows it (stack pack)Starter and up

Contentful sites, with an AI that knows Contentful

Xodia detects Contentful on your site, lets the preview fetch your content, and gives your AI skills for the Delivery and Preview APIs, Live Preview and rich text. You edit the page around the content visually; the entries stay in Contentful.

Free plan. 14-day Pro trial. No charge unless you choose a plan.

Stack packs on the Agents page, scrolled to the content system, framework and CMS, and host packs, for a Next.js site on Contentful: Contentful, Next.js with Contentful and Vercel are marked On this site.

What you can do

Your site and its content, each where it belongs

The preview shows your pages with real content. The Content tab doesn't edit Contentful entries yet, so content changes happen in Contentful and code changes in Xodia.

  • The live preview fetches from Contentful's APIs, which are allowed for the preview without setup
  • Edit the layout and the text written in your code on the canvas, as on any site
  • Ask your AI for code changes: queries, content types used in code, Live Preview tags and rich text rendering
  • Skills for Next.js and Astro with Contentful, for draft mode and fresh pages on publish

The Content tab on a site whose content lives in Contentful: no collections yet, a note that editing it here comes next and that your agent can change it for now, and Ask your agent.

How to set it up

Give the preview your Contentful keys

Xodia reads Contentful the way your site does, with the variables it already uses.

  1. Import your site. Xodia detects Contentful from its packages, such as contentful or @contentful/live-preview.
  2. In Settings, Environment variables, add the space id and tokens your site reads, under the same names.
  3. Start the preview: pages render with your Contentful content.
  4. Ask your AI for a change. It loads the Contentful skills for your framework on its own.

Settings, Environment: the Contentful space id, delivery token and preview token added as preview variables, each shown only as hidden, with the note that values are encrypted and never shown to your agent.

Versions and skills

The versions it covers, and the skills your AI gets

When your AI works on the site, it loads Xodia's skills for this stack, written for the versions below.

  • Contentful skills

    Starter and up

    Delivery and Preview APIs, Live Preview tags and updates, content types and rich text, and what changes in code.

    Written for: contentful.js clients, @contentful/live-preview 4 and @contentful/content-source-maps, on Next.js, Astro or any React site.

  • Next.js with Contentful skills

    Starter and up

    Draft mode with the Preview API, Live Preview in the editor, and fresh pages on publish.

    Written for: Next.js 14 to 16 App Router with contentful.js 10 and 11, @contentful/live-preview 4 and @contentful/content-source-maps; revalidateTag notes for 16.

  • Astro with Contentful skills

    Starter and up

    Delivery or Preview API by environment, and a rebuild when editors publish.

    Written for: Astro 4 to 7 with contentful.js 10 and 11 and @contentful/rich-text-html-renderer.

Plans

Which plan you need

The Contentful skills come with Starter, Pro and Agency. The preview, the canvas and your AI work on every plan.

  • Free

    CMS and host packs: not included

  • Starter

    CMS and host packs: included

  • Pro

    CMS and host packs: included

  • Agency

    CMS and host packs: included

Limits

Good to know

  • The Content tab doesn't edit Contentful entries yet; edit them in Contentful
  • Xodia has no Contentful connection of its own: the preview uses the keys you add as environment variables
  • Text that comes from Contentful isn't edited in place on the canvas

Questions

Contentful questions

Can I edit Contentful entries in Xodia?

Not yet. The Content tab edits files in your repo and Sanity documents. For Contentful, edit entries in Contentful, and use Xodia for the site's code and layout.

Are my Contentful tokens safe?

They're stored encrypted, passed only to the preview's dev server, and never shown to your AI or in Xodia again.

Which frameworks do the skills cover?

Contentful on Next.js, Astro or any React site, with extra skills for Next.js and Astro.

What if I want a CMS I can edit in Xodia?

Sanity documents and content kept in your repo open in the Content tab. See Sanity and git-based CMS.

Keep exploring

Bring your Contentful site, and an AI that knows it.