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
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
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.
Was this page helpful?