Need help wiring Xbox One audio to Reciever

Solution
Hook the xbox to the tv via hdmi. Using a digital audio (toslink) cable, connect the digital audio out from the tv to the digital audio in on the receiver.