Use a CMS with Astro

blue boats parked on river between multicolored buildings at sunset

Ready to connect a Headless CMS to your Astro project? Follow one of our guides to integrate a CMS.

Tip

Find community-maintained integrations for connecting a CMS to your project in our integrations directory.

CMS Guides

Section titled CMS Guides Note that many of these pages are stubs: they’re collections of resources waiting for your contribution!

Apostrophe

Builder.io

ButterCMS

Caisy

CloudCannon

Contentful

Cosmic

Craft CMS

Crystallize

DatoCMS

Decap CMS

Directus

Drupal

Front Matter CMS

Ghost

Hashnode

Hygraph

Keystatic

KeystoneJS

Kontent.ai

microCMS

Payload CMS

Prepr CMS

Prismic

Sanity

Sitecore XM

Spinal

Statamic

Storyblok

Strapi

Tina CMS

Umbraco

WordPress

Why use a CMS?

Section titled Why use a CMS? A Content Management System lets you write content and manage assets outside of your Astro project.

This unlocks new features for working with content. Most CMSes give you a visual content editor, the ability to specify standard types of content, and a way to collaborate with others.

A CMS can be useful for content that follows a particular structure, often giving you a dashboard-like experience and WYSIWYG editing tools. You might use a CMS to write blog posts using a CMS’s rich text editor instead of Markdown files. Or you might use a CMS to maintain product listings for an eCommerce shop, making certain fields required to avoid incomplete listings.

Your Astro project can then fetch your content from your CMS and display it, wherever and however you want on your site.

Which CMSes work well with Astro?

Section titled Which CMSes work well with Astro? Because Astro takes care of the presentation of your content, you’ll want to choose a headless CMS, like those in the list above. This means that the CMS helps you write your content, but doesn’t generate a site that displays it. Instead, you fetch the content data and use in your Astro project.

Some headless CMSes, like Storyblok, provide an Astro integration that helps fetch the content specifically for an Astro site. Others provide a JavaScript SDK, a library that you install and use to fetch your remote content.

Explore a list of over 100 headless content management systems External where you can filter by type (e.g. Git-based, API driven) and license (open-source or closed-source).

Can I use Astro without a CMS?

Section titled Can I use Astro without a CMS? Yes! Astro provides built-in support for Markdown.

Recipes

Publish on 2024-01-19,Update on 2024-11-06