Was this page helpful?
Learn how to deploy your custom application to your organization dashboard.
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 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.
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.
npx sanity deploypnpm dlx sanity deployyarn dlx sanity deploybunx sanity deploypnpm dlx sanity deployyarn dlx sanity deploynpx sanity undeploypnpm dlx sanity undeployyarn dlx sanity undeploybunx sanity undeploypnpm dlx sanity undeployyarn dlx sanity undeploy