You just have to add your family members to your Family Sharing. Basically, you just have to add the Apple ID used on the other devices.
Here's a guide for setting up Family Sharing: https://support.apple.com/en-us/HT201088.
And here's another for Family Sharing and Apple Music memberships: https://support.apple.com/en-us/HT205595