---
schema_version: "1"
id: 3b563da60ba3de3ed200439e1c7f848aa70f9bd0c3e966ac35e7e964d5bfd5bb
title: Automatic Custom Host Provisioning
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/mobile_security_mdm_host.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.mobile_security_mdm_host.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 054e0b46d81a67e27b89645ef6724a276eb975f649acc3bade64a2b3f69f633f
description: You can now push custom login host settings to your mobile users. This spares your mobile users from having to manually type long URLs for login hosts—typically a frustrating and error-prone activity.
products:
  - Security
  - Mobile App
  - Cross Cloud
release: "264"
---
# Automatic Custom Host Provisioning

You can now push custom login host settings to your mobile users. This spares your mobile users from having to manually type long URLs for login hosts—typically a frustrating and error-prone activity.

You can configure key-value pair assignments through your MDM to define multiple custom login hosts for your mobile users.

## MDM Settings for Automatic Custom Host Provisioning

To push custom login host configurations to your mobile users, you configure key-value pair assignments through your MDM suite.

Here are the supported keys:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:24.752475247524753%">
          <col style="width:25.247524752475247%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d576e54">Key</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d576e57">Data Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d576e60">Platform</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d576e63">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e54 ">
              <code>AppServiceHosts</code>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e57 ">String, String Array</td>

            <td data-label="Platform" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e60 ">Android, iOS</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e63 ">
              <p>Login hosts. The first value in the array is the default
                host.</p>
              <p><strong>Android:</strong> Requires https:// in the host URL.</p>
              <p style="margin-bottom:0;"><strong>iOS:</strong>
                Doesn't require https:// in the host URL. </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e54 ">
              <code>AppService​HostLabels</code>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e57 ">String, String Array</td>

            <td data-label="Platform" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e60 ">Android, iOS</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e63 ">
              <p>Labels for the hosts.</p>
              <p style="margin-bottom:0;">The number of <code>AppServiceHostLabels</code> entries must match the number of <code>AppServiceHosts</code> entries.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Key" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e54 ">
              <code>OnlyShow​AuthorizedHosts</code>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e57 ">Boolean</td>

            <td data-label="Platform" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e60 ">Android, iOS</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d576e63 ">If true, prevents users from modifying the list of hosts that Salesforce can
              connect to.</td>

          </tr>
        </tbody>
      </table>