You can either use Bluetooth or the line in with a line in adapter connected to one speaker.
Thank you for the replies and the information was very helpful. Using Airplay was easy and generates the best sound quality. However the mac keeps switching back to the mac speaker. Not a big problem. If there’s something that I’d like to listen to via the Sonos speakers it just takes a couple clicks to connect. The in line connection did not work well. The sound quality and volume were weak. I have not tried blue tooth but I plan to experiment with that soon. Thanks again for the help!