> For the complete documentation index, see [llms.txt](https://sdk-doc.tyrads.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk-doc.tyrads.com/unity/installation.md).

# Installation

### Install External Dependency Manager for Unity

The SDK depends on External Dependency Manager for Unity (EDM4U) for automatic resolution of native Android/iOS dependencies (e.g., Google Play Integrity libraries).&#x20;

If EDM4U is not already present in your project, install it before building.&#x20;

#### Option A: Install via package manager&#x20;

1. Open `Edit` -> <kbd>`Project Settings`</kbd> -> <kbd>`Package Manager`</kbd>&#x20;
2. Add a new **Scoped Registry** (or edit the existing OpenUPM entry) -&#x20;
   * Name: **package.openupm.com**&#x20;
   * URL: \*\*<https://package.openupm.com**&#x20>;
   * Scope(s): **com.google.external-dependency-manager**&#x20;
3. Click Save or Apply&#x20;

#### Option B: Install via OpenUPM&#x20;

1. Install OpenUPM CLI (if not installed):\
   &#x20;`npm install -g openupm-cli`&#x20;
2. 2\. In your Unity project folder, run:\
   `openupm add com.google.external-dependency-manager`&#x20;

#### Option C: Install via Git URL&#x20;

1. Open **Package Manager**.&#x20;
2. Click on the **+** icon on the top left corner of the "**Package Manager**" screen&#x20;
3. Click on "**Install package from git url...**"&#x20;
4. Paste:\
   `https://github.com/googlesamples/unity-jar-resolver.git?path=upm`

### Install TyrAds Unity SDK

The **TyrAds Unity SDK** available from a Git URL. To install:

1. Open the ***Package Manager*** window in Unity, if it’s not already open.
2. Open the ***Add (+)*** menu in the Package Manager’s toolbar.
3. Select ***Install package from git URL*** from the install menu.
4. Enter a Git URL in the text box.&#x20;

   `https://github.com/tyrads-com/tyrads-unity-sdk-package.git`
5. Select \`***Install***\`.

If you want to check for updates and update **TyrAds Unity SDK** dependency to the latest version from the repository, click ***Update*** in the ***Package Manager*** window.

<figure><img src="/files/HYSU8gKKSepV2HY47CJD" alt=""><figcaption></figcaption></figure>

To explore how to use the TyrAds Unity SDK, import the Demo example from the package’s Samples section in the Unity Package Manager. To run a Demo scene, please add a valid credentials from our CRM.&#x20;
