> 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/s/solarwinds-service-desk-samanage.md).

# SolarWinds Service Desk (Samanage)

SolarWinds Service Desk (Samanage) is an IT service management and asset platform. OctoXLabs reads the hardware assets and the users, with their sites and groups, and adds them to the inventory. Installed software is not collected because the API does not link software to the computers it is installed on.

## Use cases

* **Find Service Desk assets that no endpoint agent reports.** How devices are matched depends on your device merge settings.

```
Adapters = solarwinds-service-desk-samanage AND NOT Adapters = active-directory
```

* **Find Service Desk users that are not in the directory.** Run this in the user inventory.

```
Adapters = solarwinds-service-desk-samanage AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                                                                | Port | Protocol                         |
| ------------------- | -------------------------------------------------------------------------- | ---- | -------------------------------- |
| OctoXLabs connector | api.samanage.com (US), apieu.samanage.com (EU) or apiau.samanage.com (APJ) | 443  | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role                               | Permission                     | Needed for               |
| ------------------------------------------- | ------------------------------ | ------------------------ |
| Service Desk administrator license and role | Permissions of the user's role | Reading assets and users |

The token has the permissions of the user's role. Regenerating the token invalidates the previous one, and disabling the user disables the token.

## Create credentials in SolarWinds Service Desk

{% stepper %}
{% step %}

### Sign in

Log in with a user that has a Service Desk administrator license. A token can only be created for yourself.
{% endstep %}

{% step %}

### Open your user

Go to **Setup > Users & Groups > Users** and open your user detail page.
{% endstep %}

{% step %}

### Generate the token

Click **Actions** and select **Generate JSON Web Token**.
{% endstep %}

{% step %}

### Copy the token

Click **Copy** under **JSON Web Token** and paste it into the **Api Token** parameter.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter          | Required | Type    | Default          | Description                                                                                                     |
| ------------------ | -------- | ------- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
| Domain             | Yes      | String  | api.samanage.com | API host of your data center: `api.samanage.com` (US), `apieu.samanage.com` (EU) or `apiau.samanage.com` (APJ). |
| Api Token          | Yes      | String  | None             | JSON Web Token of a Service Desk administrator.                                                                 |
| Fetch Mobiles      | No       | Boolean | False            | Also collect mobile devices as devices.                                                                         |
| Fetch Other Assets | No       | Boolean | False            | Also collect other assets, such as printers, projectors or chargers, as devices.                                |
| Is Secure          | No       | Boolean | True             | Use HTTPS.                                                                                                      |
| Proxy              | No       | String  | None             | Proxy address in `host:port` form.                                                                              |
| Timeout            | No       | Integer | 30               | Seconds to wait for an API response.                                                                            |

## Troubleshooting

| Error message | Cause                                    | Fix                                                            |
| ------------- | ---------------------------------------- | -------------------------------------------------------------- |
| Not verified  | No error texts could be checked in code. | Run the connection test and check the token, domain and proxy. |

## Change history

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