Samsung makes their soundbars so they can be used with as many other brands as possible.
As for the connections that would depend on the model of the soundbar and "box". You might need just a cable. You might need cables and a converter of the correct type,