# 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 %}
