Install from App Repository
install_from_app_repoInstall applications from the ServiceNow repository via the CI/CD API, blocking until completion for deploying custom apps across instances.
Instructions
Install an application from the company's ServiceNow application repository using the CI/CD API. This is a MUTATIVE, LONG-RUNNING operation that blocks until installation completes or times out (default: 30 minutes).
Typically used for deploying custom applications across instances (e.g., dev -> test -> prod). Use list_company_apps to find the application scope and sys_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| scope | Yes | The scope name of the application to install (e.g., "x_acme_my_app"). | |
| sys_id | Yes | The sys_id of the application in the repository. | |
| version | No | Specific version to install. If omitted, installs the latest. | |
| auto_upgrade_base_app | No | Whether to automatically upgrade the base application if required. | |
| base_app_version | No | Specific version of the base application to upgrade to. | |
| timeout_minutes | No | Maximum time to wait for installation to complete, in minutes. Default 30. |