Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Visual Editing
    • Blueprints
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates

Sanity Docs.

Start building with Sanity's Content Operating System. Explore guides, examples, resources, and references for our platform and applications.

Quickstarts

Getting started

Set up Sanity with your favorite framework in minutes.

Next.js→
Astro→
Nuxt→
React Router→
Or start with a template→
Popular destinations

New to Sanity? Start here

Get to the Sanity ecosystem and how to get started.

How schemas work

Learn about schema types and how to create content models

GROQ Cheat sheet

Quick reference for common query patterns with GROQ

Visual Editing

Set up live preview, click-to-edit, drag'n'drop for Sanity Studio

Sanity MCP server

Enable AI agents to interact with your Sanity workspace through the Model Context Protocol (MCP).

Get started with AI-powered Sanity development

Set up the Sanity Agent Toolkit and MCP server to help AI assistants generate high-quality Sanity code that follows established best practices.

The Content Operating System

Content Lake

Real-time database for structured content

Build with AI

Run business logic, automate workflows with AI

APIs and SDKs

Developer tools that power your entire content lifecycle

Sanity Apps

Studio

Fully featured, customizable multiplayer CMS

Canvas

AI-powered distraction-free writing

Media Library

Centralized asset management for orgs

Dashboard

Where you can run your apps in a unified interface

Content Agent

Bulk edits, content audits, and gap analysis through conversation

App SDK

Build any content operations app

Reference

Schema

A schema describes the types of documents and fields editors may author in a Sanity Studio workspace.

HTTP API

Interactive reference for HTTP endpoints

Library Reference Docs

Typedoc reference documentation for Sanity's JS-based libraries and SDKs

CLI

Command Line Interface for local development

Tools and libraries

Integration, tools, and utilities for Sanity development

Resources

Developer guides

Official implementation guides for common patterns and solutions

Courses and certifications

Get work-ready with Sanity

Join the community

Get help, share projects, and hang out with other Sanity devs

Explore templates

Official and community contributed templates to kick-start a new project or get inspired from

User guides

Guides for apps and user interfaces for those who work with content