> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryassist.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluence

The Confluence connector imports all pages and comments from your specified spaces or pages when first set up, then continues to sync any updates every 10 minutes.

## Setting Up

### Authorization

1. **Get an Access Token**
   Follow [the provided guide](https://docs.searchunify.com/Content/Content-Sources/Atlassian-Jira-Confluence-Authentication-Create-API-Token.htm) to generate your access token.

### Indexing

1. **Navigate to the Connector**
   Go to the Admin Panel and select the Confluence Connector.
2. **Provide Credentials**
   Enter your Access Token along with the Username (typically your email address) associated with it.
3. **Configure Your Confluence Setup**
   You'll need to provide the following:
   * **Wiki Base URL:** The base URL of your Confluence instance (e.g., `https://your-domain.atlassian.net/wiki`).
   * **Cloud or Datacenter:** Check the "Is Cloud" box if you're using Confluence Cloud. Leave it unchecked for Confluence Server or Data Center.
4. **Choose Your Indexing Scope**
   Select how you'd like the connector to index your Confluence content:
   * **Everything:** Indexes all content the provided credentials have access to.
   * **Space:** Enter the key of the space you want to index (e.g., `KB`).
   * **Page:**
     * *Page ID:* Enter a specific page ID to index that page alone, or leave it blank to index the entire space (e.g., `131368`).
     * *Index Recursively:* Check this box to index the specified page along with all of its child pages.
   * **CQL Query:** For more granular control, enter a CQL query. Note that the query must include `type=page`, and any `lastmodified` filters will be overwritten. Refer to the CQL documentation for further guidance.
5. **Connect**
   Click the "Connect" button. All specified spaces, pages, and their associated comments will be pulled into ASSIST AI and refreshed every 10 minutes.
