> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-agentplatform-dev.mintlify.site/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 isn't 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img2.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=d41cd4af6221f2c7ecb47cfd412b1bf0" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img3.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=c50df9b617f5f84e799c424620731f5d" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img4.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=1fd518a4d66e679b9674db71139ea305" 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 (for example, **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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img5.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=b4dd6d85f48f7a988c29d7b1cfba8dc1" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img6.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=2a1237c2e978bddb0ab0012109db2e79" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img7.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=88c52825904428b6d5b1f5fce8c36949" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img8.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=edc8d05c82183c0f3e8e0abfa5652e42" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img9.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=7694ce06c786c86b5f0d9bdd3344a947" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img10.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=47d58270a7677eeaec214cd5413107c6" 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-agentplatform-dev/fvpiZX3a6xBCWdtt/ai-for-service/integrations/actions/images/confluence-action-img11.png?fit=max&auto=format&n=fvpiZX3a6xBCWdtt&q=85&s=0c255d8d10b14bac777aa232f965e2f6" 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).
