You have to use the Sonos Controller app. Unfortunately, you can’t directly control your Sonos from the Apple Music app the way you can if you use Spotify with your Sonos. That way, everyone has access to their own playlists. If someone else has Apple Music (even if they’re part of the same plan) they can add their account by following the exact same steps. Now you’ve got Apple Music set up on your Sonos. When it’s ready, type a name for your Apple Music account (although note that you’ll only use this if someone adds another account at some point), and then tap the “Done” button. It can take a few seconds to add your Apple Music account. Tap the “Continue” button, type your Password, and then tap the “Open” button. The Sonos Controller app send you to the Apple Music app to verify your account.