- Log in to Stripe Dashboard
- Navigate to Developers in the left sidebar
- Click API keys
- You’ll see two types of keys:
- Test mode keys (for development): Toggle “View test data”
- Live mode keys (for production): Toggle off “View test data”
- Locate the Secret key (starts with
sk_test_orsk_live_) - Click Reveal live key token or Reveal test key token
- Copy the secret key