> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the Confluence Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect the Platform to Confluence to create and view pages or blogs in your Confluence space. See [Confluence documentation](https://support.atlassian.com/confluence-cloud/resources/) for details.

***

## Supported Authorization Types

The platform supports OAuth v2.0 for Confluence integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Basic OAuth |
| ---------------------------------------- | ----------- |
| Pre-Authorize the Integration            | Yes         |
| Allow Users to Authorize the Integration | Yes         |

<Note>Confluence integration can be authorized only for Developer and Enterprise editions. Trial edition is not supported. See [Confluence documentation](https://support.atlassian.com/confluence-cloud/docs/configure-confluence-cloud/) for details.</Note>

***

## Prerequisites

Before enabling Confluence actions:

* Create an Atlassian developer account.
* Create an OAuth app in Atlassian with permission: `write:confluence-content offline_access`. See [Atlassian OAuth documentation](https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/#overview).
* Copy the **Client ID**, **Client Secret Key**, **Authorization URL**, and **Callback URL**.

***

## Step 1: Enable the Confluence Action

Go to **App Settings > Integrations > Actions** and select **Confluence**.

### Pre-authorize the Integration (OAuth)

1. In the **Configurations** dialog, select the **Authorization** tab.
2. Set **Authorization Type** to **Pre-authorize the Integration** > **OAuth**.

   <img src="https://mintcdn.com/koreai/7TeKpNFD7QJEMcMu/ai-for-service/integrations/actions/images/confluence-action-img2.png?fit=max&auto=format&n=7TeKpNFD7QJEMcMu&q=85&s=66ac7643928c86806d7b3bb78cd7adca" alt="Authorization Type-OAuth" width="953" height="833" data-path="ai-for-service/integrations/actions/images/confluence-action-img2.png" />

**System Authorization**

Use Kore.ai's preconfigured Confluence app:

1. Select the **System** card and click **Authorize**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img3.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=345589cc4d924edbab976535ed444a8f" alt="System card" width="953" height="833" data-path="ai-for-service/integrations/actions/images/confluence-action-img3.png" />

2. You are redirected to [https://auth.atlassian.com/authorize](https://auth.atlassian.com/authorize).

3. Enter your developer account credentials.

4. Click **Allow Access** to fetch the access token.

**Custom Authorization**

Create your own authorization profile:

1. Select **Custom** and click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img4.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=abe9c0d0bbccd18f2aa8409a5f3ef038" alt="Create new Custom authorization" width="958" height="831" data-path="ai-for-service/integrations/actions/images/confluence-action-img4.png" />

2. Select the authorization mechanism (e.g., **OAuth v2**). See [Setting Up Authorization Using OAuth v2](/ai-for-service/app-settings/dev-tools/bot-authorization/setting-up-authorization-using-oauth-v2).

3. Enter the following credentials:

   | Field                  | Description                   |
   | ---------------------- | ----------------------------- |
   | Callback URL           | Your callback URL             |
   | Identity Provider Name | Name of the identity provider |
   | Client ID              | OAuth client ID               |
   | Client Secret          | OAuth client secret           |
   | Authorization URL      | Authorization endpoint URL    |
   | Token Request URL      | Token request endpoint URL    |
   | Scope                  | Required OAuth scopes         |
   | Refresh Token URL      | Token refresh endpoint URL    |

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img5.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=5f15d20aa1c3327b847e736b74fa8c53" alt="Auth credentials" width="955" height="898" data-path="ai-for-service/integrations/actions/images/confluence-action-img5.png" />

4. Click **Save Auth**, then select the new profile.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img6.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=31796149d461b33ded0eec401975eb67" alt="Save auth" width="949" height="832" data-path="ai-for-service/integrations/actions/images/confluence-action-img6.png" />

5. Click **Authorize** and enter login credentials.

6. Click **Allow Access** if prompted.

7. Click **Save**. The Integration Successful pop-up appears on first configuration.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img7.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=ae77167c95209603aba41a388d7fd8ee" alt="Save authorization" width="706" height="273" data-path="ai-for-service/integrations/actions/images/confluence-action-img7.png" />

<Note>The Confluence action moves from Available to Configured.</Note>

8. Click **Skip for Now** to install templates later.

### Allow End Users to Authorize (OAuth)

1. In the **Configurations** dialog, select the **Authorization** tab.
2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **OAuth**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img8.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=5eab9fce6b11a6a4794fe5899be818e9" alt="Allow Users to Authorize" width="958" height="833" data-path="ai-for-service/integrations/actions/images/confluence-action-img8.png" />

**System Authorization**

1. Select the **System** card.
2. Click **Enable** — a link is sent to the end user.
3. The user clicks the link and enters credentials to authorize.

**Custom Authorization**

1. Select **Custom** and click **Select Authorization** > **Create New**, following the instructions in the Custom Authorization section above.

2. You can also select an existing authorization profile.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/confluence-action-img9.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=c679f4d79e56cefab150fcf35c7412c4" alt="Select existing profile" width="955" height="828" data-path="ai-for-service/integrations/actions/images/confluence-action-img9.png" />

3. Click **Enable**.

***

## Step 2: Install Confluence Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai/7TeKpNFD7QJEMcMu/ai-for-service/integrations/actions/images/confluence-action-img10.png?fit=max&auto=format&n=7TeKpNFD7QJEMcMu&q=85&s=2af62c00af1642567004bdb1ac08eb52" alt="Explore Templates" width="706" height="273" data-path="ai-for-service/integrations/actions/images/confluence-action-img10.png" />

2. Click **Install** for the desired template.

   <img src="https://mintcdn.com/koreai/7TeKpNFD7QJEMcMu/ai-for-service/integrations/actions/images/confluence-action-img11.png?fit=max&auto=format&n=7TeKpNFD7QJEMcMu&q=85&s=ebaf867f2bd8f7ee139edb3f31b972e4" alt="Install template" width="693" height="343" data-path="ai-for-service/integrations/actions/images/confluence-action-img11.png" />

3. The associated dialog task is auto-created. Click **Go to Dialog** or navigate to **Automation AI > Use Cases > Dialogs**.

4. To use the templates, see [Using Confluence Action Templates](/ai-for-service/integrations/actions/using-the-confluence-action-templates).
