# Confluence

The **Confluence** data source in Epsilla enables users to connect and retrieve documents directly from Confluence spaces or specific pages. This type of data source is ideal for teams managing knowledge bases, project documentation, or internal resources in Confluence.

### Select Knowledge Base Type

Choose **Confluence** to continue.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-33c1b894056b4fa0992c5fb8e3bda07acd64902d%2FScreenshot%202024-12-24%20at%2011.25.58%E2%80%AFAM.png?alt=media" alt="" width="325"><figcaption></figcaption></figure>

### **Knowledge Base Name**

Provide a **Knowledge Base Name**. A valid name should start with a letter or `_`, and can contain only letters, digits, underscores, and whitespaces. Example: `MyConfluenceDocs`.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-58a60e45098e8ceb2f2874c6432e2fceb6760ee3%2FScreenshot%202024-12-24%20at%2011.36.35%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### **Configure Confluence Connection**

Fill in the required fields to connect your Confluence instance:

* **Base URL**: The URL of your Confluence instance (e.g., `https://yourcompany.atlassian.net/wiki`).
* **Token**: A Confluence API token generated for your account. To access your Confluence API token, log in to your Atlassian account, navigate to your profile settings, and select "Create and manage API tokens" under the Security section; you can then generate a new API token there.
* **User Name**: The email associated with your Confluence account.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-7a7350be18b102345c2d09317fe8163a8d4a7193%2FScreenshot%202024-12-24%20at%2011.38.12%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### **Load Data from Confluence**

There are two options for specifying the data to load from Confluence:

1. **Space Key**: Provide the key of the Confluence space to load all pages from that space.
2. **Page IDs**: Specify individual page IDs to load only selected pages. If page IDs provided, the space key will be ignored.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-44b74cd3b439477d7b22b8daee64a831347098b8%2FScreenshot%202024-12-24%20at%2011.39.53%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-1bef2ff8f098e742c6d7132e3f507f2f686bd5e6%2FScreenshot%202024-12-24%20at%2011.41.08%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

To add multiple page IDs:

* Click **Add Multiple Page IDs**, enter the page IDs separated by new lines, and click **Add**.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-79f27ff279be311c8c80361c522aa73a02f09440%2FScreenshot%202024-12-24%20at%2011.41.48%E2%80%AFAM.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

### Data Processing

Once the connection details are entered, click **Create**:

Epsilla will automatically process the pages. During this process, the platform loads, chunks, and embeds the documents into vectors for efficient retrieval. You can monitor the progress of data processing in real-time:

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-27c45201065f9b7bec72ebed72f57a4a42332141%2FScreenshot%202024-12-24%20at%2011.42.27%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

After the data is processed, the list of pages imported from **Confluence** will be visible in the **Loaded Pages** section. Pages that are ready for use will be marked as **Ready**, while those still processing will show a status of **Processing data**.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-32205a79f015dc55435e28c4fe80d1be20e6b72c%2FScreenshot%202024-12-24%20at%2011.43.31%E2%80%AFAM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

You can update or edit your Confluence configuration by navigating to the **Data Sources** tab under your knowledge base.
