> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect in Brain Studio

> Install Stripe in Brain Studio with your Access Token or by creating an account in Mexico through the guided registration flow.

Connect Stripe to enable the provider in your workspace and make its payment tools available in Brain Studio.

You can install the integration in two ways:

* **I already have an account:** connect with your Stripe **Access Token** (test or production).
* **Create a Stripe account:** guided registration available **only in Mexico**. When you complete it, Brain Studio installs Stripe automatically without asking for credentials.

***

## Before you begin

> [tab] I already have an account
>
> Make sure you have:
>
> * An **active Stripe account**
>
> * Your **Access Token** (`sk_test_...` or `sk_live_...`) for the environment you will connect
>
> * **Webhooks** configured in Stripe Dashboard so Jelou receives payment events
>
> > [!TIP]
> >
> > To get your Access Token and configure webhooks, follow [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/obtener-credenciales.md).

> [tab] Create a Stripe account
>
> You only need:
>
> * To operate in **Mexico**
>
> * To decide whether you will start with **test credentials** or **production credentials**
>
> > [!NOTE]
> >
> > You do not need prior credentials or manual webhook setup. Brain Studio manages the connection when you complete registration in Stripe.

***

## Ways to start installation

You can start installing Stripe from different points in Brain Studio. All paths use the same provider configuration.

> [tab] Jelou Agent
>
> Ask Jelou Agent to add Stripe payments while you build or adjust a flow.
>
> Examples:
>
> * "Add Stripe payments to this flow"
> * "I need to charge with Stripe in this case"
>
> Jelou Agent detects Stripe as an available provider from Marketplace and starts the assisted installation flow.

> [tab] Marketplace
>
> Open **Marketplace**, search for **Stripe** under **Payments & Processing**, or use the search bar.
>
> Then click **Connect** or **Install** to start the installation flow.
>
> ![Stripe in the Marketplace integrations catalog](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-marketplace-catalogo.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=bff7273e09084af54e7da4d74ff680ab)
>
> Stripe available in the Marketplace catalog

> [tab] Payments node
>
> From the **Canvas** toolbar, open the **Payments** node.
>
> Inside the **Payments** node, you will see **Stripe** as an available provider. If it is not connected yet, click **Install** to start the same connection flow used by Marketplace, Jelou Agent, and templates.

> [tab] Templates
>
> Some Brain Studio templates may include payment configuration.
>
> During template creation, Brain Studio may ask you to choose a payment provider and connect Stripe as part of the setup flow.

> [!NOTE]
>
> All installation paths use the same provider configuration. What changes is where you start the flow.

***

## Common installation flow

Regardless of the entry point, the first modal step is the same.

