How self hosted work?

I just wonder how self hosted work, how my for example firefox extension knows where is my self hosted installation ? Does Firefox extension support some config to set external (self hosted) address ? or its get that information from own cloud when I register users on self hosted machine ?

See here:
https://help.bitwarden.com/article/change-client-environment/