Source: https://nishanth-fern-test.docs-staging.pageloop.ai/os/generate-credentials-for-confluence-integration

# Generate Credentials for Confluence Integration

Integrate Confluence with DAP on OS to fetch articles from your Confluence Repository and display them as contextual links in the Pin. Either fetch all the content or only articles in particular folders.

To enable Confluence integration, email the following information to [support@whatfix.com](mailto:support@whatfix.com?Subject=Enable%20Confluence%20integration\&Body=Hello%20Team%2C%0A%0APlease%20enable%20Confluence%20integration%20for%20my%20account.%0A%0AThanks%20and%20regards.):

- API token (information on how to create one is mentioned in the following article)
- Email ID of the account used to create the API token
- IDs of the spaces that need to be crawled

> [!INFO]
>
> Confluence space IDs can be obtained from the URL in the browser. For example, in the following URL **<https://whatfix.atlassian.net/wiki/RES/overview>**, the ID for the space Research is **RES**.

## Create an API token

> [!WARNING]
>
> For data privacy, Whatfix recommends creating a separate user account with read-only access to the spaces that need to be crawled and then creating the API token using this account.

Use the following steps to create an API token using your Atlassian account:

1. Log in to the [API Tokens page](https://id.atlassian.com/manage-profile/security/api-tokens).
2. Click **Create API token**. ![click\_create\_api\_token](/images/74/click_create_api_token-7478c105.png)
3. Enter a label, and then click **Create**. ![confluence\_enter\_label\_for\_api\_token](/images/8e/confluence_enter_label_for_api_token-8ea65c66.png)
4. Click **Copy** to copy the generated API token. ![click\_copy\_in\_api\_token](/images/de/click_copy_in_api_token-de5812dd.png)
