Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-chat.die-coaching-akademie.de/llms.txt

Use this file to discover all available pages before exploring further.

The customer website does not need backend code. It only loads the hosted script.

Minimal snippet

<script
  src="https://chat.die-coaching-akademie.de/static/chatbot.js"
  data-title="Fragen zur coachingakademie"
  data-subtitle="die coachingakademie"
  data-toggle-label="Frage stellen"
  defer
></script>

Optional configuration

<script
  src="https://chat.die-coaching-akademie.de/static/chatbot.js"
  data-api-base="https://chat.die-coaching-akademie.de"
  data-title="Fragen zur coachingakademie"
  data-subtitle="die coachingakademie"
  data-toggle-label="Frage stellen"
  data-greeting="Hallo. Hier bekommst du Antworten zu Ausbildungen, Workshops, Infoabenden, Anmeldung und Kontakt."
  data-privacy-text="Bitte keine vertraulichen oder sensiblen Daten eingeben."
  data-quick-replies="Ausbildungen::Welche Systemischen Ausbildungen gibt es?|Infoabend::Wann ist der nächste Infoabend?|Anmeldung::Wie kann ich mich anmelden?|Kontakt::Wie nehme ich Kontakt auf?"
  defer
></script>

CORS

ALLOWED_ORIGINS must include the customer website origins:
ALLOWED_ORIGINS=https://www.die-coaching-akademie.de,https://die-coaching-akademie.de

How the script works

1

Find script configuration

static/chatbot.js reads data-* attributes from the script tag.
2

Load CSS

It loads chatbot.css from the same service origin unless data-css-url is provided.
3

Render widget

The script injects widget markup into document.body.
4

Send messages

The widget posts to ${apiBase}/chat with message, recent history, and compact state.
The widget keeps only a short client-side conversation history for follow-up context. The server does not store full chat sessions.