> 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/bmc-helix-itsm.md).

# BMC Helix ITSM

BMC Helix ITSM runs on AR System. OctoXLabs reads the CMDB computer system instances as devices and the AR System User form as users.

## Use cases

* List CMDB computers (Devices).

```
Adapters = bmc-helix-itsm
```

* List ITSM users and their email domains (Users).

```
Adapters = bmc-helix-itsm AND Domain = *
```

## Before you begin

### Network

| Source              | Destination                                              | Port                | Protocol                         |
| ------------------- | -------------------------------------------------------- | ------------------- | -------------------------------- |
| OctoXLabs connector | Helix ITSM (AR System) server (IP or hostname you enter) | 8443 (configurable) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role     | Permission                                                     | Needed for     |
| ----------------- | -------------------------------------------------------------- | -------------- |
| AR System account | Log in through `/api/jwt/login`                                | Authentication |
| AR System account | Read on CMDB instances `BMC.ASSET/BMC.CORE/BMC_ComputerSystem` | Devices        |
| AR System account | Read on the User form                                          | Users          |

## Create credentials in BMC Helix ITSM

{% stepper %}
{% step %}

### Pick an account

Use an AR System account that can authenticate through `/api/jwt/login`.
{% endstep %}

{% step %}

### Grant read access

It needs read on the CMDB class `BMC.CORE:BMC_ComputerSystem` (dataset BMC.ASSET) and on the **User** form.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter      | Required | Type    | Default | Description                        |
| -------------- | -------- | ------- | ------- | ---------------------------------- |
| IP or Hostname | Yes      | String  |         | IP or host name of the server.     |
| Port           | No       | Integer | 8443    | Port of the REST API.              |
| Username       | Yes      | String  |         | AR System account.                 |
| Password       | Yes      | String  |         | Password of that account.          |
| Timeout        | No       | Integer | 30      | Seconds to wait for API responses. |
| Is Secure      | No       | Boolean | True    | Use HTTPS.                         |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Max retries exceeded for     | The API kept answering 401 or 429.                                                                                                     | Check the account. The token lives about one hour and the adapter logs in again on 401.              |
| 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 6.5.2.
{% endhint %}
