First create a secret and associate it with a user
Next create a QR code and let the user scan it: