The soundbar can take an audio source from HDMI and optical,
Your Vizio tv can send audio to the soundbar via its optical port or the HDMI #1 port labeled "audio out (ARC)"
If audio is sent to the soundbar via the HDMI port then the tv can also control the volume of the soundbar.