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

# Digi

Digi Remote Manager is a cloud platform that manages Digi routers and IoT devices. OctoXLabs uses it to add the devices in the account inventory, with IP and MAC address, model and serial number, to the inventory.

## Use cases

* List all Digi devices with their model and last connection time.

```
Adapters = digi
```

* Find Digi devices that are not in your CMDB.

```
Adapters = digi AND NOT Adapters = servicenow-cmdb
```

## Before you begin

### Network

| Source              | Destination                                    | Port | Protocol                         |
| ------------------- | ---------------------------------------------- | ---- | -------------------------------- |
| OctoXLabs connector | `remotemanager.digi.com` (configurable domain) | 443  | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role                    | Permission | Needed for       |
| -------------------------------- | ---------- | ---------------- |
| API key of a Remote Manager user | Read       | Device inventory |

API key creation is off by default. An administrator must enable it for the account first.

## Create credentials in Digi Remote Manager

{% stepper %}
{% step %}

### Enable API keys

An administrator enables API keys for the account in the account settings.
{% endstep %}

{% step %}

### Create the key

Each user creates an API key from their own user profile.
{% endstep %}

{% step %}

### Copy ID and secret

Copy the generated ID and Secret. The secret is shown only at creation.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter      | Required | Type              | Default                  | Description                                                                      |
| -------------- | -------- | ----------------- | ------------------------ | -------------------------------------------------------------------------------- |
| Domain         | Yes      | String            | `remotemanager.digi.com` | Host of your Remote Manager account. Dedicated or regional instances may differ. |
| API Key ID     | Yes      | String            | None                     | Sent in the `X-API-KEY-ID` header.                                               |
| API Key Secret | Yes      | String            | None                     | Sent in the `X-API-KEY-SECRET` header.                                           |
| Is Secure      | No       | Boolean           | `True`                   | Use HTTPS.                                                                       |
| Proxy          | No       | String            | None                     | Proxy, used as `http://<proxy>`.                                                 |
| Timeout        | No       | Integer (seconds) | `30`                     | Time to wait for API responses.                                                  |

## Troubleshooting

| Error message                    | Cause                                   | Fix          |
| -------------------------------- | --------------------------------------- | ------------ |
| `Max retries exceeded for <url>` | Remote Manager kept answering HTTP 429. | Retry later. |

## Change history

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