Go to the Battle.net website for your country or region and register an account there. That account is what you use to log into Warcraft and its expansions.
An email address you can access, since verification and password recovery both run through it, and a password you are not using anywhere else. Battle.net accounts are a persistent target for credential stuffing, so a unique password plus the optional authenticator is genuinely worth the small inconvenience.
Once the account exists, you link your game licence to it. Retail keys are entered on the account management page; digital purchases attach automatically. From there the desktop app handles installation and patching.
If you already had an older account from the classic era, it can usually be merged rather than replaced, which preserves your characters and purchase history. Use the account merge option instead of creating a second one.