Open the Apple Music app.

Create a new playlist or open an existing playlist.

At the top of the playlist, tap the Collaborate button. 

Turn on Approve Collaborators to approve those you invite to join your playlist.

Turn off Approve Collaborators to allow anyone with the link to your playlist to join.

Tap Start Collaboration.

Invite others to join your playlist in a message, email, or other option listed.