Without model numbers we can't give you an exact answer.
In general you would connect the stb and bd player to the TV with HDMI.
The TV optical audio output would connect to the soundbase.
Check the manual for how you use the optical audio output. It may have to be turned on, the TV speakers off, and the audio type changed.