Documentation
In production you copy the snippet from the dashboard (https://hostly.org.es/app). This is the v1 widget contract.
Install the chat
Paste this before </body> on your website:
<script src="https://hostly.org.es/widget.js" data-tenant="TU_ID" data-api="https://api.hostly.org.es" async></script>
Attributes
data-tenant— the business’s public identifier, never the internal id.data-api— API origin. Locally:http://127.0.0.1:8000.data-locale— optional. If it is missing, the visitor’s language is detected (not done yet).
Local
Widget at
http://127.0.0.1:4174/src/widget.ts.
Business panel:
http://127.0.0.1:5173.
Test tenants:
demo (La Terraza), otro (Clínica Norte),
sandra (Estetic.pro).