If you only have the soundbar/sub and no additional speakers the receiver serves no purpose. Connect the soundbar to the TV.
If you are trying to use the soundbar/sub with surround speakers then you would connect a speaker to line level converter to the left/right front speaker terminals of the receiver. Connect that to the aux input on the soundbar. Set the receiver speaker menu to front large, center none, rears small, and sub none. Set the volume on the soundbar about 1/2 to 3/4 up. Run the set up on the receiver to balance the rears to the soundbar. Use the receiver to control the overall volume.