when logging into a new client you enter your nip05 and then get a prompt from your signer. behind the scenes there is a nip46 section in .well-known/nostr.json which lists nip36 relays for each pubkey.