Question: how to connect iphone to family apple music?
Answer: Go to Settings > [your name] > Family Sharing. ... 
Tap Add Family Member.
Enter your family member's name or email address and follow the onscreen instructions.
If you're using iOS 11 or later, choose whether you'd like to send an invitation via Messages or to invite them in person.