# Set up a hardware security key for two-step authentication

### Before you start
* Stripe supports most hardware security keys. It’s compatible with any security key that implements FIDO U2F or FIDO2 standards.
* Use a modern browser that supports WebAuthn.
### Set up hardware security key two-step authentication
1. Open the [Personal details page](https://dashboard.stripe.com/settings/user) on the Stripe Dashboard.
1. Under the **Two-step authentication** section, click **Add authentication method**.
1. Select **Add security key**.
1. When your browser prompts you, plug in and tap your security key. The prompt display may look different depending on your browser. 
1. Enter a name for your security key. This helps distinguish it from other security keys if you add more.
1. Write down the backup code shown and store it in a safe place.
At your next sign-in, you can use your hardware security key for two-step authentication.