dineshsaini
Sorry, I think that my previous answer was not exact. You need a SwissPass login to create an account, but no customer number if you are not a Swiss resident.
However, I suggest not enabling a two-factor authentication with your mobile phone and using a password or passkeys instead.
If you still have problems with your account, ask the SBB Contact Center with this chat (see the link under and ask for a consultant):
https://sbb-tickets.cc/en/help-and-contact/chatbot.html