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