# Dinaup & n8n

En este artículo se explica paso a paso como realizar una solicitud HTTP desde **n8n** utilizando credenciales de **Dinaup**.

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

{% stepper %}
{% step %}

#### Crear una nueva credencial de tipo Header Auth

1. Abrir la sección **Credenciales** en n8n.
2. Pulsar **Crear nueva** y seleccionar **Header Auth**.

<figure><img src="/files/1FwAj7uYtStM7Zra7Kp1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Rellenar los campos de la credencial

* En el campo **Name**, escribir: `Authorization`
* En el campo **Value**, escribir: `Bearer XXXXXXXXXXXXXXX`

  *(Sustituir por el token Webhook proporcionado por Dinaup)*
* Asigna un nombre en la parte de arriba para identificaro: `Dinaup MiEmpresa`
* Pulsar **Guardar**.

<figure><img src="/files/7UzkHTjO9JcLWQiDmyD7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Agregar un nodo HTTP Request al flujo

* Abrir la configuración del nodo **HTTP Request**.
* En el apartado **Authentication**, seleccionar la credencial creada.
* Configurar la URL, el método y los datos necesarios según el endpoint de Dinaup.

<figure><img src="/files/zBofupMIy7CsmXRKGpi8" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://doc.dinaup.com/integraciones/zapier-make-y-n8n/dinaup-and-n8n.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.
