Skip to content
Sanity
  • Docs
  • Reference
  • Guides
  • Plugins & tools
  • Contact sales
  • Log in
  • Get started
DocumentationGetting started
    • Introduction

      • What you need to know

    • Getting started

      • Starter projects

      • Start with CLI

    • Sanity Studio

      • Configuration

        • Project Structure
        • sanity.json
        • Environment variables
      • Content modelling

        • Best practices
        • Naming things
        • Content types
      • Customization

        • NEWEarly Access: Sanity UI
        • Styling
        • Preview / List View
        • Icons for data types
        • Sort orders
        • The parts system
        • Plugins
        • Custom Input Components
        • Custom asset sources
      • Block content

        • The rich text editor
        • Configuration
        • Customization
        • Previewing
        • Presenting Portable Text
      • Validation

      • Document history

        • NEWCustom Diff Components
      • Dashboard

        • Introduction
        • Installing widgets
        • Create widgets
      • Structure Builder

        • Introduction
        • Typical use cases
      • Initial Value Templates

      • Custom workflows

        • Document actions
        • Document badges
      • NEWPresence API

      • Studio hosting

      • Preview in frontend

      • Localization

      • Drafts

      • Experimental Features

      • Spaces

      • Action UI affordances

      • Studio search config

    • Data store

      • Query language (GROQ)

        • How Queries Work
        • Query Cheat Sheet
        • GROQ Playground
      • GraphQL

      • Images & assets

        • Assets
        • Asset CDN
        • Presenting Images
      • API CDN

      • Real-time

        • Webhooks
        • Real-time Updates
      • Datasets

        • NEWHot Swap
        • NEWCloud Clone
      • Updating content

        • Transactions
        • Migrating Data
      • IDs and paths

      • Importing data

      • Security

        • Browser security & CORS
        • Access Your Data (CORS)
        • Access Control
        • Third-Party Login (SSO)
        • Keeping your data safe
      • Technical limits

    • Build with Sanity

      • Convince your team

      • Convince your clients

      • Pro Bono Plans

      • Open-source projects

      • Non-profit organizations

    • Reference docs

      • HTTP API

        • URL format
        • Authentication
        • Patches
        • Using JSONMatch
        • Endpoints
        • Assets
        • Doc
        • Export
        • History
        • Listen
        • Mutate
        • Projects
        • NEWJobs
        • Query
      • Query language (GROQ)

        • Syntax
        • Data Types
        • Operators
        • Functions
        • Pipeline Components
        • Joins
      • Schema types

        • Array
        • Block
        • Boolean
        • Date
        • Datetime
        • Document
        • File
        • Geopoint
        • Image
        • Number
        • Object
        • Reference
        • Slug
        • String
        • Span
        • Text
        • URL
      • Command line interface

        • Build
        • Check
        • CORS
        • Dataset
        • Debug
        • Deploy
        • Docs
        • Documents
        • Exec
        • Graphql
        • Help
        • Hook
        • Init
        • Install
        • Login
        • Logout
        • Manage
        • Projects
        • Start
        • Versions
        • Undeploy
        • Upgrade
      • Client libraries

        • JavaScript
        • PHP
        • .NET
      • Structure builder

      • Initial Value Templates API

      • Image transformations

        • NEWIIIF API reference
      • Studio React hooks

      • Document Actions API

      • Document Badges API

      • Project Management

      • Projects, organizations, and billing

      • Plans and Payments

    Getting started

    There are two primary ways of getting started with Sanity.io:

    1. You can download the command line interface (CLI) from npm and use it to initiate a new project.
    2. With our starter projects you will, in minutes, have a preconfigured Sanity Studio and a fully working front-end in the framework of your choosing, all deployed to Netlify and source code on GitHub.

    Get started using the CLI

    Download the Sanity CLI from node package manager and initiate new projects from the command line.

    Starter projects

    Our starter projects will get you going with a fully configured Sanity Studio, a best practice frontend in a range of popular frameworks such as React, Vue, Svelte, and deployment on Netlify and Vercel.

    Importing data

    How to go about importing data in bulk, including file and image assets.

    Guides

    • Importing data from external sources

      A detailed guide of how to import external data into Sanity

      Bjørge Næss
    • Managing content with Sanity

      Getting started introduction to Sanity

      Henning Håkonsen
      Community contribution · react.christmas
    • Making New Projects with Gatsby & Sanity

      How to start from scratch with a Sanity powered Gatsby website

      Ryan Doyle
      Community contribution · dev.to
    Sanity
    Loading…

    Product

    • Structured content
    • Developer experience
    • Sanity Studio
    • Pricing
    • Enterprise
    • Security & compliance

    Resources

    • Get started
    • Documentation
    • Reference documentation
    • Guides
    • Plugins & tools
    • Case studies
    • Solutions
    • Starter projects
    • Headless CMS explained

    Company

    • Contact us
    • Blog
    • Careers
    • Terms of service
    • Privacy policy

    Subscribe to our newsletter

    Places to find Sanity

    • @sanity-io
    • Join our Slack
    • @sanity_io
    • YouTube channel
    • Stack Overflow
    • Read our Blog