Hello, Zereps!
From your question, I understand that you want to join an Apple family. In order to do that, the host of the family will have to send you an invitation (Using iOS: Settings>iCloud>Family>Add Family Member). Once you get the invitation, you have to press on the link (you might have to sign-in to your Apple ID again). If you have any problems in this process, please let me know.