---
title: How to get Stripe Publishable Key and Secret Key
slug: how-to-get-stripe-publishable-key-and-secret-key
createdAt: 2022-10-04T10:21:05.000Z
---

To get the Publishable Key and the Secret Key from Stripe, you need an account at Stripe ([www.stripe.com](https://www.stripe.com/)).

1. **Open** the following **website** [www.stripe.com](https://www.stripe.com/) and **click** on "**Sign in**".

![](https://api.archbee.com/api/optimize/YOBZ2EMpr4pdOVlZ-gT6a/y-3wo6qBR5sixOs-ieRnP_image.png)

2\. Now that you have **logged in** **to Stripe**, the dashboard opens. In the left menu, first **click** on "**Developers**" and **then** on "**API keys**".

![](https://api.archbee.com/api/optimize/YOBZ2EMpr4pdOVlZ-gT6a/W-HrMKSvJ4rtvrqwD2hQy_image.png)

## Retrieve Publishable Key and Secret Key

3\. Once you have clicked on "API keys", the page with the API keys opens. **Under Standard&#xA0;**&#x4B;eys you will see the **Publishable Key** and above the Secret Key there is a **button** "**Reveal live key token**". Now **click on it** to **display the secret key**.

![](https://api.archbee.com/api/optimize/YOBZ2EMpr4pdOVlZ-gT6a/FUMAtziViDjPiC96kFPwt_image.png)

## Sandbox and Live mode

To switch Stripe to the Sandbox (Test Payments) mode or Live (Real Payments) mode, click on "View test data" in the left menu. Note that Sandbox and Live Mode have different keys.

[](https://www.appinvoice.com/images/content/documentation/stripe/en/stripe-test-data.jpg)

***
