If you want to set up an eSIM, you need an internet connection, so make sure you are connected to WiFi when you begin this process. To add a data plan, go to Settings > Mobile Data. Depending on the type of phone you have, you may not see these options in your settings.