> ## 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 Confluence with OAuth 2.0 (Managed App) – StackOne Hub

> Link a Confluence account in the StackOne Hub using OAuth 2.0 (Managed App). End-user guide to authorize the integration and start using Confluence actions.

<section data-guide-section data-guide-scopes="">
  <h2>Add an organization API key</h2>

  <p>The OAuth app is configured once on the connector profile, so the only value entered per account is this optional key. It is needed only for the unified IAM organization actions, which read from the Atlassian organization admin API rather than the OAuth app.</p>

  <Steps>
    <Step title="Create the organization API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Create the key in <a href="https://admin.atlassian.com" target="_blank" rel="noopener noreferrer">Atlassian administration</a> under Settings, API keys. This is issued at the Atlassian organization level and requires organization admin access, so it is separate from the OAuth integration configured on the connector profile.</p>

        <ul>
          <li>Paste it into the <strong>Organization Admin API Key</strong> field in StackOne Hub.</li>
          <li>Leave the field empty if you do not need List Unified Organizations or Get Unified Organization. Calling either without the key returns an error naming it; nothing else in the connector is affected.</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="/connect/managing-connectors/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>Organization Admin API Key</strong> (Optional)</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="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
