How to test the widget locally before deploying

You don't need to push to production to verify your widget works. The recommended way to test:

1. Add localhost to allowed domains

In your dashboard → Site → Allowed domains, add a line:

localhost

Remove it again after launch.

2. Use any static server

From a folder containing your HTML:

python -m http.server 8000

Open http://localhost:8000 in a browser. The widget should appear.

3. Test AI auto-reply

Send a message. If the bot replies within 4 seconds, the widget is wired up. If not, open the browser console — every widget error is logged with the prefix [247ch.at].

4. Test operator pickup

Open the operator desktop app (or dashboard.php in another tab), and send a manual reply. The widget should receive it instantly via WebSocket.


Still stuck? Email support@247ch.at or open a ticket.