A small flashlight might be handy to illuminate the dark corners behind the receiver and television.
Before connecting any cables, double-check all equipment has been turned off.
Locate the analog or digital audio output jack on the television.

Miguel Co / Lifewire
For digital sound, locate theoptical digital outputor HDMI OUT port.
Locate an unused analog audio input on your stereo receiver or amplifier.
Most likely the input on the stereo or home theater receiver is an RCA jack.
For digital connections, locate an unused optical digital or HDMI input port.
If you ever need to adjust connections in the future, this will eliminate a lot of guesswork.
Once everything is plugged in, turn on the receiver/amplifier and television.
check that the volume on the receiver is at a low setting before testing the connection.
go for the correct input on the receiver and turn the volume up slowly.
Your TV and speakers should be properly wired together now.
Some surround sound systems use wireless connections to reach other speakers in the room.
reach out to the manufacturer of the speakers for specific steps on connecting the wireless speakers to the soundbar.
If the switch is disabled, no sound is allowed through to the speaker system.
Re-check all the cables by unplugging them and pressing harder this time to be sure they snap into place.
If the volume of the speakers is turned up, properly attaching the audio cables should make a sound.