Sanity
Your app needs content. That content needs a home that doesn't force you to choose between developer control and editor autonomy.
Sanity is the Content Operating System built for modern development workflows. Start with a simple API and Studio, then add automation, AI, and custom workflows as your needs grow. Unlike traditional CMSes focused at web publishing, Sanity provides the infrastructure for your entire content operation.
This integration connects your Vercel project to Sanity and provisions the environment variables you need to get started.





Adding the integration
The integration provisions environment variables for your Vercel project:
Public Environment Variables
SANITY_API_PROJECT_IDSANITY_STUDIO_PROJECT_IDNEXT_PUBLIC_SANITY_PROJECT_IDSANITY_API_DATASETNEXT_PUBLIC_SANITY_DATASETSANITY_STUDIO_DATASET
Private/Secret Environment Variables
SANITY_API_READ_TOKENSANITY_API_WRITE_TOKEN
For more information about these variables and to see an example implementation, take a look at the Vercel/Sanity.io integration documentation.
Add Sanity Studio to Your Project
npm create sanity@latestStudio deploys alongside your app or to Sanity's hosting. Content updates flow to your frontend in real-time either way.
For Next.js Projects
Use our next-sanity toolkit for production-ready patterns:
npm install next-sanityIncludes client configuration, Live Content API for real-time updates, and visual editing helpers.
