> ## Documentation Index
> Fetch the complete documentation index at: https://ai-kb.automationanywhere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluence をナレッジ ベースに接続する

> Confluence のページとスペースをナレッジ ベースと同期します。

Confluence コネクタを使用すると、ページ、スペース、ドキュメントをナレッジ ベースに直接取り込むことができます。接続すると、EKB は Confluence コンテンツを同期して完全に検索できるようにし、AI エージェントがアクセスできるようにします。これにより、Confluence に保存された知識が常に最新の状態に維持され、チームが既存のコンテンツから回答を取得し、洞察を明らかにし、ワークフローを構築できるようになります。

## Confluence に接続する

<Steps>
  <Step title="Open Project Settings">
    In your EKB project, navigate to **Settings** in the sidebar.
  </Step>

  <Step title="Go to Connections">
    Select the **Connections** tab and find the **Confluence** tile under **Cloud Storage & Documentation**.
  </Step>

  <Step title="Open the Confluence popup">
    Click the **Confluence** tile. A popup appears with the option to sync your team's Confluence documentation into the Knowledge Base. Click **+ Add Connection**.
  </Step>

  <Step title="Choose a connection type">
    The **Choose Connection Type** popup appears. Select the option that matches your Confluence deployment:

    | Connection Type                    | Description                                                                                                                    |
    | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
    | **Confluence Cloud**               | Connect via OAuth authentication. You will be redirected to Atlassian to authenticate and grant EKB the necessary permissions. |
    | **Confluence On-Premise** *(Beta)* | Connect via server URL and token. You will be required to provide your **Confluence Server URL** and **Bearer Token**.         |
  </Step>

  <Step title="Complete authentication">
    **Confluence Cloud**

    You will be redirected to Atlassian, where Odin AI requests access to your Atlassian account. Review the requested permissions and click **Accept** to complete the OAuth flow.

    **Confluence On-Premise**

    Enter your **Confluence Server URL** and **Bearer Token**, then click **Connect**.

    <Tip>
      You can generate a Bearer Token from your Confluence account settings.
    </Tip>
  </Step>

  <Step title="Verify the connection">
    Once authenticated, you will be returned to the Connections page. The **Confluence** tile will display a green dot and a count of your active Confluence connections.
  </Step>
</Steps>

<Check>You're now ready to sync pages from Confluence into the Knowledge Base!</Check>

## Confluence からのページの追加

<Steps>
  <Step title="Navigate to KB Data">
    In your EKB project, navigate to **Knowledge Base** > **KB Data**.
  </Step>

  <Step title="Add a new URL">
    Click **+ New** and select **URL Upload**.
  </Step>

  <Step title="Paste the Confluence URL">
    In the popup that appears, paste the URL of the Confluence space or page you want to add to the Knowledge Base.
  </Step>

  <Step title="Configure subpage extraction">
    After pasting the URL, the **Extract Subpages from URL** option will appear. Enable this option to also extract nested pages from the provided link. Disabling it will import only the page at the provided URL.
  </Step>
</Steps>

<Check>
  Once added, you'll receive a confirmation message. Confluence pages will appear in the Knowledge Base with their **page ID** as the document name.
</Check>
