# Cómo integrar tu agente de IA en tu sitio web

{% embed url="<https://www.loom.com/share/35a364a8b9e045f380e3fce046301ab6?sid=378ff173-dd90-41c2-a7f3-9fa5953e630e>" %}

### Paso a Paso

#### 1. Accede a la sección 'Publicar' de tu agente ya creado

* Copia y pega en el HTML de tu página web el código que se muestra en la siguiente imagen:

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


---

# 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.dapta.ai/dapta-docs-es/text-agents-legacy/como-integrar-tu-agente-de-ia-en-tu-sitio-web.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.