> [!NOTE]
>
> The first modal asks you to choose **Try with Jelou** or **Connect my account**.
>
> * **Try with Jelou:** installs the gateway in [test mode](https://docs.jelou.ai/guides/integraciones/pagos/modo-prueba.md), without an account or your own credentials.
> * **Connect my account:** uses your test or production credentials. Continue with the steps on this page.

**1. Choose account type and environment**

Brain Studio asks whether you **already have a Stripe account** or need to **create one**.

You must also select the connection environment:

* **Test credentials** — for development and QA without real transactions.
* **Production credentials** — for real charges.

> [!NOTE]
>
> The **Create a Stripe account** option shows the **Only Mexico** badge and is available only for merchants in that country.

![Connect Stripe modal step 1 with I already have an account or Create Stripe account Only Mexico and test or production credentials selection](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-conectar-paso1-cuenta-ambiente.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=a6cf9f870221ff74c31c7ab852c9e142)

Step 1: choose account type and connection environment

Click **Continue** once you have completed both selections.

From here, the flow splits based on your choice.

> [tab] I already have an account
>
> **1. Enter your Access Token**
>
> Paste your **Access Token** for the environment selected in the previous step.
>
> The field accepts keys in the format `sk_test_...` (test) or `sk_live_...` (production).
>
> Use the **How to obtain credentials** link in the modal if you need help getting your token or configuring webhooks in Stripe Dashboard.
>
> > [!NOTE]
> >
> > In Stripe, the Access Token corresponds to the **Secret API Key**. Do not use the Publishable Key (`pk_`).
>
> > [!WARNING]
> >
> > The Access Token must match the environment chosen in step 1. If you selected **Test credentials**, use a test token; if you selected **Production credentials**, use a live token.
>
> ![Connect Stripe modal step 2 of 2 with Access Token field to connect the integration](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-byok-paso2-token.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=f47566127b00b86141c772d7bdb4e01d)
>
> Step 2 of 2: enter your Access Token
>
> **2. Confirm connection**
>
> Click **Connect integration**. Brain Studio will validate the token and make **Stripe** available in your workspace.
>
> > [!TIP]
> >
> > If Stripe appears as installed in Marketplace and its tools are available in Canvas, the integration was enabled successfully.

> [tab] Create a Stripe account
>
> **1. Confirm registration link generation**
>
> Brain Studio shows a summary of the registration you will complete in Stripe.
>
> The text varies by environment:
>
> * **Test:** it will help you complete registration to test payments in development.
> * **Production:** it will guide you to validate your production account in Stripe.
>
> If you do not have an account yet, you can create one during registration.
>
> Click **Generate registration link** to continue.
>
> ![Connect Stripe in Mexico modal step 2 of 3 to generate development registration link](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-crear-cuenta-paso2-confirmacion.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=6194aac336a6e1faf80dc2b9508d0619)
>
> Step 2 of 3: confirm registration link generation
>
> **2. Copy or open the registration link**
>
> Brain Studio generates a unique **registration link** for your session.
>
> * Copy the link using the copy button.
>
> * Or click **Open registration in Stripe** to go directly to the form.
>
> > [!WARNING]
> >
> > The link has limited expiration time (approximately 30 minutes). If it expires, restart the installation flow.
>
> ![Connect Stripe in Mexico modal step 3 of 3 with copyable registration link and Open registration in Stripe button](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-crear-cuenta-paso3-link.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=5d1513be484093cf0e1dfb5d3c23ad0c)
>
> Step 3 of 3: copy or open the registration link
>
> **3. Complete registration in Stripe**
>
> On the Stripe screen, complete the requested data (email, phone, and other required information).
>
> During test-mode registration, Stripe may offer shortcuts with test data.
>
> ![Stripe registration screen with Jelou AI branding to verify personal data](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-registro-externo.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=da477f1030db04b49c6c7b8912546116)
>
> Stripe registration: complete your personal data
>
> > [!TIP]
> >
> > When you finish registration, Brain Studio detects that the account is active and **installs Stripe automatically**. You do not need to enter credentials again.

***

## Test vs production credentials

> [!WARNING]
>
> Test credentials do not process real payments. Before going live, you must connect or move the integration using production credentials.

| Path | Test | Production |
| - | - | - |
| **I already have an account** | Access Token `sk_test_...` + webhooks in Test mode | Access Token `sk_live_...` + webhooks in Live mode |
| **Create a Stripe account** | Registration link for development | Registration link for production |

> [!TIP]
>
> If you connected Stripe in test mode, set the node to **Development** when testing your flow. See [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/uso-y-configuracion.md).

***

## Go to production

If you installed Stripe in **development**, you can move to production when ready. The modal asks whether you already have a production account or need to create a new one in Mexico.

**1. Open Go to production**

You can start the change from:

* The Stripe node's **advanced sidebar** in **Canvas** (**Advanced** tab → **Production**)
* The **Stripe** page in **Marketplace**

Both open the same modal.

**2. Choose how to connect the production account**

Select one of two options:

* **Connect existing account:** enter your **production Access Token** (`sk_live_...`). Requires webhooks configured in Live mode in Stripe Dashboard.
* **Connect new account:** complete **additional registration in Stripe** to validate your account. Available **only in Mexico**. Brain Studio generates a new production registration link.

![Stripe Go to production modal with Connect existing account and Connect new account Only Mexico options](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/stripe-pasar-a-produccion.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=807ba044b4920a90b2e3ca399f0de6cc)

Go to production: connect existing account or create new account in Mexico

> [!WARNING]
>
> In production, each transaction costs **\$0.10 USD** per payment, deducted from your Brain Studio balance, in addition to Stripe fees.

**3. Complete the chosen flow**

* **Existing account:** paste your production Access Token and confirm.
* **New account:** generate the link, complete registration in Stripe, and wait for automatic confirmation in Brain Studio.

**4. Confirm the change**

Once completed, the integration runs in **Production**.

***

## Change credentials

* To move from **test** to **production** with the same installation, use **Go to production**.
* To **rotate credentials** or **replace the configuration**, disconnect Stripe and reinstall following the **common installation flow** on this page.

***

## Next step

Once the integration is connected, continue with:

> [card] [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/stripe/uso-y-configuracion.md)
>
> Configure the payment node, environment, and charge experience in your flow.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.