> ## 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 Auvik with Basic Auth – StackOne Hub

> Link a Auvik account in the StackOne Hub using Basic Auth. End-user guide to authorize the integration and start using Auvik actions.

<Warning>The Auvik user whose API key you use must have the role permissions for the APIs you intend to call.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Sign in and find your connection details</h2>

  <p>Sign in to Auvik and gather the values for the connection.</p>

  <Steps>
    <Step title="Sign in to Auvik">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://auth.auvik.com" target="_blank" rel="noopener noreferrer">Auvik account</a>.</p>

        <ul>
          <li>The email address you sign in with is your <strong>Username</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Find your Region / Cluster">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your <strong>Region / Cluster</strong> is the cluster segment of your Auvik dashboard URL.</p>

        <ul>
          <li>Check your browser address bar when signed in to Auvik.</li>
          <li>Format: `https://{site}.{region}.my.auvik.com`</li>
          <li>Example: if your URL is `https://sandbox1.lnx.my.auvik.com`, your Region / Cluster is `lnx`</li>
          <li>Common values: `us1`, `us2`, `us3`, `us4`, `eu1`, `au1`</li>
          <li>If you enter a different valid region, or your account is later moved between clusters, Auvik responds with a 308 redirect to your account's actual cluster and the connection still succeeds — so a mismatched-but-valid region is not rejected. Use your current Region / Cluster for the most direct routing.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Generate your API Key</h2>

  <p>Generate an <strong>API Key</strong> from your user profile. This is used as the connection password.</p>

  <Steps>
    <Step title="Open your profile">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click your account name in the bottom-left navigation, then select <strong>Edit Profile</strong>.</p>

        <ul>
          <li>Scroll to the <strong>API Key</strong> section at the bottom of the profile page.</li>
          <li>The <strong>Domain Prefix</strong> shown here (e.g. `sandbox1`) is your site name — not the Region / Cluster.</li>
        </ul>
      </div>
    </Step>

    <Step title="Generate and copy the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>API Key</strong> section, click <strong>Regenerate</strong> to create a new key. The button may read <strong>Generate</strong> if you have never created one.</p>

        <ul>
          <li>In the <strong>Generate/Regenerate API Key</strong> dialog, click <strong>Copy</strong> to copy the key, then click <strong>DONE</strong> to apply it.</li>
          <li>Store it securely now — Auvik displays the full API key only once and you will not be able to retrieve it at a later date.</li>
          <li>Regenerating immediately invalidates any previous key, so update anywhere the old key is used.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/guides/accounts-section#linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Region / Cluster</strong></li>
        <li><strong>Username</strong></li>
        <li><strong>API Key</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></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>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/guides/accounts-section">Accounts</a> page.</p>
</div>
