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

# BlackKite

Black Kite is a third-party cyber risk intelligence platform. OctoXLabs reads the IP addresses of your monitored companies as devices and the platform users as users.

## Use cases

* List IP addresses that Black Kite tracks for your companies (Devices).

```
Adapters = blackkite
```

* List Black Kite users (Users).

```
Adapters = blackkite AND Email = *
```

## Before you begin

### Network

| Source              | Destination           | Port | Protocol |
| ------------------- | --------------------- | ---- | -------- |
| OctoXLabs connector | app.blackkitetech.com | 443  | HTTPS    |

### Required permissions

| Scope or role                      | Permission | Needed for                       |
| ---------------------------------- | ---------- | -------------------------------- |
| Client credential with a user role | Read       | Users, companies and company IPs |

## Create credentials in BlackKite

{% stepper %}
{% step %}

### Sign in

Log in to Black Kite.
{% endstep %}

{% step %}

### Open Integrations

In the admin menu, open **Integrations** and click **+ New Client Credential**.
{% endstep %}

{% step %}

### Set the key

Enter a name and a token lifetime. Assign the appropriate user role.
{% endstep %}

{% step %}

### Create and record

Click **Create**. Record the Client ID and the Client Secret. The secret is shown only once.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default               | Description                        |
| ------------- | -------- | ------- | --------------------- | ---------------------------------- |
| Domain        | Yes      | String  | app.blackkitetech.com | Black Kite host.                   |
| Client ID     | Yes      | String  |                       | Client credential ID.              |
| Client Secret | Yes      | String  |                       | Client credential secret.          |
| Timeout       | No       | Integer | 30                    | Seconds to wait for API responses. |

## Troubleshooting

| Error message                      | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Rate limit hit, waiting 60 seconds | The API allows 60 requests per minute and answered 429.                                                                                | No action. The adapter waits and retries.                                                            |
| Status Code: `, URL, Method`       | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

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