# Conexión con un botón

## **Mostrar como un botón**

<div data-with-frame="true"><figure><img src="/files/f6c83bfc7e4342747c7173fd974cd58856966b0f" alt=""><figcaption></figcaption></figure></div>

De forma predeterminada, el **"Mostrar como botón"** interruptor en la configuración de la conexión está **desactivado**.

Para crear botones usando la conexión, activa este interruptor e introduce el texto que quieres que aparezca en el botón en el **Disparador de conexión** campo.

Esto funciona solo en mensajeros que admiten botones.

{% hint style="info" %}
Solo **botones del teclado** pueden crearse usando la conexión
{% endhint %}

Paso 1. Ve a la configuración de la conexión y especifica el disparador:

<div data-with-frame="true"><figure><img src="/files/fdb9ef5493c9e26866fb89f0012ddc97d94d2d35" alt=""><figcaption></figcaption></figure></div>

Paso 2. Activa la opción "Mostrar como botón":

<div data-with-frame="true"><figure><img src="/files/39e288e70e00e094b0d2ab06e4e46df577352f92" alt=""><figcaption></figcaption></figure></div>

Paso 3. Repite el Paso 1 y el Paso 2 si quieres mostrar otras conexiones como botones:

<div data-with-frame="true"><figure><img src="/files/888f99b2ce9553ee9f78a35fd68ef923c27fbe6c" alt=""><figcaption></figcaption></figure></div>

Paso 4. Prueba el bot:

<div data-with-frame="true"><figure><img src="/files/415145903c500977eea253ead3592bff13cf448b" alt=""><figcaption></figcaption></figure></div>

¡Listo!\
¡Las conexiones en bloques ahora se muestran como botones!

<div data-with-frame="true"><figure><img src="/files/2ed3967fb7bd2edd88e94f72f6bb3341d84474f6" alt="" width="563"><figcaption></figcaption></figure></div>

**Número de línea y posición en la línea:**\
Los botones creados usando conectores se muestran, de forma predeterminada, verticalmente uno debajo del otro.\
Usando este campo, puedes cambiar el número de línea para mostrar el botón creado por la flecha.\
La numeración comienza en 0:

<div data-with-frame="true"><figure><img src="/files/d7cb430b723dac7400b29c68001e180f54a35d9e" alt=""><figcaption></figcaption></figure></div>

**Color del botón:** Si es necesario, puedes especificar el color del botón — esto funciona en Viber. Puedes seleccionar cualquier color de botón — haz clic en el **"Cuentagotas"** icono para abrir la paleta de colores.


---

# 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://docs.mavibot.ai/doc/es/chatbot/builder/conexiones/buttons.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.
