> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.appaloosa.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Comment enrôler un appareil Zebra avec StageNow et Appaloosa ?

You can now add Appaloosa Android Enterprise Enrollement to your Stage Now configuration to automatically provision your device with Appaloosa.

Vous pouvez désormais ajouter l'enrôlement Android Enterprise à votre configuration StageNow pour provisionner automatiquement vos Zebra avec Appaloosa.

Il y a deux façons de le faire:

## Avec Android Zero Touch Enrollment

Vous pouvez Android Zero Touch Enrollment pour automatiquement assigner vos appareils à Appaloosa pendant la configuration StageNow. Pour en savoir plus sur cette fonctionnalité vous pouvez vous référez à la [documentation Zebra](https://techdocs.zebra.com/stagenow/5-8/Profiles/zerotouch/).

Zero Touch vous permet de configurer automatiquement vos appareils avec Appaloosa directement sur le portail [Zero Touch Enrollement](https://partner.android.com/zerotouch). Quand vous avez assigner vos appareils à Appaloosa, utilisez la configuration StageNow pour enrôler votre appareil avec votre propre configuration.

## Avec StageNow Xpert Mode

Créez un nouveau profile StageNow Xpert avec les étapes suivantes:

1. Wifi (au autre connectivité réseau)
2. FileMgr (pour télécharger l'agent Google)
3. AppMgr (pour installer l'agent Google)
4. Intent (pour lancer l'enrôlement)

Maintenant, configurez les étapes comme ceci:

1. Wifi: Configurer votre Wifi comme vous le souhaitez
2. FileMgr:

* Télécharge le Google Device Policy Controller depuis le Google Play via [TechDoc: FileMgr](https://techdocs.zebra.com/stagenow/5-7/csp/file/). Sélectionnez:

* Use an external Staging Server.
* Source path: [https://play.google.com/managed/downloadManagingApp?identifier=setup](https://play.google.com/managed/downloadManagingApp?identifier=setup)
* Target path: /sdcard/AndroidDevicePolicy.apk
3. AppMgr

* Installe the Device Policy Controller via [TechDoc: AppMgr](https://techdocs.zebra.com/stagenow/5-7/csp/app/). Sélectionnez:

* APK path: /sdcard/AndroidDevicePolicy.apk
* Utiliser **Upgrade** au lieu d'installer au cas où l'app est déjà installée
4. Intent

* Configure le Device Policy Controller comment Device Owner via [TechDoc: Intent](https://techdocs.zebra.com/stagenow/5-7/csp/intent/). Sélectionnez:

* Enroll a Device Owner.
* Package name: _com.google.android.apps.work.clouddpc_
* Class name: _com.google.android.apps.work.clouddpc.receivers.CloudDeviceAdminReceiver_
* Add a JSON File: Créez un fichier JSON avec ce contenu

* ```
{  
"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": "https://play.google.com/managed/downloadManagingApp?identifier=setup",  
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {  
"com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN": "YOUR_TOKEN_HERE"  
},  
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": true  
}
```

Vous pouvez maintenant publier votre profile de configuration et l'utilisez.