# Install Sample Project

## Setting Up Your Unity Project with the MOTAR SDK

### Prerequisites

* Unity 2022.3+ (SDK supports Unity 2021.3 and up)
* Unity Editor installed
* Basic familiarity with Unity’s Package Manager and Project Settings

{% hint style="warning" %}
If your project uses an older version of Unity and cannot be updated, please reach out for assistance.
{% endhint %}

***

### Installing the MOTAR SDK via Scoped Registry

* Open **Unity Editor** and navigate to **Edit > Project Settings**.
* In the **Project Settings** window, select **Package Manager**.
* Add a new **Scoped Registry** with the following details:
  * **Name**: MOTAR
  * **URL**: `https://registry.hub.motar.com`
  * **Scope(s)**: `com.motar`
* Click **Save** and close **Project Settings**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdSpLVVA7LDM97-avf9kvrPC7TSkYmHAbqOyaoZksx5xNZhJTe7lWN5xDF8hYVxrQrzQYU6cph7L-bzEjSJ_8ihcvT9dWnXmlcCool5JwQ1tcTXWhjd6z883expqHfr7FXfWOdyOQ?key=qX-PfMadnNws3SscZCg7guPi" alt=""><figcaption></figcaption></figure>

* Open **Package Manager** (`Window > Package Manager`).
* Change the dropdown from **Packages: In Project** to **My Registries** (Unity might take a minute to detect the registry).
* Under **Dynepic**, select **MOTAR SDK** and click **Install**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeIwVszdsUcGR8YQNSGXgmOLyMc9HyavSGFUTCK-Jlv6fvdH4VBbjMobn9ZKRWo2cv8FWruJtOkc-jO3UdmV_D1If4qpkH7pXS_Z3kCy1KYj7wpeMnnfqwZywiY76fak_8rqYOOTw?key=qX-PfMadnNws3SscZCg7guPi" alt=""><figcaption></figcaption></figure>

* Click **Yes** to enable new input system backends (required for UI interaction).&#x20;

{% hint style="danger" %}
Unity will restart.
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenCmXdNMxDyBvfd4KzSW_TNPGzevTjR3oUppHdTNbg_TG4LHknAMGFu4mATyhBjdoqvjckbtadjrErQ-5dS6NClsNUzX3v0n70Ya6NImMoKdr5d-vyFDDzX9bi4Ofy3Qb54qW-8w?key=qX-PfMadnNws3SscZCg7guPi" alt=""><figcaption></figcaption></figure>

***

### Importing Samples

<figure><img src="https://540871446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVJV84grXWXSLppsAzVKx%2Fuploads%2FasnjOyZ8lG6AVloF4yWs%2Fimage.png?alt=media&#x26;token=9ba1cf97-f707-40c4-a1df-837a0aa126e9" alt=""><figcaption></figcaption></figure>

#### Device Sync Sample

1. Open **Package Manager** and select **MOTAR SDK** under **Dynepic**.
2. Click on **Samples**.
3. Find **Device Sync** and click **Import**.
4. Navigate to `Assets/Samples/MOTAR SDK/<current version>/Device Sync/Scenes`.
5. Open the **MOTARDeviceSyncAndAuthentication** scene.
6. When prompted, click **Import TMP Essentials**.

#### Avatar Sample

1. Open **Package Manager** and select **MOTAR SDK** under **Dynepic**.
2. Click on **Samples**.
3. Find **Avatar** and click **Import**.

#### Learn to Fly UFO (URP Only) Sample

1. Open **Package Manager** and select **MOTAR SDK** under **Dynepic**.
2. Click on **Samples**.
3. Find **Learn to Fly UFO (URP Only)** and click **Import**.

***

You are now ready to begin setting up the Unity scene(s).&#x20;

Continue to: [set-up-the-scenes](https://docs.motar.com/welcome/commercial-use-installation-and-setup-tutorial/learn-to-fly-ufo-xr-app-build-tutorial/set-up-the-scenes "mention")
