Is there an Astro integration or npm package for Mewdesk?
No, and you don't need one. The install is one script tag in your layout, with no integration to add to astro.config and nothing to import.
Install guide
Paste one script tag in the layout your pages share and every page gets the chat. Add is:inline so Astro ships the tag as written instead of bundling it.
No credit card needed · Free for 21 days
Where it goes
The snippet is the same on every platform: one script tag just before the closing body tag. These steps show where that is on Astro.
Add your website under Websites, using the domain you are installing on, and copy the snippet from its Embed code page. It has your site ID filled in; the one shown here uses a placeholder.
In Astro's starter templates it is src/layouts/Layout.astro, the component that renders <html> and <body> around each page's <slot />. Every page that uses the layout gets the chat.
Astro processes and bundles the <script> tags it finds in components by default. The is:inline directive tells it to leave this tag exactly as written, so the browser loads widget.js as a plain async script and the loader can read data-site-id from its own tag.
The chat bubble shows on every page that uses the layout, whether you build a static site or render on the server with an adapter. The widget needs nothing from your server.
Good to know
What you get
The widget lives in its own iframe, so it looks and works the same on Astro as everywhere else.
That is the whole install. No npm package, no build step, no plugin to keep updated.
Visitors see your answer the moment you send it, without refreshing. Your team replies from one inbox.
When nobody is online, visitors leave their email and a message, and the chat picks up where it left off.
No IP addresses, no fingerprinting, no third-party scripts. A name, an optional email and the conversation.
FAQ
Questions people ask before adding live chat to a Astro site. For everything else, the general FAQ has the rest.
No, and you don't need one. The install is one script tag in your layout, with no integration to add to astro.config and nothing to import.
Astro bundles and optimizes <script> tags by default. is:inline opts this tag out, so it ships to the browser exactly as written: a plain async script whose data-site-id the loader reads from its own tag.
Yes. The widget runs in its own iframe outside your components, so React, Vue, Svelte or Solid islands hydrate as usual and your styles never clash with the chat.
Also installing on
Paste the snippet, answer your first visitor. The first 21 days are on us, with no card needed.