# 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%2FTZkMr65iYoKRkCw13OXw%2FScreenshot%202024-12-24%20at%2011.25.58%E2%80%AFAM.png?alt=media&#x26;token=69d17fe7-fc16-4e71-9880-172ea3f258fc" 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%2FYMPbLHsageaw5vJJiWVP%2FScreenshot%202024-12-24%20at%2011.36.35%E2%80%AFAM.png?alt=media&#x26;token=863dbd6f-ee9d-43b2-9a87-05302bc48e61" 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%2FCKjzC7rEws8IwGvOEHLa%2FScreenshot%202024-12-24%20at%2011.38.12%E2%80%AFAM.png?alt=media&#x26;token=d0204660-52d9-4ef1-a60e-79de99ee7cec" 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%2FcDZbPTvqA8E8PRbx0wyf%2FScreenshot%202024-12-24%20at%2011.39.53%E2%80%AFAM.png?alt=media&#x26;token=951229d7-d847-4309-89ef-5bee99b68156" 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%2Fq8kbNd25bWcdFfxwPpXF%2FScreenshot%202024-12-24%20at%2011.41.08%E2%80%AFAM.png?alt=media&#x26;token=29e1da77-ffc2-4795-8441-5c4d8ce78a86" 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%2Fu8kOkAl6YCJBKgvmMma0%2FScreenshot%202024-12-24%20at%2011.41.48%E2%80%AFAM.png?alt=media&#x26;token=f1dbd531-215b-4670-8a05-7c4046d6788e" 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%2FyOcRvkfudaTj3G7b3y8E%2FScreenshot%202024-12-24%20at%2011.42.27%E2%80%AFAM.png?alt=media&#x26;token=93b437b0-4314-42a0-9cfd-bb804a22db02" 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%2F2QFX84X0jmeUmI6H8Jft%2FScreenshot%202024-12-24%20at%2011.43.31%E2%80%AFAM.png?alt=media&#x26;token=8bd2b125-593c-467f-9e8e-232bdcf9cf53" 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.
