Once you sign up to the public beta you’ll be able to use Apple Music’s features, such as custom playlists through For You and New as well as playing any music from your entire catalogue.
There are some known issues, since it’s a beta. Search will only return 100 results, you can’t listen to archived shows from Beats 1 and there is no support to add songs to your Apple MUsic library within Sonos’ apps, though it’s planned for the future.
To get on the beta, head over here, sign in to your account and opt in to get instant access.
➤ Sonos + Apple Music [Sonos]