Model numbers would help us help you.
If you can make the audio connection between the TV and soundbar then it should be a matter of selecting that input on the soundbar, turning off the TV speakers, and setting the TV audio output to be compatible with the soundbar.