The QR code enrollment method sets up and configures Google Glass smart glasses by scanning a QR code. The QR code contains a payload of JSON values with all the information needed for the device to be enrolled.

Note:  Various word processing applications use special characters for editing. Using copy/paste can pick up those characters, invalidating your JSON. Consider validating your JSON using any free online tool.

You can use any online QR Code generator, such as Web Toolkit Online, to create your QR code before beginning enrollment. The QR code includes the Server URL and Group ID information. You can also include the user name and password or the user has to enter their credentials. Here is the format of the text to paste into the QR Code generator:

“COMPONENT”: “com.airwatch.androidagent/com.airwatch.agent.DeviceAdministratorReceiver”,
“LOCATION”:  “", “NFC_MIME”: “application/com.airwatch.agent.enroll”,
“NFC_MIME”: “application/com.airwatch.agent.enroll”,
“EXTRAS”:  “serverurl=https://EnrollmentURL/AirWatch\ngid=EnrollmentOG\nun=EnrollmentUserName\npw=EnrollmentUserPassword”
Note: QR Code enrollment is only applicable to Google Glass.


  1. Follow the steps to create an enrollment user.
  2. Create QR code using a QR code generator.
  3. From your Google glasses, go to Settings > Device Options > Provisioning which launches the QR code reader.
  4. Scan your QR code and follow the prompts.
  5. Use the RunIntent File/Action to enable commands such as Setting OTA server, Lock ADB access, Set an app into kiosk mode, and enable/disable camera.

What to do next

Important: To manage applications, the intent "install_non_market_apps" needs to be executed on the device first. Please see EE14 and EE15 documentation from Google for all of the intents that are now supported on Google Glass.