How to find your Stripe API keys?
Prerequisites
- An active Stripe account
- Admin access to your website
- Ensure you’re in Live Mode (not Test Mode) for real transactions
Step 1: Access Your Stripe Dashboard
- Log in to your Stripe account at dashboard.stripe.com
- Verify you’re viewing the correct account (especially if you have multiple)
Step 2: Locate API Keys Section
-
Click on Developers in the left sidebar
-
Select API keys from the dropdown menu
Step 3: Retrieve Your Keys
-
Publishable key: Used for client-side implementation
-
Secret key: Used for server-side integration (keep this private!)
-
Optionally create restricted keys for enhanced security
Step 4: Implement Keys in Your Website
-
Copy each key carefully (they’re case-sensitive)
-
Paste into your website’s payment gateway settings
-
Test transactions in Test Mode before going live
Security Best Practices
-
Never share your secret key publicly
-
Rotate keys periodically
-
Use IP restrictions if available
-
Monitor API usage regularly
Video Walkthrough
Troubleshooting Tips
-
If keys don’t work: Verify you copied the entire string
-
Check you’re using the correct mode (Test vs Live)
-
Contact Stripe support if issues persist






