DeletedUser237
esim requires google account setup afaik, so you should do it after.
You don't need a Google Account to setup eSIM on GrapheneOS:
By default, GrapheneOS has always shipped with baseline support for eSIM, where users can use any eSIMs installed previously on the device. However, in order to manage and add eSIMs, proprietary Google functionality is needed. This is fully disabled by default.
eSIM support on GrapheneOS doesn't require any dependency on Google Play, and never shares data to Google Play even when installed. It won't connect to a Google service unless the carrier uses one themselves.
eSIM support can be enabled in Settings > Network & internet > eSIM support. The toggle is persistent across every boot.
source: https://grapheneos.org/usage#esim-support
There are also some steps available to not lock yourself out in case you'd forget the pin.
There is an open issue related to this:
https://github.com/GrapheneOS/os-issue-tracker/issues/2162
And you might find this discussion helpful if eSIM is of interest and you want to avoid that pitfall:
https://discuss.grapheneos.org/d/9854-gos-phone-unusable-after-forgetting-esim-pin-due-to-google-esim-management