# Managing your host license

> If your instance of Private Test Cloud has access to the internet, follow the instructions in this section to activate, update, or deactivate your license.

## Managing licenses in an online instance

If your instance of Private Test Cloud has access to the internet, follow the instructions in this section to activate, update, or deactivate your license.

These procedures are administered either at the organization level by an organization admin (for organization licensing), or at the host portal level by a system admin (for host licensing).

### Activating your license online

:::note
If you already have a UiPath® license, [contact UiPath](https://www.uipath.com/company/contact-us/licensing-queries-activations) to request a new license code with the same quantities for use in Automation Suite.
:::

1. Log in to the organization as an organization administrator or to the host portal as a system administrator.
2. Make sure that the organization name (for organization licensing) or Host (for host licensing) is selected in the pane on the left and then select **Licenses**.
3. Select **Activate License** and then **Online Activation**.

   The **Activate License Online** panel opens from the right of the window.

   The **Account ID** field is automatically populated with the unique identifier of your Automation Suite instance.
4. In the **License Code** field, enter the license key you received from UiPath.
5. Select **Activate**.

### Updating your license online

Whenever your license changes - for example when new licenses are added, or when you renew your license - you must perform a license update from Private Test Cloud.

1. Log in to the organization as an organization administrator or to the host portal as a system administrator.
2. Make sure that the organization name (for organization licensing) or Host (for host licensing) is selected in the pane on the left and then select **Licenses**.
3. Select **Update License** in the top right and select **Online Activation**.

   The **Update License Online** panel opens from the right of the window and the **Account ID** and **License Code** fields are already filled in with your information.
4. Select **Update**.

   UiPath automatically checks your license status and synchronizes any changes. When finished, a success message appears in a tooltip at the top right of the page and the **Licenses** page refreshes to display the updated information.

### Deactivating your license online

1. Log in to the organization as an organization administrator or to the host portal as a system administrator.
2. Make sure that the organization name (for organization licensing) or Host (for host licensing) is selected in the pane on the left and then select **Licenses**.
3. Select **Deactivate License** and select **Online Deactivation**.
4. In the confirmation dialog, select **Remove** to confirm the action.

   A tooltip appears in the top right of the screen, confirming that the license has been deactivated.

   On the **Licenses** page, the state changes to **Unlicensed**.

## Managing licenses in an offline instance

If your instance of Private Test Cloud does not access to the internet, follow the instructions in this section to activate, update, or deactivate your license.

These procedures are administered either at the organization level by an organization admin (for organization licensing), or at the host portal level by a system admin (for host licensing).

### Activating your license offline

:::note
If you already have a UiPath license, [contact UiPath](https://www.uipath.com/company/contact-us/licensing-queries-activations) to request a new license code with the same quantities for use in Automation Suite.
:::

1. Obtaining the license request file:
   1. Log in to the organization as an organization administrator or to the host portal as a system administrator.
   2. Make sure that the organization name (for organization licensing) or Host (for host licensing) is selected in the pane on the left and then select **Licenses**.
   3. Select **Activate License** and then select **Offline Activation**.

      The **Activate License Offline** panel opens at the right of the window.
   4. Fill in the **License Code** field with your license key.
   5. Under **Do you have a license file?** select **No**.
      :::note
      If you already have a license file, skip to the sub-section **Activating the license**.
      :::
   6. Under step 1, select **Download** to generate and save a license request file. A download begins for the file **Activation Request.txt**.
   7. Move this file to a different machine which does have internet access.
2. Obtaining the license file:

   Follow these instructions on a machine with internet access.

   1. Copy the license request file **Activation Request.txt** to the machine.
   2. In a web browser, go to the [Activation Portal](https://activate.uipath.com/) .
   3. Select **Upload from File** and choose the **Activation Request.txt** file to upload it.

      The file contents is added to the text box.
   4. Select **Generate License File**.

      A download begins for the file **license.txt**.
   5. Transfer the file **license.txt** back to the Automation Suite machine.
3. Activating the license:
   1. Log in to the organization as an organization administrator or to the host portal as a system administrator, and navigate to the **Licenses** page.
   2. Select **Activate License** and then select **Offline Activation**.

      The **Activate License Offline** panel opens at the right of the window.
   3. Fill in the **License Code** field with your license key.
   4. Under **Do you have a license file?** select **Yes**.
   5. Under **Upload License**, select **Choose File** and select the **license.txt** file.
   6. Select **Activate**.Your Automation Suite instance now appears as licensed and the **Licenses** page shows your available licenses.

### Updating your license offline

Whenever your license changes - for example when new licenses are added, or when you renew your license - you must perform a license update from the UiPath platform.

If your UiPath installation does not have access to the internet, the process for updating the license is the same as the one for [activating the license offline](https://docs.uipath.com/test-cloud/automation-suite/2.2510/admin-guide/managing-your-host-license#managing-your-host-license).

### Deactivating your license offline

1. Obtaining the license deactivation file:
   1. Log in to the organization as an organization administrator or to the host portal as a system administrator.
   2. Make sure that the organization name (for organization licensing) or Host (for host licensing) is selected in the pane on the left and then select **Licenses**.
   3. Select **Deactivate License** and then select **Offline Deactivation**.

      The **Deactivate License** panel opens at the right of the window.
   4. Under step 1, select **Download** to generate and save a license deactivation file.

      A download begins for the file **Deactivation Request.txt**.
   5. Move this file to a different machine which does have internet access.
2. Deactivating the license:

   Follow these instructions on a machine with internet access.

   1. Copy the file **Deactivation Request.txt** to the machine.
   2. In a web browser, go to the [Activation Portal](https://activate.uipath.com/) .
   3. Select the **Deactivate your License** tab.
   4. Select **Upload from File** and choose the **Deactivation Request.txt** file to upload it.

      The file contents is added to the text box.
   5. Select **Generate License File**.
