When you purchase a device online, you'll be asked to pick a phone number before or during checkout, here you can either transfer your existing number or choose a new one.