> ## 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 Payphone in Brain Studio with your Token, Store ID, environment, and applied VAT.

Connect Payphone to enable the provider in your workspace and make the payment node available in Brain Studio with an embedded **WebView** experience.

***

## Before you begin

Make sure you have:

* An **active Payphone Business account** with at least one active store
* An approved **Access Token** and **Store ID** from Payphone Developer
* The **applied VAT** you will use for the operation

> [!TIP]
>
> To obtain or review credentials, follow [Obtaining credentials](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/payphone/obtener-credenciales.md).

> [!WARNING]
>
> The Access Token and Store ID are only available **after Payphone approves your company request**.
>
> Payphone uses **the same credentials** for test and production. The environment must also match in your **Payphone Developer** application (Test / Production selector).

***

## Ways to start installation

You can start Payphone installation from different points in Brain Studio. All routes use the same provider configuration.

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

> [tab] Marketplace
>
> Open **Marketplace**, search for **Payphone** under **Payments & Processing**, or use the search bar.
>
> Then press **Connect** or **Install** to start the installation flow.

> [tab] Payments node
>
> From the **Canvas** toolbar, open the **Payments** node.
>
> Inside the **Payments** node, you can see **Payphone** as an available provider. If it is not connected yet, press **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 Payphone as part of the setup flow.

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

***

## Common installation flow

Regardless of the entry point, the shared process is as follows.

> [!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. Enter Token and Store ID**

Paste the **Access Token** and **Store ID** from Payphone Developer.

![Connect Payphone modal step 1 of 3 with Token and Store ID fields](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/payphone-conectar-credenciales.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=65d48ab6ed2286d6724cff1207a403a7)

Step 1 of 3: enter Token and Store ID

**2. Choose test or production environment**

Select **Test environment** or **Production environment**.

Payphone does not use different credentials per environment: the Token and Store ID are the same. This step defines the initial mode of the integration in Brain Studio.

![Connect Payphone modal step 2 of 3 with Test environment and Production environment options](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/payphone-conectar-entorno.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=33cd75722f9203d32b01949c886f14d4)

Step 2 of 3: select test or production environment

**3. Configure applied VAT**

Define the **applied VAT** the integration will use.

![Connect Payphone modal step 3 of 3 with applied VAT field](https://mintcdn.com/jelouai/3D3ye1Wdwh66cTgk/assets/images/integraciones/pagos/payphone-conectar-iva.png?fit=max\&auto=format\&n=3D3ye1Wdwh66cTgk\&q=85\&s=848d28ca2342f426345563989dd5d696)

Step 3 of 3: configure applied VAT

**4. Confirm connection**

Press **Connect integration**. Brain Studio will save the configuration and make **Payphone** available in your workspace.

The charge currency is **USD** and appears in the node's **Advanced** tab.

**5. Use Payphone from the Payments node in Canvas**

After installing, you can use Payphone from the **Payments** node in **Canvas**, regardless of whether you started installation from Jelou Agent, Marketplace, the Payments node, or a template.

***

## Credentials and environment

> [!WARNING]
>
> Payphone uses **the same credentials** (Token and Store ID) for testing and production. You do not generate a different token when switching environments.

> [!TIP]
>
> In addition to the environment chosen in Brain Studio, your application in **Payphone Developer** must be set to **Test** or **Production** according to the scenario. If they do not match, the charge may fail or behave inconsistently.
>
> Review the selector in [Obtaining credentials — Test and production mode](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/payphone/obtener-credenciales.md#test-and-production-mode).

***

## Go to production

If you installed Payphone in **test environment**, you can go to production when ready. **Credentials are not requested again**: the Token and Store ID remain the same.

**1. Open Go to production**

You can start the change from:

* The Payphone node's **advanced sidebar** in **Canvas**
* The **Payphone** page in **Marketplace**

In both cases, the same confirmation modal opens.

**2. Confirm the change**

Review the confirmation message and press **Go to production**.

![Payphone Go to production modal indicating current credentials will be kept](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/payphone-pasar-a-produccion.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=18ead0f48ae6060b61842077ec528f58)

Go to production confirmation — current credentials are kept

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

**3. Align Payphone Developer and the node**

Switch your application in **Payphone Developer** to **Production** and verify the node shows **Production** environment in the **Advanced** tab.

***

## Change credentials

* To move from **test** to **production** with the same installation, use **Go to production**.
* To **rotate credentials** or **replace Token / Store ID**, disconnect Payphone 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/payphone/uso-y-configuracion.md)
>
> Configure the payment node and continue the flow based on the WebView payment result.


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