> 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/amplitude.md).

# Amplitude

Amplitude is a product analytics platform. OctoXLabs reads the organization users through the Amplitude SCIM API.

## Use cases

* Find Amplitude accounts that have no match in your directory.

```
Adapters = amplitude AND NOT Adapters = active-directory
```

* Check what one Amplitude connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                   | Port               | Protocol                                 |
| ------------------- | --------------------------------------------- | ------------------ | ---------------------------------------- |
| OctoXLabs connector | core.amplitude.com (default, configurable IP) | 443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

## Create credentials in Amplitude

{% stepper %}
{% step %}

### Open API Keys

In Amplitude, open the **Organization Settings / API Keys** page.
{% endstep %}

{% step %}

### Copy the key

Copy the API key used for SCIM.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default            | Description                                    |
| --------- | -------- | ------- | ------------------ | ---------------------------------------------- |
| IP        | Yes      | String  | core.amplitude.com | Host for Amplitude SCIM.                       |
| Port      | No       | Integer | 443                | Port of the API.                               |
| API Key   | Yes      | String  | None               | API key from Organization Settings / API Keys. |
| 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
