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

# Configuring the Confluence Action

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

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](https://koreai.mintlify.site/ai-for-service/app-settings.md#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.

***

## 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**.

   ![Authorization Type-OAuth](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)

**System Authorization**

Use Kore.ai's preconfigured Confluence app:

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

   ![System card](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)

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

   ![Create new Custom authorization](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)

2. Select the authorization mechanism (for example, **OAuth v2**). See [Setting Up Authorization Using OAuth v2](https://koreai.mintlify.site/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 |

   ![Auth credentials](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)

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

   ![Save auth](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)

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.

   ![Save authorization](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)

> [!NOTE]
>
> The Confluence action moves from Available to Configured.

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

   ![Allow Users to Authorize](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)

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

   ![Select existing profile](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)

3. Click **Enable**.

***

## Step 2: Install Confluence Action Templates

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

   ![Explore Templates](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)

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

   ![Install template](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)

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](https://koreai.mintlify.site/ai-for-service/integrations/actions/using-the-confluence-action-templates).


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