Question: how to connect iphone x to wifi during setup?
Answer: Tap Settings from the Home screen.
Tap Wi-Fi.
Tap the Wi-Fi switch to enable the feature.
Set up or select the wireless network you want to use.
All available Wi-Fi networks within range of your iPhone X will be shown after enabling Wi-Fi. ... 
If prompted, enter the network password then tap Join.