You need to use oculus link. The official cable is super overpriced at like $80 but you can get a fake one on amazon for very cheap just be careful when getting fake ones.
You do not need Oculus link, you can get virtual desktop.
well yeah but they pretty much function the same
You can also do it wirelessly