> 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/a-cloud-guru.md).

# A Cloud Guru

A Cloud Guru is a cloud skills training platform. OctoXLabs uses it to list the platform users.

## Use cases

* Find A Cloud Guru accounts that have no match in your directory.

```
Adapters = a-cloud-guru AND NOT Adapters = active-directory
```

* Check what one A Cloud Guru connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                             | Port               | Protocol                                 |
| ------------------- | --------------------------------------- | ------------------ | ---------------------------------------- |
| OctoXLabs connector | A Cloud Guru API host (IP or host name) | 443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

| Scope or role               | Permission | Needed for |
| --------------------------- | ---------- | ---------- |
| API application credentials | Read       | Users      |

The credentials must have read permission for users.

## Create credentials in A Cloud Guru

{% stepper %}
{% step %}

### Open API Settings

In A Cloud Guru, open the API Settings page.
{% endstep %}

{% step %}

### Create an application

Click **Create Application** and enter a name that describes the integration. Click **Create**.
{% endstep %}

{% step %}

### Download the credentials

Download the Consumer ID and the API key.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter   | Required | Type    | Default | Description                                                           |
| ----------- | -------- | ------- | ------- | --------------------------------------------------------------------- |
| IP          | Yes      | String  | None    | IP address or host name of the A Cloud Guru API host.                 |
| Port        | No       | Integer | 443     | Port of the API.                                                      |
| API Key     | Yes      | String  | None    | API key of the application.                                           |
| Consumer ID | Yes      | String  | None    | Consumer ID of the application.                                       |
| Proxy       | No       | String  | None    | Proxy address. The connector sends requests through `http://<value>`. |
| Is Secure   | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP.                                      |
| Timeout     | No       | Integer | 30      | Time in seconds to wait for API responses.                            |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| 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 4.5.0.
{% endhint %}
