# Stripe

1. **Create a Stripe Account**: If you don't already have one, go to [stripe.com](https://stripe.com/en-de) and [create an account.](https://docs.stripe.com/get-started/account)
2. **Get API Keys**: Navigate to the "Developers" section in your Stripe account and copy your API keys. You'll need these keys to connect Stripe to your Bubble app.

<figure><img src="/files/qjvS9QbweuiDe4pUy4rk" alt=""><figcaption></figcaption></figure>

If you would need to set up a Marketplace format within your application, where buyers and seller can handle payments you will need to setup [Stripe Connect](https://docs.stripe.com/connect).

1. Go to Connected accounts tab, complete all the steps to register your platform&#x20;
2. Go to Settings -> Connect -> Onboarding options

<figure><img src="/files/2SiqqnSWGOzyxCc5DkSZ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/O5zqjqqqUVoRNG32W1R1" alt=""><figcaption></figcaption></figure>

3. Copy the `Client ID`

<figure><img src="/files/lhaSSERAz8vb8dDRWsOp" alt=""><figcaption></figcaption></figure>

4. Install Redirect URL.&#x20;

```
https://bubble.io/poststripeauth
```

<figure><img src="/files/H3tdCsRRNBfFz1BrG5ES" alt=""><figcaption></figcaption></figure>

## Plugins Tab in Bubble editor <a href="#fad7916e65674d6894b09c1e7f101ef4" id="fad7916e65674d6894b09c1e7f101ef4"></a>

Go to Plugins Tab within your Bubble editor. Open Stripe Plugin

<figure><img src="/files/EKVCehCe7RxfghgTGsgH" alt=""><figcaption></figcaption></figure>

Paste `Client ID`, `Secret key` and `Publishable key` from your Stripe Dashboard.

<figure><img src="/files/1ZyaAg9LJ0DVVrHQodkg" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mind-for-apps.gitbook.io/templates-documentation/stripe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
