> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect UiPath with Personal Access Token – StackOne Hub

> Link a UiPath account in the StackOne Hub using Personal Access Token. End-user guide to authorize the integration and start using UiPath actions.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create the personal access token

A personal access token acts as the UiPath user who creates it, with that user's roles and the scopes chosen for the token.

**1. Open your preferences**

Sign in to your [UiPath Automation Cloud account](https://cloud.uipath.com) as the user the connection should act as.

<ul>
  <li>Click your initials at the top right.</li>
  <li>Select **Preferences**.</li>
</ul>

![The account menu with Preferences highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-preferences.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=e57c55a746e56a793a8adee36826df1a)

**2. Start a new token**

Open the **Personal Access Token** tab.

<ul>
  <li>Click **Create token**.</li>
</ul>

![The Personal Access Token tab with the Create token button highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-create-token.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=79f064794679e1377dfd7d637e9754bf)

**3. Name the token**

Fill in the top of the **Create personal access token** page.

<ul>
  <li>**Name**: `StackOne Integration`</li>
  <li>**Expiration date**: Number of days until the token expires</li>
</ul>

![The Create personal access token page with Name, Expiration date and Add scopes highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-token-details.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=a82e132cf439ae42652b66c17e88d5c1)

**4. Add the Platform Management scopes**

Enables actions: Create Group, Create Robot Account, Create User, Get Group, Get Robot Account, Get Unified Group, Get Unified User, Get User, List Groups, List Robot Accounts, List Unified Groups, List Unified Users, List Users, Search Directory

Under **Resources**, click **Add scopes**.

<ul>
  <li>In **Resource**, select **Platform Management**.</li>
  <li>Tick each scope listed.</li>
  <li>Click **Save**.</li>
</ul>

![The Add resource panel with the Platform Management scopes ticked](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-platform-management-scopes.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=0f27a1006019329ebba6891ecc1f3bf0)

<ul>
  <li>
    PM.Group.Read
  </li>

  <li>
    PM.Group.Write
  </li>

  <li>
    PM.User.Read
  </li>

  <li>
    PM.User.Write
  </li>

  <li>
    PM.RobotAccount.Read
  </li>

  <li>
    PM.RobotAccount.Write
  </li>

  <li>
    PM.Directory
  </li>
</ul>

**5. Add the Orchestrator scopes**

Enables actions: List Robot Logs

Under **Resources**, click **Add scopes** again.

<ul>
  <li>In **Resource**, select **Orchestrator**.</li>
  <li>Tick `OR.Folders`, `OR.Execution`, `OR.Jobs`, `OR.Queues`, `OR.Assets`, `OR.Robots`, `OR.Machines`, `OR.Tasks`, `OR.Buckets`, `OR.Webhooks` and `OR.Monitoring.Read`.</li>
  <li>Type each name in **Search** and tick the entry with exactly that name.</li>
  <li>Click **Save**.</li>
</ul>

![The Orchestrator scopes filtered by OR.Jobs, with OR.Jobs ticked](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-orchestrator-scopes.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=8016dfd91e51378056d37c04d511006c)

<ul>
  <li>
    OR.Folders
  </li>

  <li>
    OR.Execution
  </li>

  <li>
    OR.Jobs
  </li>

  <li>
    OR.Queues
  </li>

  <li>
    OR.Assets
  </li>

  <li>
    OR.Robots
  </li>

  <li>
    OR.Machines
  </li>

  <li>
    OR.Monitoring.Read
  </li>

  <li>
    OR.Tasks
  </li>

  <li>
    OR.Buckets
  </li>

  <li>
    OR.Webhooks
  </li>
</ul>

**6. Create the token**

Check that **Resources** lists both resources, then click **Create**.

![The Create personal access token page with both resources listed and the Create button highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-create.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=2a9b842618c2a172805c0fa0112ed9ee)

**7. Copy the token**

The **Token created** window shows the token.

<ul>
  <li>Click the copy button next to it.</li>
  <li>Copy the **Personal Access Token** across.</li>
  <li>The token is only displayed once and cannot be retrieved later.</li>
</ul>

![The Token created window with the copy button highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-copy-token.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=2876aba20ab96bbc5d3fbac94235eb8b)

## Find your Cloud Type

The **Cloud Type** is the UiPath cloud your organization signs in to.

<ul>
  <li>Look at the address in your browser when you are signed in to UiPath.</li>
  <li>`cloud.uipath.com` is **Automation Cloud**</li>
  <li>`govcloud.uipath.us` is **Automation Cloud Public Sector**</li>
  <li>`{name}.dedicated.uipath.com` is **Automation Cloud Dedicated**</li>
  <li>Leaving **Cloud Type** empty uses **Automation Cloud**.</li>
  <li>Select the matching **Cloud Type**.</li>
</ul>

## Find your Dedicated Cloud Name

The **Dedicated Cloud Name** is the first part of your Automation Cloud Dedicated address. Skip it for the other clouds.

<ul>
  <li>Format: `{name}` from `{name}.dedicated.uipath.com`</li>
  <li>Example: `acme`</li>
  <li>Use letters, digits and hyphens only.</li>
  <li>Copy the **Dedicated Cloud Name** across.</li>
</ul>

## Find your Organization Name

The **Organization Name** is your organization's URL name.

**1. Copy the URL name**

In **Admin**, open **Settings**. On the **General** tab, the **URL** field shows the name after `https://cloud.uipath.com/`.

<ul>
  <li>It is not the **Organization name** field above it, which is a display name.</li>
  <li>Format: `https://cloud.uipath.com/{organization}/{tenant}`</li>
  <li>Example: `https://cloud.uipath.com/acmecorp/DefaultTenant` gives `acmecorp`</li>
  <li>Copy the **Organization Name** across.</li>
</ul>

![The Admin Settings General tab with the organization URL field highlighted](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-organization-url.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=dc67c1edbeab3c8d7f7128b96d63171a)

## Find your Tenant Name

The **Tenant Name** is the Orchestrator tenant the actions run in.

**1. Copy the tenant name**

In **Admin**, your tenants are listed under **Tenants** in the left panel.

<ul>
  <li>Format: `https://cloud.uipath.com/{organization}/{tenant}/orchestrator_`</li>
  <li>Example: `https://cloud.uipath.com/acmecorp/DefaultTenant/orchestrator_` gives `DefaultTenant`</li>
  <li>Copy the **Tenant Name** across.</li>
</ul>

![The UiPath Administration left panel with the DefaultTenant tenant highlighted under Tenants](https://mintcdn.com/stackone-60/GEh2bYvJkg5Tlo0c/connectors/uipath/images/personal-access-token-config-tenant-name.png?fit=max\&auto=format\&n=GEh2bYvJkg5Tlo0c\&q=85\&s=1515d199751df92046c0844f2a886b14)

## Find your Organization ID

The **Organization ID** is the ID UiPath calls the `partitionGlobalId`. It is a GUID.

**1. Check the sign-in address**

Sign in to UiPath and look at the address you land on. It holds `organizationId=` followed by the ID.

<ul>
  <li>Format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`</li>
  <li>The address can change too fast to read.</li>
  <li>Copy the **Organization ID** across.</li>
</ul>

**2. Find it with the browser developer tools**

Open the developer tools before you sign in, switch to the **Network** tab and turn on recording.

<ul>
  <li>Sign in to UiPath Automation Cloud and select your tenant.</li>
  <li>After the page loads, find a request such as the **Settings** API request.</li>
  <li>Copy the ID that follows `partitionGlobalId` in its **Request URL**.</li>
  <li>Copy the **Organization ID** across.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/uipath/guides/webhook-setup.md)
>
> Configure receiving Events for UiPath into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.