Solved! Connect Samsung Smart TV sound to LG Home Thietre

Generic answer would be to use the optical or HDMI-ARC jack on the TV to the soundbar.
If the TV and soundbar don't have compatible audio output and input you would need an active converter.
Check the TV manual on how to turn on and configure the audio output.