Depending on the type of sound bar there may be many ways to connect to the TV.
The most popular connections are:
1. AV OUT(white & red socket) from the TV to the AV IN(white & red socket) of the Soundbar.
2. Using the headphone out connection on the TV to the headphone in connection of the Soundbar.