> For the complete documentation index, see [llms.txt](https://docs.gearplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gearplug.io/configura-tus-conexiones/mailrelay/crea-tu-conexion-a-mailrelay.md).

# Crea tu conexión a Mailrelay

{% hint style="info" %}
**Conexión Oauth**: El primer paso es registrar GearPlug en tu cuenta para que GearPlug acceda a los datos.
{% endhint %}

Para crear tu Plug para Mailrelay, necesitarás la URL y un token API. Estos los puedes extraer deste tu cuenta de Mailrelay siguiendo las instrucciones abajo:

### Configura el acceso

1. **Dirígete a “Plugs”** en la parte superior derecha de tu interfaz de GearPlug.

<figure><img src="https://lh7-us.googleusercontent.com/mhsVnaBnkdychhe0rJFkyWtZ7xMmJCOW_-CEwwOrRi92ueg0Kj4oATtfG-ieaVPgAHSB2zM30x_5DkS22jLG_Jkhkn3PVAl5LX8kPSbR9JviJpItJ7n742tUB5GKAVwMqPXU9szheDkoQZ5qgt-Giw" alt=""><figcaption></figcaption></figure>

2. **Selecciona Mailrelay** en el menú desplegable debajo de “Nuevo Plug” y haz clic en “Crear”.

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

3. **Dirígete a tu interfaz de Mailrelay** y haz clic en “API keys” en el menú desplegable a la izquierda.

<figure><img src="https://lh5.googleusercontent.com/8JTEzzCpV95-Bz9ZtDsnH8cg5nZNsx7GUlXjNhwXoFBOPsIdgImnUth8c2RuoGzEd-1ApUiOgFE_dnfaEv0txEbUM6tURqeCvZTsiDaaazXTIuR5Sn_Hb37zHN7r1FelhciN5Sub9-Az-5jL8Lub_w" alt=""><figcaption></figcaption></figure>

4. **Haz clic en “+ Add”**. Esto te llevará a seleccionar un usuario para el token API. Selecciona el usuario que deseas usar y haz clic en “Create API key”. Debajo de “Token”, encontrarás el código que necesita.

<figure><img src="https://lh3.googleusercontent.com/AnVj9oVFf3G_6dwoBBJ9I_lPZ1aWYZdkR1S74tJLLRY3diRsVZTGnS9Jym8yHfx7ZKusd9e7tVdj7i5oCK-WIrim2N64N7sB8RE-iCJoHEhwPYjrM9PEa5JsTXI0OwV85HCzT0DPG8kMVqrQQoMMGg" alt=""><figcaption></figcaption></figure>

5. **Copia la URL** de tu cuenta de Mailrelay y el token API que acabas de generar. Pégalos en los campos correspondientes de vuelta en tu interfaz de GearPlug y haz clic en “Agregar”.

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

{% hint style="warning" %}
Al copiar la URL de tu cuenta de Mailrelay, solo necesitas el nombre, extensión, y “.com”. Si copias cualquier otra información, como “https\://” o lo que venga después de “.com”, la conexión te dará un error.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.gearplug.io/configura-tus-conexiones/mailrelay/crea-tu-conexion-a-mailrelay.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
