Imported from the Apple Support Forums via the Wayback Machine 🔗
A child above the age of 13 can have his/her own Apple ID. Children below 13 you need to create it on your iPhone and then login with the same on the child's iPhone
On your iPhone, iPad, or iPod touch, tap Settings > [your name]. Then tap Set Up Family Sharing > Get Started, then follow the onscreen steps. If you have iOS 10.2 or earlier, tap Settings > iCloud > Set Up Family Sharing, then follow the onscreen steps.