Connecting sound bar

Solution
If your TV doesn't have an audio output then connecting the cable box audio output to the soundbar directly will work.
Depending on what audio outputs you have on the cable box it seems your soundbar has the correct one.
If the cable box doesn't have any audio outputs then you will need an HDMI audio extractor like this one.
https://www.monoprice.com/Product?p_id=5557&kpid=105557&gclid=CPPY2sLnwcYCFYIXHwodhY0FTw
Use the digital audio outputs for better sound.
If your TV doesn't have an audio output then connecting the cable box audio output to the soundbar directly will work.
Depending on what audio outputs you have on the cable box it seems your soundbar has the correct one.
If the cable box doesn't have any audio outputs then you will need an HDMI audio extractor like this one.
https://www.monoprice.com/Product?p_id=5557&kpid=105557&gclid=CPPY2sLnwcYCFYIXHwodhY0FTw
Use the digital audio outputs for better sound.
 
Solution