> 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-on-prem.md).

# Atlassian Confluence On Prem

Confluence Server and Data Center are the self-hosted Atlassian wiki. OctoXLabs reads the user list of the instance.

## Use cases

* Find Atlassian Confluence On-Prem accounts that have no match in your directory.

```
Adapters = atlassian-confluence-on-prem AND NOT Adapters = active-directory
```

* Check what one Atlassian Confluence On-Prem connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                        | Port                | Protocol                                 |
| ------------------- | -------------------------------------------------- | ------------------- | ---------------------------------------- |
| OctoXLabs connector | Confluence Server or Data Center (IP or host name) | 8090 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

The account must be able to list users through the REST API. Roles are not documented. Not verified.

## Create credentials in Atlassian Confluence On-Prem

No credential setup steps are documented for this adapter. Use an existing account or key that meets the requirements above.

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                           |
| --------- | -------- | ------- | ------- | --------------------------------------------------------------------- |
| IP        | Yes      | String  | None    | IP address or host name of the Confluence instance.                   |
| Port      | No       | Integer | 8090    | Port of the instance.                                                 |
| Username  | Yes      | String  | None    | Confluence username.                                                  |
| Password  | Yes      | String  | None    | Password of that account.                                             |
| Is Secure | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP.                                      |
| Proxy     | No       | String  | None    | Proxy address. The connector sends requests through `http://<value>`. |
| Timeout   | No       | Integer | 30      | Time in seconds to wait for API responses.                            |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Invalid JSON response while fetching users (status=`)`                 | The API did not return JSON.                                           | Check the address, port, Is Secure setting 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.4.0.
{% endhint %}
