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
    • Agent Actions
    • 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
App SDK
Overview

  • Quickstart
  • Introduction
  • Learn App SDK Course
  • Setup and development

    Installation
    Configuration
    Deployment

  • Concepts

    Document Handles
    React Hooks
    Suspense
    Authentication
    App SDK best practices

  • Guides

    Fetching and handling content
    Editing documents

  • Style your app

    Sanity UI
    Tailwind CSS

  • TypeScript

    TypeGen (Experimental)

  • Reference

    @sanity/sdk-react
    SDK Explorer

On this page

Previous

Configuration

Next

Document Handles

Was this page helpful?

On this page

  • Deploy your app
  • Undeploy your app
App SDKLast updated June 3, 2025

Deployment

Learn how to deploy your custom application to your organization dashboard.

Deploy your app

To deploy your custom application, you use the same command as when deploying a studio: sanity deploy

npx sanity deploy
pnpm dlx sanity deploy
yarn dlx sanity deploy
bunx sanity deploy

Note that to deploy SDK apps you need to have the sanity.sdk.applications.deploy permission enabled for your user account. This permission is enabled for Organization Admins and Developers by default. Read more about roles and permissions here.

Undeploy your app

To undeploy your custom application, you can use sanity undeploy from within your custom app’s directory.

npx sanity undeploy
pnpm dlx sanity undeploy
yarn dlx sanity undeploy
bunx sanity undeploy

Note that you’ll need to have your app.id saved in your sanity.cli.ts file (as prompted during the deploy process) in order for your app’s deployment to be removed.

npx sanity deploy
pnpm dlx sanity deploy
yarn dlx sanity deploy
bunx sanity deploy
pnpm dlx sanity deploy
yarn dlx sanity deploy
npx sanity undeploy
pnpm dlx sanity undeploy
yarn dlx sanity undeploy
bunx sanity undeploy
pnpm dlx sanity undeploy
yarn dlx sanity undeploy