> For the complete documentation index, see [llms.txt](https://www.xrdev.app/mixed-reality-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-add-mixed-reality-toolkit-mrtk-to-a-project.md).

# How to add Mixed Reality Toolkit(MRTK) to a project?

If you are using HoloLens Seed project, you do not need to follow this step. **Seed project already comes with MRTK**. Still, it's good to know how to import the MRTK assets for your future projects.&#x20;

First, you need to download MRTK by going to their github page: [aka.ms/MRTKGithub](https://aka.ms/MRTKGithub) and navigating to **releases tab**. Scroll down to **Assets** section and download the tools:

* Examples
* Extensions
* Foundation&#x20;
* Tools

![Download MRTK Releases.](https://1227696974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoMjAI1irMPA8c0ezFQ%2Fuploads%2Fgit-blob-4615264347328754cda5743fc9f25ca5dbe28022%2FLesson1-Intro2MR.gif?alt=media)

## Add MRTK assets into your project

In your Unity project, select **Assets tab** and select **Import Package > Custom Package** from the drop down.

Navigate to MRTK downloaded folders to select and import them into your project.&#x20;

Once you have MRTK assets imported, a new tab called Mixed Reality Toolkit will appear in your Unity editor. Navigate to new tab and select **Add Scene and Configure** from the dropdown menu. In your Scene Hierarchy, a new **MixedRealityToolkit** and **MixedRealityPlayspace** dropdowns will appear.&#x20;

![](https://1227696974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoMjAI1irMPA8c0ezFQ%2Fuploads%2Fgit-blob-0b760f9f2b7e7134f1462d88f5dc9a1ef23d1587%2FLesson1-ImportAssets.gif?alt=media)

MixedRealityPlayspace now includes your **Main Camera** and the camera is configured for Mixed Reality applications. Camera background is black to render transparent and **MixedRealityInputModule**, **EventSystem**, **GazeProvider** components are now added to your camera.&#x20;

![](https://1227696974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoMjAI1irMPA8c0ezFQ%2Fuploads%2Fgit-blob-bd2e1d0b7365aff4283376987ff7d9a50774631a%2FmrtkCamera.png?alt=media)

{% hint style="info" %}
You can create a new scene to compare the camera settings that has changed by MRTK.
{% endhint %}

* You might be prompted to select a **configuration**. You can choose the **default MRTK configuration** or if you are developing for an HoloLens device, you can choose the configuration for the appropriate version.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-add-mixed-reality-toolkit-mrtk-to-a-project.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
