> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenVPN

> Follow these steps to connect OpenVPN via the StackOne Hub successfully.

<Warning>
  Ensure that your OpenVPN account has Administrator privileges.
</Warning>

If you've been directed to StackOne to integrate with OpenVPN, the following steps will help you understand the process and any necessary actions to configure a successful integration.

## Log in to OpenVPN

Log in to OpenVPN at [https://myaccount.openvpn.com](https://myaccount.openvpn.com)

Enter and note your **Cloud ID** (subdomain) to be used in a later step.

This can also be found in the URL once logged in.

(Example: `https://my-cloud-id.openvpn.com/`)

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Log in" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/openvpn/image1.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=a780b0d45a3af5026415e0ec355c6a88" width="1552" height="890" data-path="images/openvpn/image1.png" />
</Frame>

## Create API Credentials

<Steps>
  <Step title="Navigate to API Credentials">
    In the left navigation bar, click **API & Logs**, then **API**.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Navigate to API Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/openvpn/image2.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=14cf1b6c980ab8967b604777cc6656cc" width="293" height="776" data-path="images/openvpn/image2.png" />
    </Frame>
  </Step>

  <Step title="Create New Credentials">
    Under *API*, first ensure that *Enable API for the Cloud ID* is enabled.

    Click the **Create Credentials** button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Create New Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/openvpn/image3.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=13d8716394a143ddebdc557f3c7668a5" width="1386" height="229" data-path="images/openvpn/image3.png" />
    </Frame>
  </Step>

  <Step title="Enter Credentials Details">
    Enter a **Name** for these new credentials, and select the desired **Lifetime** (expiry).

    Click the **Create** button at the bottom to proceed.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Enter Credentials Details" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/openvpn/image4.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=1865f0c99aab0f0e3d77a07ffa2e94b2" width="617" height="819" data-path="images/openvpn/image4.png" />
    </Frame>

    <Warning>
      Please note that when these credentials expire, a new set must be created and the credentials for this connection must be updated.
    </Warning>
  </Step>

  <Step title="Copy Credentials">
    The new **Client ID** and **Client Secret** will be displayed only once. Copy these and store them securely to be used in the next step.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Copy Credentials" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/openvpn/image5.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=8aef954647c348971bd74c5e48076dcd" width="569" height="510" data-path="images/openvpn/image5.png" />
    </Frame>
  </Step>
</Steps>

## Connecting with StackOne

<Steps>
  <Step title="Enter Credentials">
    Upon reaching the Link Account page, enter the credentials from the previous steps:

    * **Cloud ID** (subdomain)
    * **Client ID**
    * **Client Secret**

    Proceed by clicking the Connect button.
  </Step>
</Steps>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/getting-started-with-your-api) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
</ul>
