> ## 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.

# Obtaining credentials

> Get Wompi's keys and secrets, configure the events URL, and prepare Sandbox or Production credentials to connect Wompi in Brain Studio.

This guide walks you through preparing credentials for testing and production. It also covers configuring the Events URL, which is required so that payment statuses return correctly to your Brain Studio flows.

> [!TIP]
>
> After completing this guide you will have the public key, private key, events secret, integrity secret, and Events URL ready to connect Wompi in Brain Studio.

***

## Before you begin

You need:

* An **active Wompi account**
* Access to the **Wompi dashboard** with permissions to view technical credentials
* Permissions to configure the **Events URL**
* A decision on whether you will connect **Sandbox** or **Production** credentials

***

## Environments in Wompi

Wompi separates credentials by environment:

* **Sandbox:** test environment. Lets you simulate payments without moving real money.
* **Production:** real environment. Processes transactions with real money.

Each environment has its own keys and secrets. Do not mix Sandbox credentials with Production credentials.

| Environment | Public key | Private key | Events secret | Integrity secret |
| - | - | - | - | - |
| Sandbox | `pub_test_...` | `prv_test_...` | `test_events_...` | `test_integrity_...` |
| Production | `pub_prod_...` | `prv_prod_...` | `prod_events_...` | `prod_integrity_...` |

> [!WARNING]
>
> Do not mix credentials between environments. If a single key or secret belongs to another environment, the installation may fail or payment events may not sync correctly.

***

## Part 1 — Prepare Sandbox credentials

In **Development → Developers** you will find the technical credentials for the test environment and the **Events URL** field.

Use this section to copy the Sandbox keys and secrets, and to save the URL where Wompi will notify changes in transaction statuses.

![Wompi dashboard in Sandbox, Development Developers section: Events URL, public and private keys, and Events and Integrity secrets](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-dashboard-sandbox-programadores.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=07436104512b2d77c585790e0f3dd282)

Wompi Dashboard (Sandbox): merchant's technical keys and secrets

**1. Sign in to the Wompi dashboard**

Sign in to the Wompi dashboard with the merchant's account.

**2. Confirm test mode**

Verify that test mode is active. The dashboard should display a Sandbox or test mode indicator.

Only continue if the credentials show test prefixes: `pub_test_`, `prv_test_`, `test_events_`, and `test_integrity_`.

**3. Open Development → Developers**

In the side menu, open **Development** and then **Developers**.

**4. Copy Sandbox keys and secrets**

Under **API keys for technical integration**, copy the **Public key** and the **Private key**.

Under **Secrets for technical integration**, copy **Events** and **Integrity**.

**5. Configure the Events URL**

Under **Transaction tracking**, paste exactly this URL:

```text theme={null}
https://chat-payments.jelou.ai/wompi-webhook
```

Then click **Save**.

**6. Confirm Sandbox configuration**

Verify that the Events URL keeps the Jelou URL after saving and that the copied credentials are all Sandbox.

> [!TIP]
>
> If the Events URL is saved in Wompi, Brain Studio will be able to receive transaction status updates.

***

## Part 2 — Prepare Production credentials

**Production** credentials are prepared from the same **Development → Developers** screen. Confirm that test mode is disabled before copying the keys and secrets.

In this environment you must also save the **Events URL**, so that Brain Studio receives status updates for real payments.

