---
title: Import Confluence pages
slug: archbee-docs/import-confluence-pages
docTags: 
createdAt: 2024-06-25T11:42:41.000Z
---

You can integrate AI with external Confluence pages. You must set credentials and the URL for a Confluence space from which we will ingest your documentation.

## Setup

- You need to set up an access token and provide it along with your Confluence username in order to authenticate the request. Then click **Connect with Confluence**.

:::hint{type="info"}
You can generate an API token in Atlassian via [this tutorial](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
:::

- Follow these steps for each of your spaces separately:

1. Use the base part of your URL: `https://example.atlassian.net/wiki/`
2. You also need the `space key` for the space containing the pages to load as documents. You can find this when you navigate to your space URL e.g.`https://example.atlassian.net/wiki/spaces/{SPACE_KEY}`
3. Then click **Add Link**

![](https://app.archbee.com/api/optimize/bNBm7nPJgXjbjLyfbHNh2/2CwHapbIBGKeN-vLALnpr_aiext-confluence-light.png "Import Confluence pages")

