> For the complete documentation index, see [llms.txt](https://docs.coherence.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherence.io/0.8/get-started/install-coherence.md).

# Install coherence

## Install Video Tutorial

{% embed url="<https://www.youtube.com/watch?v=Rh0zeAdQ9bY&ab_channel=coherence>" %}

## Unity Package Manager

{% hint style="info" %}
**coherence** only supports **Unity** at the moment. **Unreal Engine** support is planned. For more specific details and announcements, please check the [Unreal Engine Support](/0.8/additional-information/unreal-engine-support.md) page. For custom engine integration,[ please contact our developer relations team](mailto:devrel@coherence.io).
{% endhint %}

### 1. Add a scoped registry

First, open `Project Settings`.

![](/files/-MYqSyLVi_zymArawu62)

Under `Package Manager`, add a new Scoped Registry with the following fields:

* Name: `coherence`
* URL: `https://registry.npmjs.org`
* Scope(s): `io.coherence.sdk`
* Enable Preview / Pre-release Packages: `checked`
* Show Dependencies: `checked`

Click `Apply`.

![](/files/-MYqHGV-u9jEG_95oR5M)

### 2. Find and install the coherence package

Now open the `Package Manager`.

![](/files/-MYqT7z20MbGcrJRKeKT)

Click `Packages` and `My Registries`.

![](/files/-MYqMQ5sD5d0Frx6WEzv)

Under `coherence`, click `Install`.

![](/files/-MYqMWvLDDGHwS258ArC)

## Alternative Method: Edit *manifest.json* manually

If you want to install **coherence** manually, go to the folder of your project and open the file `/Packages/manifest.json`.

Copy paste the lines surrounded by comments that look like this:`/* comment */`.

```javascript
{
  "dependencies": {
    "com.unity.collab-proxy": "1.3.9",
    "com.unity.ide.rider": "2.0.7",
    "com.unity.ide.visualstudio": "2.0.7",
    "com.unity.ide.vscode": "1.2.3",
    "com.unity.test-framework": "1.1.24",
    "com.unity.textmeshpro": "3.0.1",
    "com.unity.timeline": "1.4.6",
    "com.unity.ugui": "1.0.0",

    /*** ADD THIS START ***/
    "io.coherence.sdk": "0.7.0",
    /*** ADD THIS END ***/
        
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }, /* add this comma if not already present */
  
  /*** ADD THIS SECTION START ***/
  "scopedRegistries": [
    {
      "name": "coherence",
      "url": "https://registry.npmjs.org",
      "scopes": [
        "io.coherence.sdk"
      ]
    }
  ]
  /*** ADD THIS SECTION END ***/
  
}
```

{% hint style="info" %}
The Unity docs have information about [scoped package registries](https://docs.unity3d.com/Manual/upm-scoped.html).
{% endhint %}

When you install the **coherence** Unity Package, all the services for the SDK are installed in the background as well.

You will then see this package in the Package Manager under "My Registries".

![](/files/-MYqQWj0ITHjkLJ6vmpM)

The **coherence** SDK has some dependencies on other Unity packages you can see in the image above. If you're already using these in your project, you might have to adjust their version number (Unity will tell you about this).

When you successfully install the coherence SDK you'll get this quickstart winodow pop-up and you'll be good to go.

![](/files/-MaDrseNnfxOUtA0eguF)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.coherence.io/0.8/get-started/install-coherence.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
