> For the complete documentation index, see [llms.txt](https://docs.cubilock.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cubilock.com/device-management/device-enrolment/device-enrolment-zero-touch.md). Agents can also search and read this documentation through its [MCP server](https://docs.cubilock.com/~gitbook/mcp).

# Device Enrolment - Zero-Touch

How to configure Zero-Touch enrolment for fully managed devices

The device configuration sets how a Zero-Touch enrolment device provisions itself. You set up and manage device configurations in the Zero-Touch enrolment portal in your browser, then apply that configuration to your fully managed Android devices — one by one, or in bulk with a CSV upload.

1. Sign in to the Zero-Touch enrolment portal and create a configuration
2. Set CubiLock as the DPC and add the provisioning JSON
3. Apply the configuration to your devices, one by one or in bulk

### Step 1: Sign in and create a configuration

Sign in to the Zero-Touch enrolment portal with your Google account. Once logged in, go to Configurations and select the option to add a new configuration, then fill out the configuration panel — configuration name, company name, support email and phone number.

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FQWvVYcbsZ5dL5FJLs4JK%2Fimage.png?alt=media&amp;token=514ebc5e-793c-4ac5-b071-ce789987d47e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FLFXnlriYUgRKAQnBGLM5%2Fimage.png?alt=media&amp;token=6769368e-0b27-4ba1-bab0-6e6087f590f8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FYTB8man9V00jyh7j5OtM%2Fimage.png?alt=media&amp;token=f0519ff5-e5af-49ee-86b3-13a14ecbb483" alt=""><figcaption></figcaption></figure>

### Step 2: Set CubiLock as the DPC app

Select CubiLock as the EMM DPC app. Copy the following JSON text into the DPC extras field. Replace YourEnrollmentToken with the enrolment token you created as part of your CubiLock enrolment profile, and keep it wrapped in double quotes.

📷 Screenshot placeholder: Add configuration panel — DPC extras JSON, company name, support email/phone, custom message

{% hint style="info" %}
The android.app.extra.PROVISIONING\_LOCALE value below is set to Swedish (sv-SE). For English, replace it with en-US.
{% endhint %}

```json
{
  "android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": true,
  "android.app.extra.PROVISIONING_LOCALE": "sv-SE",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.google.android.apps.work.clouddpc/.receivers.CloudDeviceAdminReceiver",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "I5YvS0O5hXY46mb01BlRjq4oJJGs2kuUcHvVkAPEXlg",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "",
  "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {
    "com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN": "YourEnrollmentToken"
  }
}
```

Or, use this shorter version, which omits the optional extras:

```json
{
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.google.android.apps.work.clouddpc/.receivers.CloudDeviceAdminReceiver",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "I5YvS0O5hXY46mb01BlRjq4oJJGs2kuUcHvVkAPEXlg",
  "android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {
    "com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN": "YourEnrollmentToken"
  }
}
```

You'll find the enrolment token on the profile detail page of your CubiLock enrolment profile.

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FCvPQyuwUyjMJyXW84SKF%2Fimage.png?alt=media&amp;token=6ea58fe6-b135-4776-bb5b-c57301fd1cf9" alt=""><figcaption></figcaption></figure>

### Step 3: Apply the configuration to devices

Once the configuration is saved, it appears in your configurations list. From here you can apply it to devices one by one, or in bulk for larger fleets.

📷 Screenshot placeholder: Configurations list showing the saved configuration

#### Apply one by one

From the Devices tab, choose the configuration you just created in the Configuration column next to each device.

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FA9vQVDO4ju7fKhq8H2Du%2Fimage.png?alt=media&amp;token=2af01f56-1d8f-4d8b-a90b-9193a39a921e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FVjWblMl8haz07dyAR6vw%2Fimage.png?alt=media&amp;token=658bbe27-fbf2-4b15-b547-79e61112d58c" alt=""><figcaption></figcaption></figure>

#### Bulk apply with a CSV upload

If you have a large number of devices, Zero-Touch also supports bulk enrolment. Click the menu at the top right of the Devices list and select Upload batch configurations. From there you can download an example CSV and prepare your own.

The CSV must use the format modemtype,modemid,manufacturer,profiletype,profileid. The following table shows the field values to use:

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FAHXl2oKVimNhdu3kSqej%2Fimage.png?alt=media&amp;token=2b960107-9276-43e2-bbb9-ec380e4467ed" alt=""><figcaption></figcaption></figure>

| Field        | Example         | Description                                                                                                                                        |
| ------------ | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| modemtype    | IMEI            | Set this to IMEI (uppercase). Pair with modemid to match a cellular device.                                                                        |
| modemid      | 123456789012347 | Set this to the device's IMEI number. For dual-SIM devices, use only the first IMEI number. Pair with modemtype to match a cellular device.        |
| serial       | ABcd1235678     | Set this to the device's case-sensitive serial number. Pair with model to match a Wi-Fi-only device.                                               |
| model        | VM1A            | Set this to the device model name. It must be one of the names listed in Google's Models reference. Pair with serial to match a Wi-Fi-only device. |
| manufacturer | Google          | Always set this to the device manufacturer's name. It must be one of the names listed in Google's Manufacturers reference. Used to match a device. |
| profiletype  | ZERO\_TOUCH     | Always set this to ZERO\_TOUCH (uppercase).                                                                                                        |
| profileid    | 54321           | Always set this to the numeric ID of the configuration you want to apply. Find the ID in the ID column on the Configurations page.                 |

**For example:**

```csv
modemtype,modemid,manufacturer,profiletype,profileid
IMEI,352500000000000,Google,ZERO_TOUCH,234567890
IMEI,352500000000001,Google,ZERO_TOUCH,234567890
IMEI,352500000000002,Google,ZERO_TOUCH,234567890
IMEI,352500000000003,Zebra,ZERO_TOUCH,234567890
IMEI,352500000000004,Crosscall,ZERO_TOUCH,234567890
```

### What happens on first boot

Devices are managed straight out of the box. On first boot, they check whether they've been assigned a configuration, then automatically download CubiLock (the device policy controller app) to complete setup — no manual DPC install needed.

{% columns %}
{% column %}

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FdbcaAZ7YxNgcmlaGKm9a%2Fimage.png?alt=media&amp;token=09eef067-6c23-4e07-a67c-27a83dc3e8d3" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FehBbOWMf6SZbRMf8FaPS%2Fimage.png?alt=media&amp;token=956ad22c-0ac6-44a2-8711-9999166fba04" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FBrcRPbNwxD5Jb0NOFN4n%2Fimage.png?alt=media&amp;token=f186c83a-053e-4655-a4fe-4aa1db53f350" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2F3xfFG6HuqmVlw9jZjDli%2Fimage.png?alt=media&amp;token=0ae6f4fb-73e5-4eb6-91a5-b8a6fd067f6c" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://1920795617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MAzePNJAKsgL6R-VtV2%2Fuploads%2FSgTidmq0X8CAG0zZ0s0b%2Fimage.png?alt=media&amp;token=db6d97c4-79ba-4a31-afb5-bfbd136e419e" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

{% endcolumn %}
{% endcolumns %}

### References

* [Create custom zero-touch configurations for Android devices](#step-1-sign-in-and-create-a-configuration)
* [Zero-touch enrollment for IT admins](#step-1-sign-in-and-create-a-configuration)
