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

# Atlassian Confluence Cloud

> Connect Alumio to Atlassian Confluence Cloud.

## Extra information

System documentation:

## Connector package documentation

# Setting up HTTP Client Confluence Cloud

## Steps

1. In Alumio Dashboard, go to Clients > HTTP Clients. Create a new HTTP Client and select Confluence Cloud HTTP Client as the prototype of the HTTP Client.
2. Fill in the Base URI, Username, Password.

# Subscribing to Entities from Confluence Cloud

## Steps

1. Go to Connections -> Incoming and create a new incoming configuration and select Confluence Cloud Subscriber as the subscriber.
2. Select the entity you want to subscribe from Confluence Cloud.
3. Add any request parameters needed to subscribe to the entity (optional).
4. You can optionally add a transformer to transform the request parameters into something you need.

## Select the Confluence Cloud HTTP Client to use. General Concept

We follow Confluence Cloud documentation on building this connector so you can easily use the connector based on Confluence Cloud API Reference.

**Entity**
It’s the entity you want to subscribe from Confluence Cloud. Please refer to the entities in Management APIs from Confluence Cloud API Reference page.

**Request Parameters**
These are the parameters you can provide to get the needed entity based on Confluence Cloud API Reference. Please look at the example below on how to fill Request Parameters field when subscribing Single Request entity.

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-01.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=a30b875456b3e127fa48167ef47931d2" alt="Atlassian Confluence Cloud connector screenshot 1" width="647" height="377" data-path="images/connectors/atlassian-confluence-cloud-01.png" />

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-02.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=1d4b0b37b9bf65effe0e1042069dfc19" alt="Atlassian Confluence Cloud connector screenshot 2" width="396" height="75" data-path="images/connectors/atlassian-confluence-cloud-02.png" />

That’s why we need to define **id and versionNumber** property inside **path** property in the Request Parameters field. The properties inside **query** parameters will be parsed as query parameters. Here is the final URL that will be called when using such Request Parameters field on coupon entity.

/wiki/rest/api/content/1/version/123

**Input Transformer**
Any transformer’s set here will be executed after the Request Parameters loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need either as path parameters and/or as query parameters of an entity.

**HTTP Client**
It’s the HTTP Client configuration or prototype you will use to access Confluence Cloud.

# Publishing Entity to Confluence Cloud

## Steps

1. Go to Connections -> Outgoing, create a new outgoing configuration and select Confluence Cloud Publisher as the publisher.
2. Select the action that you want the publisher to do with the data.
3. Select the Confluence Cloud entity you want the data to be published to.
4. Select the HTTP Client to use.
   <img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-03.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=68360f0566011f15703200e6fe6d6373" alt="Atlassian Confluence Cloud connector screenshot 3" width="626" height="198" data-path="images/connectors/atlassian-confluence-cloud-03.png" />

## General Concept

Like the subscriber, the publisher has similar methods on how to use it. The difference is the payload that will be submitted by the publisher originating from the data (from routes, from transformers in outgoing configuration).

**Action**
Currently we support Create (HTTP POST method), Update (HTTP PUT method), and Delete (HTTP DELETE method).

**Entity**
We support publishing to most Confluence Cloud endpoints but not with publishing binary files at the moment. Please refer to the entities in Management APIs from Confluence Cloud API Reference page. Based on the documentation, some endpoints may need one or more path parameters.

For endpoints that require object as the request payload, please look at the example below. For example, we want to Create a Thread. Please select “Create” as the action and “Create new user group” as the entity of the publisher.

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-04.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=b9b6a4e04af0f16865e1f64e847a7ad5" alt="Atlassian Confluence Cloud connector screenshot 4" width="635" height="191" data-path="images/connectors/atlassian-confluence-cloud-04.png" />

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-05.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=76420a78c3e0eff34da22dc56f9604fc" alt="Atlassian Confluence Cloud connector screenshot 5" width="256" height="77" data-path="images/connectors/atlassian-confluence-cloud-05.png" />

You can put the payload you want to send to Confluence Cloud into payload property in the data. Here is an example of the Possible Response after Creation.

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-06.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=71e7d32e8d79846c69d88e2f4f9c5aae" alt="Atlassian Confluence Cloud connector screenshot 6" width="343" height="64" data-path="images/connectors/atlassian-confluence-cloud-06.png" />

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-07.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=2ce233a45ef6c881e64d7410ad6ae0ea" alt="Atlassian Confluence Cloud connector screenshot 7" width="370" height="80" data-path="images/connectors/atlassian-confluence-cloud-07.png" />

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-08.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=c40afeaebc623bdf5b8b62c80c63b08d" alt="Atlassian Confluence Cloud connector screenshot 8" width="404" height="79" data-path="images/connectors/atlassian-confluence-cloud-08.png" />

<img src="https://mintcdn.com/alumio/99mrwtB8nAsdGlI9/images/connectors/atlassian-confluence-cloud-09.png?fit=max&auto=format&n=99mrwtB8nAsdGlI9&q=85&s=838da6b8c293cb7136008f28ff61252f" alt="Atlassian Confluence Cloud connector screenshot 9" width="287" height="60" data-path="images/connectors/atlassian-confluence-cloud-09.png" />

Alumio will send an API request to Confluence Cloud with URL /wiki/rest/api/group

**HTTP Client**
It’s the HTTP Client configuration or prototype you will use to access Confluence Cloud.
