Skip to content

Astro Integration

Astro is the first-class frontend integration. The CMS itself is frontend-agnostic; @kenresoft-cms/astro is a typed client for its public API.

I want to Do this
Start a new website New Astro site
Add the CMS to an existing Astro project Existing Astro site
Read content API client
Sign visitors in Authentication and the same-origin proxy
Preview drafts Live Preview

The website and the CMS are separate projects. pnpm run update in the CMS never modifies your website; use npx @kenresoft-cms/create astro --update in the website. See Updating the integration.

A statically generated site fetches content at build time, so published changes need a rebuild. A server-rendered site reads current content on each request, which is the better fit when editors expect changes to appear immediately.