# Set up the plugin

> Install the HMS Unity Plugin in a Unity 6 project, add the External Dependency Manager and your AppGallery Connect file, then check the integration.

Source: https://docs.mgonnacrusht.co.uk/hmsunity/setup/

<Aside type="caution" title="Being written">
  This guide is being written alongside the plugin. The list below shows what it will cover.
</Aside>

## What this guide covers

1. **Before you start:** Unity version, Android build support, a Huawei developer account and an
   app in AppGallery Connect.
2. **External Dependency Manager:** the plugin uses Unity's External Dependency Manager package to
   download the Huawei SDKs. You do not edit Gradle files by hand.
3. **Import the packages:** the free base package first, then any kits you use (such as In-App
   Purchases).
4. **Add your AppGallery Connect file:** where `agconnect-services.json` goes and why it is kept out
   of `StreamingAssets`, so it does not end up in your Google Play build.
5. **Turn kits on:** choose the kits you use in Project Settings.
6. **Check the integration:** run the built-in check and fix anything it reports.
7. **Build for Huawei and Google Play from one project:** how to keep both builds working.

## Related

- [Editor tools](/hmsunity/editor-tools/)
- [Updating the plugin](/hmsunity/updating/)
