For pairing Samsung soundbar and sub, you can use both a manual and an automatic mode.
Consider a manual connection since, in automatic mode, you just need to turn on both devices.
The first thing to do is to connect the power to both the soundbar and the subwoofer.
Further, on the rear panel of the subwoofer, near the lower right corner, find the ID SET button and press it. Keep pressing the button until the standby indicator turns off and the connection indicator flashes blue.
The next connection step is to set up the soundbar while it is in standby mode. Take your remote and find the Mute button. Press it and hold it until ID SET appears on the soundbar display.
The last thing in connecting the Samsung soundbar to a subwoofer is to turn on the soundbar. The subwoofer and soundbar will be connected.