> 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/z/zscaler-client-connector.md).

# Zscaler Client Connector

Zscaler Client Connector is the endpoint agent of the Zscaler platform. OctoXLabs reads the enrolled devices from the Client Connector public API. This adds host names, MAC addresses, agent versions and logged on users to the inventory. This page covers only this product, not Zscaler Internet Access, Private Access, Identity or Digital Experience.

## Use cases

* List all devices with Zscaler Client Connector.

```
Adapters = zscaler-client-connector
```

* Find servers that are in your inventory but have no Client Connector. Replace `active-directory` with any other source that lists your devices.

```
Adapters = active-directory AND NOT Adapters = zscaler-client-connector
```

## Before you begin

### Network

| Source              | Destination                                                      | Port             | Protocol |
| ------------------- | ---------------------------------------------------------------- | ---------------- | -------- |
| OctoXLabs connector | Your cloud name, for example `mobile.zscaler.net` (path `/papi`) | 443              | HTTPS    |
| OctoXLabs connector | HTTP proxy (optional)                                            | Set in **Proxy** | HTTP     |

### Required permissions

| Scope or role                  | Permission | Needed for  |
| ------------------------------ | ---------- | ----------- |
| Public API key, status Enabled | Read       | Device data |

## Create credentials in Zscaler Client Connector

{% stepper %}
{% step %}

### Open Public API

Sign in to the Zscaler Client Connector portal. Go to **Administration > Public API**.
{% endstep %}

{% step %}

### Add a key

Click **Add API Key** and enter a name. Make sure the status is **Enabled**.
{% endstep %}

{% step %}

### Select read access

Select **Read** access so the key can read device data.
{% endstep %}

{% step %}

### Save and copy

Click **Save**. Copy the generated token secret right away.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default | Description                                                  |
| ---------- | -------- | ------- | ------- | ------------------------------------------------------------ |
| Cloud Name | Yes      | Text    |         | Cloud name of your tenant, for example `mobile.zscaler.net`. |
| API Key    | Yes      | Text    |         | API key (also called Client ID).                             |
| API Secret | Yes      | Text    |         | Secret of the key.                                           |
| Proxy      | No       | Text    |         | Proxy in `host:port` format.                                 |
| Timeout    | No       | Integer | 30      | Seconds to wait for API responses.                           |

## Troubleshooting

| Error message | Cause                                 | Fix                                           |
| ------------- | ------------------------------------- | --------------------------------------------- |
| Not verified  | The adapter has no custom error text. | Check the cloud name, the key and the secret. |

## Change history

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