Hand-me-down hardware is a rite of passage for even the most hardened of technology fans, so there may be times where a child receives an old iPhone, iPad, or iPod touch. Here’s how to create them their own Apple ID and add it to your family.

Apple IDs are vital for helping Apple and apps differentiate between users, and an Apple ID is necessary for making App Store purchases and signing up for iCloud. Both of those things are pretty integral to using an iOS device, so even if you’re handing an old device to a child, they’re going to need an Apple ID to really use it. Don’t leave your Apple ID signed in for them—that’s just asking for trouble.

Once you’ve successfully created a new Apple ID for your child, you can link it to your “family,” meaning you’ll have control over it and any App Store payments will be processed via your method of choice.

With that said, here are the steps you need to follow.

How to Create an Apple ID for a Child

To start, open the Settings app and then tap on your name at the top of the screen.

Next, tap “Family Sharing” to enter the screen where you can manage all of the accounts associated with a parent’s Apple ID.

Tap “Add Family Member” and then tap “Create Child Account.”

The next screen explains that you will be guided through creating a new child’s account and that it will automatically be added to your family. Tap “Next.”

On the next screen, enter your child’s birthday and then tap “Next.”

The next screen displays the Parental Privacy Disclosure. Read it, and if you agree, tap “Agree.”

The next screen prompts you to enter the security code (CVV) of the card that’s associated with your own Apple ID. If you don’t have one, you’ll be prompted to add one. Tap “Next” when done.

Enter your child’s name and then tap “Next.”

Now you can enter a username that will be used for the child’s iCloud email address. Enter a unique name, and then tap “Next.”

The next few screens will prompt you to choose three security questions and provide answers. These will be used to unlock an account if you lose the password, so make sure you select something both you and your child will remember.

When you’ve chosen your three questions and entered answers, you will be asked whether you want purchases to require approval from you before they are processed. We’d suggest turning it on.

Finally, review the Terms and Conditions and then tap “Agree” to complete the process.