App SDK

Installation

Learn how to bootstrap a new custom application using the Sanity App SDK.

The Sanity App SDK is distributed as two separate npm packages: the core TypeScript SDK, and a ready-to-go React implementation.

You can use the core SDK on its own, but its main purpose is to power the React SDK. It also leaves room for other framework-specific implementations later. For now, the React SDK is the primary focus, and it’s what the bootstrapping process in this guide installs. This guide explains how to bootstrap a new App SDK application with the Sanity CLI.

Prerequisites

  • Some familiarity with JavaScript or TypeScript development.
  • A terminal.
  • Node.js v22.12 or later.
  • An available project dataset. Many examples in these docs use the Movies template and data, which you can select when initializing a new studio. See the Studio installation guide.
  • A Sanity account and an organization.

Bootstrap a new app with the Sanity CLI

Use the Sanity CLI to initialize a new application. The command creates a new React app with all the necessary dependencies and boilerplate:

The CLI bootstraps your app and preconfigures it with your organization ID. If you have worked on a Sanity Studio project locally, the layout is familiar.

Before running your app locally, you need to add a small amount of configuration.

Next steps

Was this page helpful?