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

> Link a Confluence account in the StackOne Hub using API Token. 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.

## Find your Confluence subdomain

Your subdomain identifies your Confluence instance.

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

## Create an API token

Generate an API token from your Atlassian account.

**1. Create the API token**

Sign in to your [Atlassian account](https://id.atlassian.com).

<ul>
  <li>Click your profile avatar in the upper right-hand corner.</li>
  <li>Select **Account settings**.</li>
  <li>Select the **Security** tab.</li>
  <li>Under **API Tokens**, click **Create and manage API tokens**.</li>
  <li>Click **Create API token**.</li>
  <li>**Name**: `StackOne Confluence Integration`</li>
  <li>**Expires on**: an expiry date for the token</li>
  <li>Click **Create**.</li>
</ul>

**2. Copy the API token**

Copy the **API Token** across immediately. It is only shown once.

## Find your email

Your username is the email address associated with your Atlassian account, visible in your profile (upper right corner).

## Add an organization API key

This key is optional. Create it only if you need organization data.

**1. Create the organization API key**

Create the key in [Atlassian administration](https://admin.atlassian.com) under Settings, API keys. This is issued at the Atlassian organization level and requires organization admin access, so it is separate from the API token you just created.

<ul>
  <li>Copy the **Organization Admin API Key** across.</li>
  <li>Atlassian lets you create the key **with scopes** or **without scopes** (full access). If you create a scoped key, select the `read:orgs:admin` scope.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/connect/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.