# AI Chat for Confluence

Get ChatGPT into your Confluence. Ingest entire space, or use Confluence Query Language (CQL) to precisely filter pages across one or multiple spaces. Effortlessly include attachments and expand your data sources by incorporating additional PDFs, websites, and other relevant documents. Set up automatic, scheduled synchronization to keep your AI knowledge base continuously updated. Engage with your entire ingested dataset or drill down to chat with or summarize content from a specific page.

{% hint style="info" %}
**Keep your AI secure with Confluence Permission check**. A user has access to a space can only chat with the ChatBees Collection that is connected to the space.
{% endhint %}

## Installation and Configuration

### Sign up ChatBees and Ingest Data

1. Sign up <https://app.chatbees.ai>
2. [Click "Connectors" and click "Connect" for Confluence](https://docs.chatbees.ai/chatbees/web-app-references/manage-connectors#connect-to-confluence). Follow the OAuth to grant the access to Confluence. **You can repeat this step to connect to more than one Confluence site.**

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FsmrTOrq3hVtLnokIReYX%2Fimage.png?alt=media&#x26;token=c7d867f6-4d91-41ac-8d9c-2f381da0bdd9" alt="" width="563"><figcaption></figcaption></figure>

3. [Create a Collection](https://docs.chatbees.ai/chatbees/web-app-references/manage-collections) and [Ingest Confluence space(s)](https://docs.chatbees.ai/chatbees/web-app-references/manage-collections/data-sources#import-from-confluence). **Ingest other data sources if needed.**

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FblSAQx91JfKCNdFW1CCU%2Fimage.png?alt=media&#x26;token=f89f0fad-17d5-4848-b40c-3bff77690697" alt="" width="563"><figcaption></figcaption></figure>

4. Set up the Periodical Ingestion. So Chat will see the latest changes in Confluence space(s).

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FeZ3FukWCk0k8Z2B4oiUg%2Fimage.png?alt=media&#x26;token=adb037c7-87aa-4cf6-be34-64c3e38adaa8" alt="" width="563"><figcaption></figcaption></figure>

### Install and Configure Confluence App

1. Create an API Key on ChatBees UI

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FPOHs3UVBP79q8SbHRA0H%2Fimage.png?alt=media&#x26;token=c5de4f82-e940-4aaf-af08-0f074a6243e4" alt="" width="563"><figcaption></figcaption></figure>

2. Install ChatBees "[AI Chat for Confluence](https://marketplace.atlassian.com/apps/1235959/ai-chat-for-confluence?hosting=cloud\&tab=overview)" app on Atlassian Marketplace
3. Click "Manage apps"

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FUuZKCbttCYLzuT6wIOWG%2Fimage.png?alt=media&#x26;token=8a68ce1f-d51e-4380-a55e-4001abab8b7d" alt="" width="563"><figcaption></figcaption></figure>

4. Configure the app with ChatBees AccountID and API Key.

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FShV8VC5piYA0Le3s9MnO%2Fimage.png?alt=media&#x26;token=30ab95f2-e60b-498b-a08f-b022295c7c5b" alt="" width="563"><figcaption></figcaption></figure>

5. App will automatically show the Confluence Space to ChatBees Collection mapping. You can now go to "Test" space and interact with AI.

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FudlNP4rx0M39hrI4cPRx%2Fimage.png?alt=media&#x26;token=19d8cfb6-0e55-484e-b3fb-1e561a06ebd8" alt="" width="563"><figcaption></figcaption></figure>

### Interact with AI

1. Chat with a page including attachments the page, or chat with the entire Collection.

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FhWOnxTcevt5Ts9pEUMoW%2Fimage.png?alt=media&#x26;token=12fa3bbd-72d7-4386-b875-1c65a3ce3fa7" alt="" width="563"><figcaption></figcaption></figure>

2. Summarize a page

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FVCnLnPTWswD4gyfdIT2E%2Fimage.png?alt=media&#x26;token=2a736e7b-b56d-4558-936c-f30390eb3a69" alt="" width="563"><figcaption></figcaption></figure>

3. Chat to the Collection in a large window

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FnLttlVQxkZZzspB1Dmbl%2Fimage.png?alt=media&#x26;token=2dda44f2-ff44-4091-93b1-c59377aa0206" alt="" width="563"><figcaption></figcaption></figure>

### Coming Soon

1. Page Marco: add the auto summary to the head of a long page.
2. AI Writer: when editing a page, chat with your data such as attachments, or directly talk to ChatGPT.

Contact us, <build@chatbees.ai>, if there is useful feature for you!

AI Ticket for Jira will come soon! Let us know if you want to try it. Or check out our [HubSpot AI Ticket App](https://ecosystem.hubspot.com/marketplace/apps/ai-ticket-agent) first.
