> ## 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.

# Bitwarden

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

<Warning>
  Ensure you have Admin or Owner privileges for your Bitwarden Enterprise Organization.
</Warning>

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

This guidance assumes that you are an Admin or Owner within your Bitwarden Enterprise Organization.

## Get your Bitwarden Region Host

Bitwarden has separate regional API hosts: `bitwarden.com` and `bitwarden.eu`.

You can find your Region Host in the URL when logged in to your Bitwarden account.

For example, given the URL: `https://vault.bitwarden.eu/#/organizations/abc123/members`, the **Region Host** is `bitwarden.eu`

## Get your Bitwarden Client ID and Client Secret

<Steps>
  <Step title="Access Admin Console">
    After logging in to [Bitwarden](https://vault.bitwarden.com), click the menu button in the top right, then Admin Console.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Admin Console" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/r1CxNaPqqmzcLh_k/images/bitwarden/image1.png?fit=max&auto=format&n=r1CxNaPqqmzcLh_k&q=85&s=f015a6e60e53f1371af4cc438cfb9427" width="1678" height="728" data-path="images/bitwarden/image1.png" />
    </Frame>
  </Step>

  <Step title="Navigate to Organization Info">
    Within the Admin Console, click Settings > Organization Info.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Organization Info" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/r1CxNaPqqmzcLh_k/images/bitwarden/image2.png?fit=max&auto=format&n=r1CxNaPqqmzcLh_k&q=85&s=d1fd373667a3b6ec5ab6acdd592694a6" width="1679" height="732" data-path="images/bitwarden/image2.png" />
    </Frame>
  </Step>

  <Step title="Generate or View API Key">
    Under API Key, press the View API key or Create API key button. You may be prompted for your Bitwarden password. The Scope `api.organization` is required.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="API Key" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/r1CxNaPqqmzcLh_k/images/bitwarden/image3.png?fit=max&auto=format&n=r1CxNaPqqmzcLh_k&q=85&s=735841d5483b7b2936255b1bcdfc379e" width="1112" height="587" data-path="images/bitwarden/image3.png" />
    </Frame>
  </Step>

  <Step title="Copy Credentials">
    Copy and store safely the displayed "OAUTH 2.0 CLIENT CREDENTIALS".

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="OAUTH 2.0 CLIENT CREDENTIALS" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/r1CxNaPqqmzcLh_k/images/bitwarden/image4.png?fit=max&auto=format&n=r1CxNaPqqmzcLh_k&q=85&s=87c711e1fd2ba2270618a60c82bf56da" width="685" height="717" data-path="images/bitwarden/image4.png" />
    </Frame>
  </Step>
</Steps>

## Connecting to StackOne

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

    * Client ID
    * Client Secret
    * Region Host (e.g., `bitwarden.com` or `bitwarden.eu`)

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Account" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/r1CxNaPqqmzcLh_k/images/bitwarden/image5.png?fit=max&auto=format&n=r1CxNaPqqmzcLh_k&q=85&s=302411eeec6da880dc70f35947c3584b" width="432" height="682" data-path="images/bitwarden/image5.png" />
    </Frame>
  </Step>

  <Step title="Connect">
    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/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
  <li>Groups</li>
  <li>Policies</li>
</ul>

## Useful Links

<Card title="API Reference" icon="link" href="https://bitwarden.com/help/personal-api-key/">
  [https://bitwarden.com/help/personal-api-key/](https://bitwarden.com/help/personal-api-key/)
</Card>
