It's also likely that any reasonably recent TV and soundbar will have optical audio connections, simply connect an optical lead from the TV output to the soundbar input (most TV's no longer have analogue audio outputs).
Another option is HDMI ARC - connect an HDMI lead from the ARC socket on the TV to the ARC socket on the soundbar.
Assuming the TV has analogue out (like I said most don't, and LG don't) you could be it via analogue connections (usually 3.5mm jack to two phonos).