I bought my daughter an iphone 5c.Do i set up the Apple id/password first, or buy the plan, then set it up?

I have bought Iphones before. But i didn't set them up. Do i by the plan, usually $40.00 first, then do the Apple id/password? Or vice versa?

When you buy the phone you usually buy the plan with it unless you buy a sim-free phone.

If you buy the sim-free phone, you can set it up which ever way you want. You can insert the SIM card or you can insert it later.

I guess it would make sense to set up a plan on it 1st & then any Apple ID.