You just need to tell Memmy the url of the instance your account is on.
So if you have a Lemmy.world account, you put Lemmy.world as the and the username and password you use to sign I to Lemmy.world.
Memmy doesn’t run any Lemmy website. It just knows how to sign into any Lemmy instance.