> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/a/atlassian-confluence-cloud.md).

# Atlassian Confluence Cloud

Confluence Cloud is the hosted Atlassian wiki. OctoXLabs reads the human user accounts of a Confluence site. Bot and service accounts are excluded.

## Use cases

* Find Atlassian Confluence Cloud accounts that have no match in your directory.

```
Adapters = atlassian-confluence-cloud AND NOT Adapters = active-directory
```

* Check what one Atlassian Confluence Cloud connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination    | Port | Protocol |
| ------------------- | -------------- | ---- | -------- |
| OctoXLabs connector | .atlassian.net | 443  | HTTPS    |

### Required permissions

| Scope or role                           | Permission | Needed for |
| --------------------------------------- | ---------- | ---------- |
| User read access on the Confluence site | Read       | Users      |

Only human user accounts (`accountType: atlassian`) are collected. Bot and service accounts are excluded automatically.

## Create credentials in Atlassian Confluence Cloud

{% stepper %}
{% step %}

### Open API tokens

Go to `https://id.atlassian.com/manage/api-tokens`.
{% endstep %}

{% step %}

### Create a token

Click **Create API token** and choose a short, memorable label. Click **Create**.
{% endstep %}

{% step %}

### Copy the token

Copy the generated API token.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                                                |
| --------- | -------- | ------- | ------- | ------------------------------------------------------------------------------------------ |
| Site Name | Yes      | String  | None    | Subdomain of your Atlassian site. For `https://mycompany.atlassian.net` enter `mycompany`. |
| Email     | Yes      | String  | None    | Email address of the Atlassian account.                                                    |
| API Token | Yes      | String  | None    | API token of that account.                                                                 |
| Proxy     | No       | String  | None    | Proxy address. Used as the HTTPS proxy value as entered.                                   |
| Timeout   | No       | Integer | 30      | Time in seconds to wait for API responses.                                                 |

## Troubleshooting

| Error message                                                            | Cause                                                                  | Fix                                                                                                                                           |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Invalid JSON response while fetching first page of the users (status=`)` | The first page did not return JSON.                                    | Check the site name, email and API token.                                                                                                     |
| Invalid JSON response while fetching page of the users (status=`)`       | A later page did not return JSON.                                      | Retry. Check the site name and credentials.                                                                                                   |
| Status Code: `, followed by the URL, the method and the response body`   | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

{% hint style="info" %}
Available starting from version 6.3.2.
{% endhint %}
