# Deploying a solution

> Deploy a solution package to an Orchestrator tenant in Automation Suite.

Deploying a solution means installing a solution package as a new deployment in an Orchestrator folder. For more information about solution deployments, see [Understanding the solution development lifecycle](https://docs.uipath.com/solutions-management/automation-suite/2.2610/user-guide/solutions-management-overview).

You can initiate a solution deployment from either Studio Web or Orchestrator. Both surfaces drive the same underlying deployment experience: Studio Web is the originating surface, designed for solution authors who want to package and deploy in a single flow; Orchestrator is the administrative surface, designed for tenant administrators managing deployments at scale. This page documents the Orchestrator flow.

The Orchestrator deploy flow requires a solution package that has already been published to a feed. You can publish a package from Studio Web or Studio Desktop before deploying here.

This step is typically performed by an administrator.

## Deploying from Studio Web

In Studio Web, **Deploy** is the primary action on the solution toolbar. Selecting it opens the same guided flow described on this page, with a **What will happen** panel that shows the steps for your scenario. To publish a package without deploying it, select the dropdown arrow next to **Deploy**, then select **Publish**. Both actions open the same guided flow.

A solution stored in the Local Workspace is deployed the same way. For these solutions, the **Setup** form can show a **Commit before publish** toggle. When it is on, all local changes are committed and tagged with the package version before the package is published.

After you publish a solution, you can manage its deployments and versions from the solution backstage in Studio Web. For details, see [Solutions in Studio Web](overview-of-the-user-interface.md#solutions-in-studio-web). For the Studio Web steps, see [Publishing and deploying solutions](https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/publishing-and-deploying-solutions) in the Studio Web user guide.

## Open the Deploy workflow

You can open the Deploy workflow from any of the following locations in Orchestrator:

- **Deployments tab**: Select **Deploy** in the upper-right corner.
- **Packages tab**: Select the **Deploy** row action for the package you want to deploy.
- **Package sidebar**: Open a package to expand its sidebar, then select **Deploy** in the upper-right corner of the sidebar.
- **Versions tab of the Package sidebar**: Select the **Deploy** row action for the specific package version you want to deploy.

All four paths open the same **Deploy** workflow on the **Setup** form. The breadcrumb at the top reads **Tenant > Solutions > Deployments > Deploy**.

## Complete the Setup form

The Setup form is where you define what to deploy, where it lands, and how it activates. Complete the following fields, then select **Deploy**. The **Package** and **Version** fields are always visible; the remaining fields are grouped under the **Options** control, which you can expand or collapse. When collapsed, **Options** shows a summary of the current values (for example, the destination folder, whether triggers are enabled right away, and whether a runtime is set up).

![The Deploy workflow Setup form showing Package, Version, and the Options control expanded to reveal Deployment name, Location, Solution folder name, and toggle settings](https://dev-assets.cms.uipath.com/assets/images/solutions-management/solutions-deployments-setup-form-new-c78c21b8.png)

| Field | Description |
|---|---|
| **Package** | Select the solution package to deploy from the dropdown. After you select a package, its description appears beneath the field. |
| **Version** | The package version to install. Appears after you select a package. Defaults to the latest published version. Each entry shows the feed the version was published to. The publish date and release notes for the selected version appear beneath the field. Select a different version from the dropdown if needed. |
| **Options** | Expands or collapses the deployment settings that follow. When collapsed, it shows a summary of the selected values. |
| **Deployment name** | A required, tenant-unique name for this deployment. Auto-filled from the package name. Edit to use a different name. The name is validated as you type: if a deployment with the same name already exists, the form shows an error and you cannot continue until the name is unique. |
| **Location** | The folder where the solution folder will be created. Defaults to **Shared**. Select a specific folder from the dropdown, or select **Install as root folder** to create it under the tenant. |
| **Solution folder name** | The name of the subfolder created inside the destination folder. Auto-filled to match the deployment name until you edit it. Edit to customize it for this deployment. |
| **Activate immediately** | Toggle (on by default). When enabled, triggers are enabled right away, if any exist. |
| **Set up runtime** | Toggle (on by default). When enabled, provisions a serverless runtime when no default execution machine is configured at the tenant level. |

### Feeds and deployment location

A version published to the tenant feed is labeled **Tenant** in the **Version** dropdown. The **Location** field sets where the solution folder is created. For a package published to the tenant feed, you can select any folder.

For more about feeds, see [Solution feed](understanding-solution-concepts.md#solution-feed).

### Permissions required to deploy

The Setup form checks your permissions before it enables **Deploy**. The permission depends on the feed of the package version:

| Package feed | Required permission |
|---|---|
| Tenant | `SolutionDeployments.Create`, or `FolderSolutionDeployments.Create` on the destination folder. **Install as root folder** requires `SolutionDeployments.Create`. |
| Personal workspace | `FolderSolutionDeployments.Create` on your personal workspace folder. |

When a permission is missing, **Deploy** is disabled. A tooltip on **Deploy** gives the reason, for example *You do not have the `SolutionDeployments.Create` permission required to perform this action*. Two other messages can appear:

- *Choose a folder to deploy into. Deploying at the tenant root requires the `SolutionDeployments.Create` permission*
- *You do not have permission to create deployments in any folder of this feed*

Select a different location, or ask an administrator to grant the permission named in the message.

## Run the deployment

After completing the Setup form, choose one of the following options at the bottom of the form:

- **Deploy**: validates the configuration and runs the deployment immediately. The workflow progresses through the following steps shown in the **What will happen** panel on the left:

  | Step | Description |
  |---|---|
  | **Configure** | Validates and sets up the deployment. |
  | **Deploy** | Sets up folders and provisions resources. |
  | **Activate** | Enables triggers and validates the deployment, if **Activate immediately** is on. |

- **Customize** (select the dropdown arrow on the **Deploy** button): opens the resource explorer so you can review and configure individual solution components before the deployment runs. In the resource explorer, you can:

  - Filter the properties shown for a component using the **Display** control (**All properties**, **Empty properties**, **Required properties**, or **Configurable properties**).
  - Link a component to an existing resource. For details, see [Link a component to an existing resource](#link-a-component-to-an-existing-resource-optional) below.
  - Revert your changes to a component using **Reset**.
  - Review the **Issues** counter (errors, warnings, and information) and the **Logs** panel.

  When you finish, select one of the following:

  - **Continue** to proceed with the deployment.
  - **Validate** to check the configuration without deploying.
  - **Save as draft** to save and resume later.
  - **Delete draft** to discard the deployment.

![The resource explorer showing the component tree, properties panel with Display filter, Link to existing, Reset, Issues counter, Logs panel, and action buttons at the bottom](https://dev-assets.cms.uipath.com/assets/images/solutions-management/solutions-customize-view-6da479b5.png)

## Save a deployment as a draft

If you are not ready to run a deployment, you can save your progress and finish it later:

1. Select **Customize** from the **Deploy** button dropdown to open the resource explorer.
2. Configure components as needed.
3. Select **Save as draft**.

The draft appears in the **Deployments** tab with a **Draft** status chip. To resume it, select the draft row, then select **Continue editing**. To discard it, select **Delete draft**.

## Link a component to an existing resource (optional)

Linking a component to an existing resource avoids duplicating connections, assets, and queues across deployments. While customizing a draft deployment, you can link a component to an existing resource.

:::note
When the deployment is located outside your Personal Workspace (for example, in a shared folder), the candidate list excludes resources stored in your Personal Workspace at any folder depth, including nested subfolders. This prevents broken deployment configurations that your collaborators cannot run or maintain because they cannot access your Personal Workspace resources.

If the deployment is inside your Personal Workspace, all your accessible resources, including your Personal Workspace resources, are available for linking.
:::

When you select **Customize**, the resource explorer shows all components in the solution package. If a component with the same name already exists in the tenant, you can link the solution to it instead of creating a new one. This option is available for Assets, Storage buckets, Webhooks, and Queues. For each conflict, you can:

* Keep the existing component and not create an additional one.
* Keep the existing component and add new fields from the solution (existing fields are not altered).
* Rename the conflicting resource in the respective service.
* Rename the resource in the solution deployment, if possible.

To link a component to an existing resource:

1. In the resource explorer, select the component you want to link.
2. Select **Link to existing**.
3. In the picker, select the resource you want to link to.
4. Select **Link**.

:::note
When a resource is linked, it is not created as part of the deployment; the solution uses the linked resource directly. Linking a resource with a different name may lead to runtime errors unless the solution was developed to support this configuration.
:::

## Monitor deployment status

After the deployment starts, you can monitor progress from the workflow view or from the **Deployments** tab in **Solutions**. The following statuses are possible:

| Status | Description |
|---|---|
| **In progress** | The deployment operation is running. |
| **Successful** | The deployment completed and all components are installed. |
| **Failed** | The deployment failed and an automatic rollback was performed. |
| **Failed Rollback** | The deployment failed and some components require manual cleanup. |

For details about all statuses, see [Deployment statuses](https://docs.uipath.com/solutions-management/automation-suite/2.2610/user-guide/checking-the-deployment-status).

## Activate the deployment

:::note
If the solution contains apps and they are not activated using the provided link, the deployment activation fails. See the [Orchestrator](https://docs.uipath.com/orchestrator/automation-cloud/latest) and [Apps](https://docs.uipath.com/apps/automation-cloud/latest) documentation for detailed instructions.
:::

After a successful deployment, Orchestrator evaluates activation readiness. The deployment appears in the **Deployments** tab with one of the following statuses:

* **Inactive (Ready to activate)**: No additional configuration is required. Select the **More Actions** icon, then select **Activate deployment**.
* **Inactive (Needs setup to activate)**: Additional prerequisites must be completed before activation:

  1. Select the **More Actions** icon and choose **Set up activation**.
  2. Review the activation validation results and complete the required items:
     * Add accounts and assign roles.
     * Add machines to solution folders.
     * Define account-machine mappings, if needed.
     * Define asset values per robot, if applicable.
     * Activate apps used in the solution.
     * Fill in bindings for process-type components, if applicable.

     :::note
     When deploying a solution, a **Default Serverless** template may be automatically attached to the target folder if the **Set up runtime** toggle was enabled on the Setup form. This ensures the solution can run without manually configuring machine templates. If a serverless template is already inherited, no additional template is attached.
     :::
  3. Resolve the listed items.
  4. Select **Validate**.
  5. Select **Activate**.

**Result**: Once your solution is deployed and successfully activated, that solution is displayed on the Deployments tab with an Active status.
