To make setup as smooth as possible, have the following items available:
An internet connection through a Wi-Fi network (you may need the name and password of the network) or cellular data service through a carrier
Your Apple ID and password; if you don’t have an Apple ID, you can create one during setup
Your credit or debit card account information, if you want to add a card to Apple Pay during setup
Your previous iPhone or a backup of your device, if you’re transferring your data to your new device
Your Android device, if you’re transferring your Android content
Link: https://support.apple.com/en-ca/guide/iphone/iph1fd7e482f/ios