# 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk-doc.tyrads.com/unity/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
