
Templates
Have a Sanity powered app up and running in minutes with best-practice templates.
Enterprise Astro applications need more than a CMS. They need structured content that models your business, APIs that power any channel, and an AI-ready foundation that scales with your team. Sanity gives Astro developers and content teams a single source of truth built for modern architectures — and the agentic era.


Install with npx astro add @sanity/astro for seamless integration. Official support ensures compatibility with every Astro release.
Ship zero JavaScript to the browser by default. Query Sanity at build time for optimal performance without client-side overhead.
Full TypeScript support across Sanity client libraries and Astro integration. Generate types from your content models for end-to-end type safety.
Query content with GROQ or GraphQL. Both deliver precise data fetching for optimal Astro build performance and developer experience.
Serve content and assets through Sanity's global CDN. Deliver millisecond response times worldwide with edge-cached content.
Enable real-time preview for Astro sites. Content teams see changes instantly without waiting for builds or deployments.
Built for high-traffic Astro sites processing billions of requests monthly. Scale confidently with 99.95% uptime SLA and enterprise support.
Model content as structured data that adapts to any Astro component. Reuse content blocks across pages, channels, and AI-powered experiences.
Build with best-of-breed tools. Integrate Sanity with your hosting platform, and development workflow seamlessly.
Leverage Astro Islands with Sanity content. Hydrate only the interactive components you need while keeping content delivery blazing fast.
Find everything you need for Astro and Sanity:

Engineered for developer efficiency
Define your schema in TypeScript and get a fully functional content workspace instantly. Near-infinitely configurable and customizable interfaces and workflows. The fastest way to get from zero to production-grade content editing.


A fully managed database optimized for content. It connects your content to any system, including ERP, CRM, eCommerce, and AI, giving you ultimate flexibility in how you build and deploy. Query your content as data using GROQ or GraphQL, and Sanity handles the rest.

Build your own custom, live-updating, multiplayer apps. Anything really, from custom dashboards, advanced analytics tools, or content workflow tools. Connect to your other content authoring experiences and power custom views and workflows specific to your team.


Write and deploy functions that extend the content lifecycle, validate data, augment with AI, invalidate frontend caches—with your own business logics.

Sanity can be integrated with any major framework, providing the flexibility need to have full control of your project.
Join enterprise teams who trust Sanity to power their Astro applications. From official integration to enterprise scalability, Sanity delivers the Content Operating System that modern Astro sites demand.