> ## 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 API Key – StackOne Hub

> Link a Confluence account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Confluence actions.

<Warning>Ensure you have an Atlassian account with access to the Confluence workspace you want to connect.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Find your Confluence subdomain</h2>

  <p>Your subdomain identifies your Confluence instance.</p>

  <ul>
    <li>Check your browser address bar when signed in to Confluence.</li>
    <li>Format: `https://{your-subdomain}.atlassian.net/wiki`</li>
    <li>Example: if your URL is `https://acme-corp.atlassian.net/wiki`, your subdomain is `acme-corp`</li>
  </ul>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Create an API token</h2>

  <p>Generate an API token from your Atlassian account.</p>

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

        <ul>
          <li>Click your profile avatar in the upper right-hand corner and select <strong>Account settings</strong></li>
          <li>Select <strong>Security</strong> tab</li>
          <li>Under <strong>API Tokens</strong>, Click <strong>Create and manage API tokens</strong></li>
        </ul>
      </div>
    </Step>

    <Step title="Create a New API Token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Create an API token and save it.</p>

        <ul>
          <li>Click <strong>Create API token</strong></li>
          <li>Enter a descriptive name (e.g., "StackOne Confluence Integration")</li>
          <li>Set an appropriate expiry date (maximum 1 year)</li>
          <li>Click <strong>Create</strong></li>
          <li>Copy the token immediately and store securely — it is only shown once.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your email</h2>

  <p>Your username is the email address associated with your Atlassian account, visible in your profile (upper right corner).</p>
</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>API Token</strong></li>
        <li><strong>Email</strong></li>
        <li><strong>Subdomain</strong></li>
        <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="/guides/accounts-section">Accounts</a> page.</p>
</div>
