Yes we need model number of sound bar and tv.
Typically though you use an optical cable to connect and if the tv doesn't support optical then you need an audio box of some kind that all of your devices connect to for audio and that will connect to the sound bar and any additional speaker for surround sound.