The only prerequisite is having both your PC and Xbox connected on the same home network and having the Xbox app on your PC.
The Xbox app sports a new feature called game streaming with which you can stream your game from your Xbox to your PC or laptop screen. How Can You Stream Games on MAC or PC With The Help of Xbox One Emulator? Is it Even Possible? This software user has practically the same experience as using a real gaming console as the display and graphics will be identical. It allows the system to be as a guest and not as a host. The software can be installed like any other apps on your PC, and the functioning of the computer remains the same as before. In simple terms, it is computer software that impersonates the Xbox one gaming console.