# Device Enrolment - NFC

{% hint style="info" %}
The enrolments by NFC for fully managed devices works on any Android OS 6.0 or above.
{% endhint %}

You can use NFC provisioning method to set up a device in a device owner mode. In the NFC provisioning method, or NFC bump, you create an NFC programmer app that contains the initial policies, Wi-Fi configuration, settings, and provisioning details required to configure the device owner mode of operation. When you or your customer installs the NFC programmer app on an Android device, that device becomes the programmer device.

To provision a device, the IT admin takes a new device out of the box and bumps it against the programmer device. The bump transfers configurations to the device, so it connects to the Internet and downloads the appropriate policies and settings.

After a device is provisioned, for a short time Google Play displays unmanaged consumer content instead of the approved apps and collections that should display. This delay can last from a few minutes up to an hour.

### Provision a Customer Device

1. Download the **CubiLock NFC** app from PlayStore.
2. Install the **CubiLock NFC** on the device that will be a programmer device.
3. From your CubiLock console, scan the **QR code** of the profile you wish your devices to enrol with. This will fetch all the details of that profile including WiFi SSID, WiFi security, WiFi password and Enrolment token.
4. Bump the programmer device with a new device or the one that has been factory reset.
5. Verify that the device remains on the initial **Welcome** screen that’s displayed when it starts. The text is specified in `Tap to beam:{...}` in the programmer app.
6. Wait while the Android Device Policy Controller:
   1. Encrypts the device.
   2. If it’s a Code-Division Multiple Access (CDMA) device: Activates the phone while a telephony user interface is shown (no interaction required).
   3. Sets up the Wi-Fi connection.
   4. Apply your specified policies.
   5. Installs required applications for setup to complete
7. After the setup completes, you will be navigated to the **CubiLock Kiosk** app where you will be able to see all the apps whitelisted for the profile you enrolled with.

![On first launch you will be taken to on-boarding screen to guide you through the NFC enrolment process. You can either skip or continue watching the tutorial](/files/-MBh7RN0g_okN4-CMaqf)

![Once you are done with on-boarding, you will be navigated to configurations screen where you can add configurations by scanning the QR code present on Device Enrolment screen on your CubiLock console](/files/-MBh7RN3yG-3fmGsaOWx)

![Scan the QR code provided on Device Enrolment screen of your profile to fetch configurations. You can also enter all the details manually by simply taping on Enter Manually button at the bottom of the screen. This will take you to configuration details screen where you will be able to add all the details manually](/files/-MBh7RN49MSaKM3c2ta3)

![Once scanned, all the configuration details will be presented to you. Verify or fill in the missing details and press Start Enrolment button to continue enrolling your devices ](/files/-MBh7RN5s5krlt2aJe4C)

![At this stage your programmer device is ready. To provision a device, takes a new device out of the box and bump it against this device](/files/-MBh7RN6zC7ZnI2nay_m)

![Once you bump both device, it will ask for Tap to beam, tap on the screen once to transfer all the configurations to a new device](/files/-MBh7RN7vvQqYBP_OFls)

![The configurations will be save for you to use in future. You can simply tap on the store configuration to start NFC enrolment](/files/-MBh7RN88oJ3VSg2-jxO)

![You can also Edit or Delete the stored configuration](/files/-MBh7RN9RQ8IKkJYLEup)

![Upon clicking on Edit icon, you will be taken to configuration details screen where you can edit its details and start enrolment if you want](/files/-MBh7RN5s5krlt2aJe4C)

![You can also delete the stored configurations by simply clicking on Delete icon. It will ask you for your confirmation and once confirmed, the configuration will be deleted permanently](/files/-MBh7RNAzt32wAhJLLEo)

### **Additional Resources**

[Advanced NFC](http://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html) describes advanced NFC topics, such as working with various tag technologies, writing to NFC tags, and foreground dispatching.


---

# 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.cubilock.com/device-management/device-enrolment/device-enrolment-nfc.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.
