---
title: Stripe API Key Setup
slug: stripe-api-key-setup
description: Learn how to set up a restricted API key in Stripe with specific permissions and securely share it with Butter Payments for integration. 
docTags: 
createdAt: 2024-02-23T17:37:01.531Z
---

:::hint{type="warning"}
The following instructions are exampled on Stripe "Test Mode" but the process for provisioning production keys is the same.
:::



## Step 1: Navigate to the Stripe API Keys Dashboard

[https://dashboard.stripe.com/test/apikeys](https://dashboard.stripe.com/test/apikeys)

![](https://api.archbee.com/api/optimize/KC9cS61afQF1PMLFYj2ra/ESBMUdp_Y2MVHAEPohtSa_apikeysstep1.png)

## Step 2: Create Restricted Key

[https://dashboard.stripe.com/test/apikeys/create](https://dashboard.stripe.com/test/apikeys/create)

### Permissions to Grant

- **PaymentIntents: `Write`**
- **PaymentMethods: `Write`**

![](https://api.archbee.com/api/optimize/KC9cS61afQF1PMLFYj2ra/CljpsJyIvCW9eyUN1Lfm1_dashboardstripecomtestapikeysipad-pro-3.png)

![](https://api.archbee.com/api/optimize/KC9cS61afQF1PMLFYj2ra/c-BExGITCnAgTSCl9QR_k_image.png)

## Step 3: Securely Share Keys with Butter

The key is generated. Copy the key to your clipboard to prepare to share it with Butter in whatever secure method is preferred. We recommend OneTimeSecret if you don’t have an alternative secure messaging system in place.

**Instructions for sharing via OneTimeSecret:**

1. Navigate to [onetimesecret.com](https://onetimesecret.com/)
2. Paste the key in the message box, and use `Butter_Key` as your passcode.
3. Select Create a secret link.
4. Once the secret is created, **do not open** the link: it is a one-time use link that will expire after it is opened.
5. Copy the secret link and send the link via email to [support@butterpayments.com](mailto\:support@butterpayments.com), where the key will be accessed and stored securely.

