# Configuring API keys

Once you've installed the Stripe Connect - Marketplace plugin, you will need to add your Stripe API Keys to the input fields on the plugin tab:

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FmZVAvK1zXsfon4osJmln%2FScreenshot%202024-01-08%20at%2011.26.02.png?alt=media&#x26;token=97bcbf7e-df51-45b5-a365-c1ee12c02fe9" alt=""><figcaption></figcaption></figure>

### Video tutorial

The below video tutorial demonstrates how to add the necessary API keys (relevant section is from 3:04 to 4:09):&#x20;

{% embed url="<https://www.youtube.com/watch?t=184&v=E0y0BhuYBX4>" %}

### Instructions

There are 3 keys for the live version of your application:

* API Key
* Stripe Publishable Key
* Stripe Secret Key

and 3 keys for the test version of your application:

* API Key - dev.
* Stripe Publishable Key - dev.
* Stripe Secret Key - dev.

### Dev Keys

To get the '**API Key - dev.':**

* Go the **Developers** section of your Stripe dashboard and click on the '**API Keys**' tab
* Reveal the secret key by clicking on 'Reveal test key'
* Copy the secret key

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FVwSQAEvYmyi3zS2JUOz1%2FScreenshot%202024-01-08%20at%2011.41.29.png?alt=media&#x26;token=84c9ff43-c124-4539-8948-54e8f6b245e4" alt=""><figcaption></figcaption></figure>

* Return to the plugins tab of your Bubble editor and type 'Bearer ' into the 'API Key - dev.' field, then paste in the secret key

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2F9EH8pC77XiwVJZvZ68ai%2FScreenshot%202024-01-08%20at%2011.49.24.png?alt=media&#x26;token=b7f27c83-056a-46c5-a0f4-2420a50ce42e" alt=""><figcaption></figcaption></figure>

* The **Stripe Secret Key - dev.** is simply the secret key from your Stripe dashboard (no 'Bearer ' required)

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2Fa0Vtm7ouUOEPpNMOP3kY%2FScreenshot%202024-01-08%20at%2011.52.04.png?alt=media&#x26;token=9fcb0e5c-7cfc-4a4f-a896-cdb86d7506ad" alt=""><figcaption></figcaption></figure>

* To fill the '**Stripe Publishable Key - dev.**' field, copy and paste the 'Publishable key' from the Developers section of your Stripe dashboard

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2F7Q5GUml0EN8s14Y16NKa%2FScreenshot%202024-01-08%20at%2011.58.51.png?alt=media&#x26;token=5e5e3070-7323-4a9b-bb9b-b2422ca12a8a" alt=""><figcaption></figcaption></figure>

You should end up with something like this after filling out the 3 fields:

<figure><img src="https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2Fu6DjgYGgUwzAkLzR2HXX%2FScreenshot%202024-01-08%20at%2012.00.39.png?alt=media&#x26;token=026df0af-adfd-47a3-aaee-4bee44ed184d" alt=""><figcaption></figcaption></figure>

### Live Keys

To get the 3 live mode keys ('API Key', and 'Stripe Publishable Key', 'Stripe Secret Key'), repeat the steps above, but do so in the live version of your Stripe Dashboard:

![](https://445589018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOYowMYV4NApuJz7Z6lKJ%2Fuploads%2FuaX2ZBTQ48ui6E5sDzmn%2FScreenshot%202024-01-08%20at%2012.03.28.png?alt=media\&token=3491dd66-824c-4160-8951-2e4f82d5961a)
