> ## 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 OVHcloud with Personal Access Token – StackOne Hub

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

> [!WARNING]
>
> Creating the local user and its policy requires the account holder, or a user whose group has the Administrator role. The token acts with the permissions of the local user it belongs to, so grant that user only the access the connection needs.

## Find your Region

Your region determines which OVHcloud API endpoint StackOne calls for your account. It is set\
by the OVHcloud subsidiary your account belongs to, and you select the matching option in\
StackOne Hub.

<ul>
  <li>**Europe** serves the CZ, DE, ES, EU, FI, FR, GB, IE, IT, LT, MA, NL, PL, PT, SN and TN subsidiaries, so Morocco, Senegal and Tunisia use **Europe** too.</li>
  <li>**Canada, Asia-Pacific and rest of world** serves the ASIA, AU, CA, IN, QC, SG, WE and WS subsidiaries.</li>
  <li>**United States** serves the US subsidiary.</li>
  <li>Choose the region that matches the location of your account.</li>
</ul>

## Create a local user for the connection

A Personal Access Token belongs to one local user and has only the rights that user's group and\
policies give it, so create a dedicated user for StackOne.

**1. Sign in to OVHcloud**

Sign in to the OVHcloud Control Panel for your region.

<ul>
  <li>**Europe** — [OVHcloud Europe Control Panel](https://www.ovh.com/manager/)</li>
  <li>**Canada, Asia-Pacific and rest of world** — [OVHcloud Canada Control Panel](https://ca.ovh.com/manager/)</li>
  <li>**United States** — [OVHcloud US Control Panel](https://us.ovhcloud.com/manager/)</li>
  <li>Navigate to **Identity, Security & Operations** > **Identities** > **Local users**.</li>
  <li>Click **Add user**.</li>
</ul>

![The Local users page with the Add user button highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-local-users.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=daaac1c6b6b519ef1cda10bf92216a96)

**2. Add the user**

On the **Add user** form, complete **Please enter the new user information**, then click **Confirm**.

<ul>
  <li>**Login**: the username suffix for the user. OVHcloud prefixes it with your account ID and a `/`, for example `1234-567-89/stackone-integration`.</li>
  <li>**Email address**: an email for the user</li>
  <li>**Password**: a password for the user</li>
  <li>**Main group**: the group that sets the user's base access. Choose **UNPRIVILEGED** for read-only access, or a higher-privilege group for write access. For access between these, leave the group and grant a policy in the next section.</li>
  <li>**Description**: an optional note such as `StackOne access`.</li>
</ul>

![The Add user form with the Login, Email address, Password and Confirm fields highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-add-user.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=fa0824c9cd2890919523119bee0e888a)

## Grant the user a policy (optional)

The user's **Main group** already sets its base access. To grant access that is narrower than a\
group, create a policy that lists the exact products and actions the connection uses and assign\
it to the user. Skip this section if the group you chose already fits.

**1. Create a policy**

Navigate to **Identity, Security & Operations** > **Policies**, then click **Create a policy**.

![The Policies page with the Create a policy button highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-create-policy.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=e829fa9f365566220677da6f7f56d1c0)

**2. Configure the policy**

Complete the **Create a policy** form, then click **Create policy**.

<ul>
  <li>**Policy name**: a name for the policy, such as `stackone-access`.</li>
  <li>Under **Identities**, click **Add users** and select the user you created.</li>
  <li>Under **Product types**, select the OVHcloud products the connection uses, then add the matching entries under **Resources**.</li>
  <li>Add the actions the connection needs — read actions for a read-only connection, and write actions only for the operations you want to allow.</li>
</ul>

![The Create a policy form with the Policy name field and the Add users button highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-policy-details.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=42a88cb2c3163bfa06ea5562692759cf)

## Create a Personal Access Token

Create a Personal Access Token for the user. The token inherits the user's group and policy\
permissions.

**1. Open the token list**

On **Local users**, click the actions menu at the end of the user's row, then select **Manage tokens**.

![The user actions menu with the Manage tokens option highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-manage-tokens-menu.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=e2ece44d283952f3fa6ed2e284ed1d2a)

**2. Add a token**

On the **Manage Tokens** page, click **Add a token**.

![The Manage Tokens page with the Add a token button highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-manage-tokens.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=b37ff995acc38604ac89934d03272561)

**3. Create and copy the token**

Complete the **Create a token** dialog, then click **Create**.

<ul>
  <li>**Name**: a name for the token, such as `stackone-access`.</li>
  <li>**Description**: an optional note describing how the token is used.</li>
  <li>**Expiry date**: leave the toggle off for a token that does not expire. Turn it on to set a **Duration** or a **Date**, after which the connection fails until you paste a new token.</li>
  <li>Copy the **Personal Access Token** across. It is shown only once and cannot be retrieved afterward.</li>
</ul>

![The Create a token dialog with the Name, Description and Create fields highlighted](https://mintcdn.com/stackone-60/CeGFUtfRBC3HOod4/connectors/ovhcloud/images/custom-config-create-token.png?fit=max\&auto=format\&n=CeGFUtfRBC3HOod4\&q=85\&s=7ea5f81740850306bee7bf14c8e8711a)

## Select your region

Your OVHcloud account is hosted in one of three regions, which determines the API endpoint\
the connection calls.

<ul>
  <li>**Region**: Europe serves the European subsidiaries plus Morocco, Senegal and Tunisia.</li>
  <li>**Region**: Canada, Asia-Pacific and rest of world serves the CA, QC, ASIA, AU, IN, SG, WE and WS subsidiaries.</li>
  <li>**Region**: United States serves the US subsidiary.</li>
</ul>

## Revoke the token

To stop StackOne from accessing your account, delete the token. This blocks further API calls\
immediately.

<ul>
  <li>Navigate to **Identity, Security & Operations** > **Identities** > **Local users**, open the user's **Manage tokens** page, click the actions menu at the end of the token's row, then select **Delete**.</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).


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