You will get an invitation from your friend. You can locate this by the mail flash icon. after you have accepted the mail, you can unite with your friends in their realm!