# SOTI MobiControl

{% stepper %}
{% step %}

### IP Address

IP address of the SOTI MobiControl host.
{% endstep %}

{% step %}

### Port

Port number (optional, default: **443**).
{% endstep %}

{% step %}

### Client ID and Client Secret

Generated Client ID for the MobiControl API.

{% hint style="info" %}
Before creating a Client ID and Client Secret, you first need to add an API client. This requires administrative access to the Windows server where MobiControl is hosted. If you are a MobiControl cloud customer, please contact SOTI support for assistance.
{% endhint %}

You can follow the steps below to generate the credentials:

* Launch a Windows command prompt with administrative privileges.
* Navigate to the MobiControl installation directory.
* Execute the following command, replacing the placeholders with your information:

{% code title="Generate API client" %}

```
MCAdmin.exe APIClientAdd -n:{APIClientName} [-p:{APISecret}]
```

{% endcode %}

* **API client name:** A reference name for your application.
* **API secret (optional):** A secure passphrase. If omitted, one will be generated.
* After executing the command, the **Client ID** and **Client Secret** will be displayed in the command prompt.

{% hint style="warning" %}
The secret is only shown once when the API Client is created. Copy and store your generated credentials securely.
{% endhint %}
{% endstep %}

{% step %}

### Username

MobiControl administrator's username.
{% endstep %}

{% step %}

### Password

MobiControl administrator's password.
{% endstep %}

{% step %}

### SSL

Use SSL for connection (optional, default: **Encrypted**).

{% hint style="danger" %}
Please perform a connection test to ensure there is a valid connection to the SOTI MobiControl host. When the discovery operation is finalized, you will be able to see the details on the Assets page.
{% endhint %}
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.octoxlabs.com/adapters/adapters/soti-mobicontrol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
