# Unity SDK Setup

### 📦 Step 1: Download the SDK

Get the latest Unity SDK package: [➡️ Download SDK (ZIP)](https://cdn.reneverse.io/sdk/unity/rene-sdk-unity-1.1.7.zip)

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2F7ZXEyk8qzzc5282niHjw%2Fimage.png?alt=media&#x26;token=a37ac722-01e2-48f4-aeef-8e3e2275bbdd" alt=""><figcaption></figcaption></figure>

Once downloaded, locate the **`.zip`** file in your Downloads folder and extract it.

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2FHriVXbSTrch3q6xl1xpa%2Fimage.png?alt=media&#x26;token=4a696791-7c64-44dd-ac15-9e9a6d245e07" alt=""><figcaption></figcaption></figure>

***

### 🗂️ Step 2: Import the SDK into Unity

1. Open your Unity project.
2. In the top menu, go to **`Window`** → **`Package Manager`**.

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2FAj9ZxhuYWpODbQu9FYiF%2Fimage.png?alt=media&#x26;token=291449f9-a5b7-4b6f-8471-9af52faa578b" alt=""><figcaption></figcaption></figure>

3. Click the **+** icon (top-left), then select **`Add package from disk…`**

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2FdSPk2C1EhITYqMJO85Az%2Fimage.png?alt=media&#x26;token=cbc5304b-13fe-4ad9-a8d7-47d8834a95ef" alt=""><figcaption></figcaption></figure>

4. In the extracted SDK folder, select the **`package.json`** file and click **Open**.

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2FTvxcGApeR28wtrS6StTX%2Fimage.png?alt=media&#x26;token=fccb2f30-e3df-41c3-8265-e1648fdb4715" alt=""><figcaption></figcaption></figure>

Once imported, you’ll see **`ReneVerse SDK`** listed in your Package Manager.

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2Fc8tKcXhOzrPda9padxTD%2Fimage.png?alt=media&#x26;token=08bc080b-66d7-4f92-8de0-c1f1a47543d0" alt=""><figcaption></figcaption></figure>

***

### ⚙️ Step 3: Enter API Credentials

To connect your Unity project to the ReneVerse Portal:

1. In Unity’s top menu, go to **`Window` → `Reneverse Settings`**

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2Fy7gy44sv2r1zLq5q1Th3%2Fimage.png?alt=media&#x26;token=080b3df9-f7c6-4191-b4d3-ef64e4acf786" alt=""><figcaption><p>To open ReneVerse SDK window in unity go to Window/ReneVerse Settings</p></figcaption></figure>

2. In the ReneVerse Settings window, enter the **API Key** and **Secret Key** you generated in the Portal.
   1. **`APIKey`** - Your ReneVerse API Key.
   2. **`PrivateKey`** - Your private ReneVerse Secret Key.

<figure><img src="https://2133953908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2R0efebFfiw8qumiNT9v%2Fuploads%2FdErVHxjFmDxfDdnNI29u%2Fimage.png?alt=media&#x26;token=a67f063e-757a-46a8-b51d-bdd04d374c96" alt=""><figcaption><p>Enter your API Key and API Secret into <strong><code>APIKey</code></strong> and <strong><code>PrivateKey</code></strong>, respectively.</p></figcaption></figure>

> 📸 **Screenshot suggestion**: ReneVerse Settings window with both fields visible and API credentials being pasted in.

***

### 🔁 In Case You Forgot

If you haven’t registered your game yet or don’t have your credentials handy, you can do that directly in the Settings window by clicking **`Need to register?`**&#x20;

This will guide you through linking your game to ReneVerse.

> 📸 **Screenshot suggestion**: ReneVerse Settings window "need to register?" highlighted

***

### 🔄 Step 4: Sync Game Assets

Once your credentials are entered:

* Click **`Sync Game Assets`** to pull in any Smart Ad surfaces or Branded Object templates associated with your game.
* You can now access and place these directly in your Unity scene.

***

### 📚 Need Help?

You can always click **`Check Out Our Docs!`** in the Settings panel for quick access to full documentation.

In the next step, [Using Unity SDK](https://docs.reneverse.io/publisher-flow/sdk-integration/unity/wip-using-the-unity-sdk), we'll show you how to define placements, serve ads, and integrate everything directly into your Unity scenes.


---

# 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://docs.reneverse.io/publisher-flow/sdk-integration/unity/unity-sdk-setup.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.
