You get a public key and a secret. The secret is shown only once — save it somewhere safe.
Open WhatsApp on your phone → Settings → Linked devices → Link a device
The password guards this page for everyone. Changing it signs out every other browser.