Help connecting the cables

Solution
Please post up the model numbers of your equipment.
But usually the the basic set up would be: Cable box and dvd player to TV via HDMI, then SPDIF optical connection from tv to sound bar.

K.