> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/alli-llm-app-market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/alli-llm-app-market/manual/knowledge-base/source/connect-confluence.md). Agents can also search and read this documentation through its [MCP server](https://docs.allganize.ai/alli-llm-app-market/~gitbook/mcp).

# Confluence連携

Confluenceのページを自動的にドキュメント検索で検索対象となるようにAlliおよびCognitive SearchとConfluenceを連携することができます。

## ConfluenceにAlliを追加する <a href="#adding-alli-to-confluence" id="adding-alli-to-confluence"></a>

Confluenceを開き、\[Apps]、\[Manage apps]をクリックします。「アプリの管理者」を選択するためには、Confluenceの管理者権限が必要です。\
**NOTE:**&#x3053;の作業はJIRAではなく、Confluenceにて行う必要があります。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/04/conflu1.png?resize=800%2C620&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

メニューの下部にある\[Settings]をクリックし、\[Enable development mode]をオンに切り替えます。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/01/Screen_Shot_2021-07-22_at_10_18_50_AM.png?resize=800%2C423&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/01/Screen_Shot_2021-07-22_at_10_18_55_AM-1.png?resize=800%2C520&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

「Upload App」をクリックし、[https://backend-ja.alli.ai/confluence/atlassian-connect.json](https://backend.alli.ai/confluence/atlassian-connect.json)をコピーし、ペーストしてください。

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/04/conflu4.png?resize=661%2C337&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://i0.wp.com/guide.allganize.ai/wp-content/uploads/2022/09/image.png?resize=800%2C510&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

最後に、ユーザーがインストールしたアプリ「Allganize Integration as a Document Source in Knowledge Base」を選択し、「Configure」をクリックししてください。クライアントトークンが表示されるので、このクライアントトークンをAlliに設定する必要があります。

<figure><img src="https://i0.wp.com/blog.allganize.ai/content/images/2021/07/Screen_Shot_2021-07-13_at_1_12_36_PM-1.png?w=800&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://i0.wp.com/blog.allganize.ai/content/images/2021/07/Screen_Shot_2021-07-15_at_10_48_06_AM.png?w=800&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

## ConfluenceをにAlliに統合する <a href="#connecting-to-confluence-in-alli" id="connecting-to-confluence-in-alli"></a>

プロジェクト形式がAlliの場合は、ナレッジベースの\[ソース]タブに移動します。プロジェクト形式がCognitive Searchの場合は、左側の紫色の垂直ナビゲーションバーにあるソースアイコンをクリックしてください。次に、\[編集]をクリックしてください。

<figure><img src="https://i0.wp.com/blog.allganize.ai/content/images/2021/07/Screen_Shot_2021-07-16_at_11_35_29_AM.png?w=800&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

* Confluenceにて確認したトークンをAlliに貼付します。ConfluenceのそれぞれのページのURLがURLのスペースに表示されます。
* インデックスを作成するスペースを選択してください。デフォルト設定では、AlliはConfluenceの中にある全てのスペースのインデックスを作成します。
* 更に組織のインデックスを作る場合、もしくは、組織を除去する場合は、追加、もしくは削除をクリックしてください。
* 最後に「適用」をクリックしてください。

<figure><img src="https://i0.wp.com/blog.allganize.ai/content/images/2021/07/Screen_Shot_2021-07-16_at_11_35_37_AM.png?w=800&#x26;ssl=1" alt=""><figcaption></figcaption></figure>

Confluenceが統合されたら、\[今すぐ実行]をクリックしてください。そうすると、ドキュメントに対し、手動でインデックスを作成することが可能です。また、\[自動インデクシングON]を有効にして、Alliが毎日深夜0時（プロジェクトに基づくタイムゾーン）に自動的にインデックスを作成し、右側にインデックス作成履歴を表示させることも可能です。インデックスされたスペースのConfluenceページはtxt形式のファイルとして保存され、ファイル名がページタイトルとして設定されます。

<figure><img src="https://3244404108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR2CRA2CisD1pVQUgqd1g%2Fuploads%2FTC8ZxbCSjApoil7AHJjy%2Fimage.png?alt=media&amp;token=ad5f143f-f4c7-4094-a2d7-6799e50d44be" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.allganize.ai/alli-llm-app-market/manual/knowledge-base/source/connect-confluence.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
