You need some internet connection, because your phone downloads the profile from a server. Wifi at home is the simplest.
Your existing mobile data works too, if you still have a working home line.
What does not work is installing with no connection at all. That is the failure people meet at the airport, and it is why we say install before you go.