Use a CMS with Astro
Ready to connect a Headless CMS to your Astro project? Follow one of our guides to integrate a CMS.
CMS GuidesSection titled CMS Guides
Note that many of these pages are stubs: they’re collections of resources waiting for your contribution!
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.
Can I use Astro without a CMS?Section titled Can I use Astro without a CMS?
Yes! Astro provides built-in ways to author content, including support for Markdown pages.