Sanity Website Integration
Give editors a structured CMS that can serve multiple page types and brands from a single source.

Where Sanity fits
Give editors a structured CMS that can serve multiple page types and brands from a single source.
Connect it to your website
Connect Astro or another frontend using the Content Lake APIs. Define schemas and projections for the content each route needs, then set up isolated draft previews and a published-only production build. Webflow can stay separate or receive content through a controlled sync where appropriate.
A practical implementation
For a B2B service and case-study library, reference industries and related projects rather than copying text. Give editors an example of a safe draft-to-publish flow. Verify how references behave when pages are renamed or archived.
What to check before launch
Keep preview tokens off the frontend. Separate draft and published perspectives, and choose how builds or revalidation respond to updates. Deleting or renaming schema fields requires a content migration plan.
Model structured content around the website
Define documents for services, case studies, industries and other repeatable page types. Use references where the same entity appears across pages, and keep presentation-specific choices limited to what editors actually need. Sanity Studio is the editorial interface; Content Lake stores and serves structured content. Astro or another frontend renders the final website, so a change in the Studio schema alone does not update the frontend template.
Connect publishing, preview and production safely
Use explicit GROQ projections and a published-only perspective for the public website. Keep authenticated draft previews separate and prevent draft content from appearing in sitemaps. Choose a webhook-triggered build or a runtime refresh strategy according to content freshness needs. Store tokens server-side, validate editor access and plan schema migrations when renaming fields. Test a draft, publication, reference change and archive on a representative content type.
Frequently asked questions
Does Sanity replace the visual website builder?
Sanity owns content and editorial tooling. The frontend still controls how the site looks and behaves.
Can editors preview their changes on the site?
Yes, with a separate authenticated preview using the draft perspective. Keep published routes and builds on the published perspective.
Can Sanity supply several websites from one CMS?
Yes, with suitable schemas, access boundaries and frontend integrations. Decide which content is shared and how publication and localization are controlled.
Related guides
Igorev’s Webflow to Astro migration
