on the login screen, you have a gear icon on top left corner (at least for the chrome extension), there you can add the custom url for your hosted instance.
It’s a slightly hidden option on the login page.
Thanks a lot. Found it and all worked fine in the end.