Install the live chat widget on Astro
XACUBE puts a live chat widget on your Astro site, so your live agents can answer visitors the moment they ask, from one shared inbox. The free plan covers one agent.
- Paste this in your shared layout,
src/layouts/Layout.astro, just before</body>. Keepis:inline. - Publish your site. The chat appears on every page.
<script is:inline src="https://chat.xacube.chat/w.js" data-key="YOUR_PUBLIC_KEY" async></script>
Replace YOUR_PUBLIC_KEY with your own key. In your panel, open your website and this code is shown with your key already in it.