how to use Xbox One on laptop

Solution
If you want to use the laptop as a display for the Xbox One, then you basically can't. Laptops only have video out (HDMI / DisplayPort), not video in.

The only laptops I am aware of with HDMI in are modern Alienware laptops.