# Website-Integration

## aiaibot Skript-Tag hinzufügen <a href="#aiaibot-skript-tag-hinzufugen-0-0" id="aiaibot-skript-tag-hinzufugen-0-0"></a>

Nachdem Sie Ihre [Domains für Ihre Websites konfiguriert](/chatbot/integration/domains-konfigurieren.md) haben, können Sie den aiaibot Skript Tag zu Ihrer Website hinzufügen, um den aiaibot Chatbot einzubinden. Den Skript Tag finden Sie unter **Einstellungen -> Chatbot** im Bereich **Website-Integration**.

Bitte fügen Sie den Skript Tag wie im folgenden Beispiel direkt vor dem closing-body-tag `</body>` auf Ihrer Website hinzu.

{% code fullWidth="false" %}

```html
<html>
 <head>
    <title>Your Website</title>
 </head>
 <body>
    <!-- ... -->
    <script type="text/javascript" src="https://chat.aiaibot.com/bootstrap.js" data-aiaibot-key="<your-key>" defer></script> 
 </body>
</html>
```

{% endcode %}

## Content-Security-Policy (CSP) anpassen <a href="#content-security-policy-csp-anpassen-0-1" id="content-security-policy-csp-anpassen-0-1"></a>

Falls benötigt, fügen sie die aiaibot Domains in Ihrer Content-Security-Policy (CSP) hinzu:

```
frame-src *.aiaibot.com
default-src *.aiaibot.com
```


---

# 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://help.aiaibot.com/chatbot/integration/website-integration.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.