![Wompi dashboard in Production, Development Developers section: Events URL, public and private keys, and Events and Integrity secrets](https://mintcdn.com/jelouai/R4qL5d7Hj6fxJl87/assets/images/integraciones/pagos/wompi-dashboard-produccion-programadores.png?fit=max\&auto=format\&n=R4qL5d7Hj6fxJl87\&q=85\&s=8a6eae29f7ffc0423b7a4aebe69de2a6)

Wompi Dashboard (Production): merchant's technical keys and secrets

**1. Disable test mode**

In the Wompi dashboard, disable test mode to return to the Production environment.

**2. Open Development → Developers**

In the side menu, open **Development** and then **Developers**.

**3. Copy production keys and secrets**

Copy the credentials from the production environment and verify that all values use these prefixes:

* **Public key** (`pub_prod_...`)
* **Private key** (`prv_prod_...`)
* **Events** (`prod_events_...`)
* **Integrity** (`prod_integrity_...`)

**4. Configure the Events URL in Production**

Under **Transaction tracking**, confirm that the Events URL is saved with:

```text theme={null}
https://chat-payments.jelou.ai/wompi-webhook
```

If it is not configured, paste it and click **Save**.

**5. Use production credentials in Brain Studio**

When you switch Wompi to production in Brain Studio, use this complete production set. Do not reuse Sandbox credentials.

> [!WARNING]
>
> Production credentials process real payments. Use them only when your operation is ready to charge.

***

## Use credentials in Brain Studio

When you install Wompi, Brain Studio asks for:

* **Public key**
* **Private key**
* **Events secret**
* **Integrity**
* **Applied VAT**

Use **Sandbox** credentials when connecting the integration in **development/test** mode. Use **Production** credentials when connecting the integration to operate with real payments.

Follow the [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/wompi/conectar-en-brain-studio.md) guide to complete the installation.

***

## Validate credentials by environment

Before pasting credentials in Brain Studio, check the prefixes to confirm that all values belong to the same environment.

> [accordion] Sandbox credentials
>
> Prefixes you will see in the dashboard for the test environment:
>
> * `pub_test_...`
> * `prv_test_...`
> * `test_events_...`
> * `test_integrity_...`

> [accordion] Production credentials
>
> Prefixes you will see in the dashboard for the real environment:
>
> * `pub_prod_...`
> * `prv_prod_...`
> * `prod_events_...`
> * `prod_integrity_...`

> [!WARNING]
>
> Sandbox operations do not move real money. Before going live, use production credentials and confirm that the Events URL is saved in the corresponding environment.

***

## Troubleshooting

> [accordion] How do I test a payment with Sandbox credentials?
>
> To test payments with Sandbox credentials, use the test data published by Wompi for cards, Nequi, PSE, and other methods available in the checkout.
>
> The full step is documented in [Usage and configuration](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/wompi/uso-y-configuracion.md).

> [accordion] I can't find the technical credentials
>
> Verify that you are in the correct Wompi dashboard and that your user has permissions to access **Development → Developers**.
>
> If you don't see the keys or secrets, request access from the Wompi account administrator.

> [accordion] Brain Studio rejects the credentials
>
> Check that you copied the complete values and that all of them belong to the same environment.
>
> Do not mix, for example, a `pub_test_...` key with a `prod_events_...` secret.

> [accordion] The flow doesn't move forward after the payment
>
> Verify that the **Events URL** is configured exactly as:
>
> ```text theme={null}
> https://chat-payments.jelou.ai/wompi-webhook
> ```
>
> Also confirm that you are using credentials from the same environment you configured in Brain Studio.

> [accordion] I'm testing in Sandbox and want to switch to production
>
> You must use production credentials:
>
> * `pub_prod_...`
> * `prv_prod_...`
> * `prod_events_...`
> * `prod_integrity_...`
>
> Then use the **Switch to production** flow in Brain Studio to replace the Sandbox credentials with production credentials.

***

## Best practices

> [accordion] Do not mix environments
>
> Keep Sandbox and Production credentials separate. Always use keys and secrets from the same environment.

> [accordion] Protect secrets
>
> Do not share the private key, events secret, or integrity secret on insecure channels.
>
> If you suspect exposure, rotate the credentials from Wompi and update the installation in Brain Studio.

> [accordion] Validate events before production
>
> Before operating with real payments, confirm that Wompi can send events to the configured URL and that the flow in Brain Studio moves forward through the expected outputs.

***

## Next step

> [card] [Connect in Brain Studio](https://docs.jelou.ai/guides/integraciones/pagos/proveedores/wompi/conectar-en-brain-studio.md)
>
> Install Wompi using the credentials for the environment you will use and define the applied VAT for the integration.


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