App SDK 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 deploypnpm dlx sanity deploy
yarn dlx sanity deploy
bunx sanity deployNote that to deploy SDK apps you need a role of organization admin, Developer, or equivalent. Organization-level robot tokens with the "Manage SDK Apps" permission (which grants deploy, read, and delete access to SDK applications) can also be used to deploy SDK apps. 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 undeploypnpm dlx sanity undeploy
yarn dlx sanity undeploy
bunx sanity undeployNote 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.