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

# FireHydrant

FireHydrant is an incident management platform. OctoXLabs reads the users of your organization and adds them to the user inventory.

## Use cases

* **Find FireHydrant users with no directory account.** List users that are not found in Active Directory. How accounts are matched depends on your user merge settings.

```
Adapters = fire-hydrant AND NOT Adapters = active-directory
```

* **Check on-call tooling access.** Compare FireHydrant users with another source of truth.

```
Adapters = fire-hydrant AND NOT Adapters = freshservice
```

## Before you begin

### Network

| Source              | Destination                           | Port | Protocol |
| ------------------- | ------------------------------------- | ---- | -------- |
| OctoXLabs connector | api.firehydrant.io (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS. If a proxy is set, requests go through it.

### Required permissions

| Scope or role                 | Permission      | Needed for                   |
| ----------------------------- | --------------- | ---------------------------- |
| Owner (to create the API key) | Manage API keys | Creating the key (done once) |
| API key                       | Read            | Listing users                |

The baseline says managing API keys requires Owner permissions in your organization.

## Create credentials in FireHydrant

{% stepper %}
{% step %}

### Open the API keys page

Log in to your FireHydrant organization and open **Settings** > **API keys** (app.firehydrant.io/settings/api-keys).
{% endstep %}

{% step %}

### Create a key

Create a new API key. You need Owner permissions to do this.
{% endstep %}

{% step %}

### Copy the key

Store the key securely and enter it as the API Token.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type   | Default            | Description                                                 |
| --------- | -------- | ------ | ------------------ | ----------------------------------------------------------- |
| Domain    | No       | String | api.firehydrant.io | API host without a scheme. The connector adds `https://`.   |
| API Token | Yes      | String | None               | FireHydrant API key.                                        |
| Proxy     | No       | String | None               | Proxy address, used as `http://<value>` for HTTP and HTTPS. |

## Troubleshooting

| Error message                                                  | Cause                                                                                | Fix                                      |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------- |
| Rate limit hit, waiting {n} seconds                            | The API answered 429. This is a log warning.                                         | No action needed. The connector retries. |
| Status Code: `, followed by URL, Method and the response body` | The API answered with an unexpected status. This is the shared REST connector error. | Check the API key and the Domain value.  |

## Change history

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