> 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/lesson-2/project/what-is-hololens-device-portal.md).

# What is HoloLens Device Portal?

**The Windows Device Portal for HoloLens** lets you configure and manage your device remotely over Wi-Fi or USB. The Device Portal is a web server on your HoloLens that you can connect to from a web browser on your PC. The Device Portal includes many tools that will help you manage your HoloLens and debug and optimize your apps.

## How to setup device portal?

* Turn on your HoloLens device.&#x20;
* Tab your wrist(**HoloLens 2**) or make a bloom gesture(**HoloLens 1**) to initiate Windows menu.

![Windows menu.](/files/-M39XZTAhmPT3JBaBzsx)

* Open the **Settings** > **Update & Security.**

![Update & Security Settings.](/files/-M39Xil8vCn3_8TvS1SB)

* Select **For Developers** tab on the right hand panel.

![For Developers Settings.](/files/-M39Xw-zxp015U-hlTMq)

* Enable "**use developer features**" by toggling on/off button.
* Scroll down at the For Developer settings to enable "**Device Portal**".

![Device Portal Toggle.](/files/-M39ZMHXmHCDBEiPVjN0)

* Go back to all settings page by clicking **"Home"** on the left hand panel and select **"Network & Internet"** settings.

![Network and Internet Settings.](/files/-M39ZeH5aY69tMnQyjcl)

* Select **"Wifi"** tab on the left, if it is not already selected.
* Select the wifi you are **connected** to and click on **"Advanced Options".**

![Wifi Advanced Options.](/files/-M39_AqdgWm7Qn5W1vPr)

* Scroll down and write down the **IPV4 address**.
* You will **type in this IP** address to your browser to reach to your device portal.
* You might see a connection Alert as shown below:

![Your connection is not private alert.](/files/-M39bAMaqSSeatKHw0bS)

* Go ahead and click **Advanced** button and click **Proceed to \<your IP address>(unsafe).**
* Congrats, you made it to your device portal.&#x20;

![Device Portal.](/files/-M39ibqBBFRSIZMV5iRy)

* Click **Views** on the right hand panel and select **"Live Preview"** to see the camera view of your HoloLens.

![Live Preview on Windows Device Portal.](/files/-M39j3AjjHOj38ND4Jo6)

* You can **turn off PV camera** if you would like to share or record what you are seeing through your HoloLens but do not want to capture your environment.
* You can see the **videos recorded** or **screenshots** you snapped by asking **Cortana** here, on the **Videos and Photos** section, if you **enabled voice commands**.&#x20;

&#x20;


---

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

```
GET https://www.xrdev.app/mixed-reality-docs/lessons/lesson-2/project/what-is-hololens-device-portal.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.
