How to Add Live Chat and a Help Center to Astro, Webflow, Framer, Shopify, or Next.js

One Script Tag for No-Code & Static Sites, Official SDKs for Apps

Adding live chat to a modern website should not add 600 KB of bloat or require an afternoon of config. Whether you built your site with Astro and an AI coding assistant, designed it in Webflow or Framer, run a Shopify or WordPress (Astra / WooCommerce) store, or ship a Next.js or SvelteKit app, cStar installs in under five minutes.

TL;DR (Updated Nov 30, 2026): Paste one script tag before </body> on any site builder or static framework, or use @cstar.help/react, @cstar.help/svelte, or @cstar.help/js for custom UI. Every cStar feature (shared email, live chat, Help Center, SLAs, webhooks, Bob) is included at $15/seat/month with a 14-day free trial and no credit card required.

The Universal 1-Line Embed

Find your team slug in Settings -> Team -> Install, then drop this line before </body>:

<script src="https://www.cstar.help/cstar.js?team=YOUR_TEAM_SLUG"></script>

That single script detects what your page needs:

  • Drop it alone to launch the Prebuilt Floating Widget.
  • Add data-cstar-* attributes for Custom Mode matching your own CSS.
  • Add data-cstar-quickhelp for inline AI answers sourced straight from your Help Center.

Pick Your Platform Guide

Every platform has one or two small gotchas. Pick yours below for the exact copy-paste steps:

Astro

Popular with AI site builders and content sites because pages ship as fast static HTML. Drop the script tag into src/layouts/Layout.astro with the is:inline attribute so Astro leaves the external script untouched, or mount @cstar.help/react / @cstar.help/svelte inside an island with client:idle.

Read the full Astro install guide

Webflow

Paste the script once under Site Settings -> Custom Code -> Footer Code, save, and publish. Remember that Webflow does not run Custom Code inside the Designer preview, so test on your published .webflow.io staging link or custom domain.

Read the full Webflow install guide

Framer

Add the script under Site Settings -> General -> Custom Code (End of body tag) and publish. Putting it at the site level instead of individual pages keeps an open chat conversation alive across Framer's client-side page transitions.

Read the full Framer install guide

Shopify

Open Online Store -> Themes -> Edit code and paste the script inside layout/theme.liquid right before </body> (wrapped in {% unless template.name == 'password' %}). Then link your included cStar Help Center in your storefront footer for shipping and returns answers.

Read the full Shopify install guide

WordPress (Including Astra and WooCommerce)

Skip bloated chat plugins. Drop the footer tag via WPCode, Astra Site Builder (wp_footer hook), or a 5-line wp_footer snippet in your child theme. If you run WP Rocket or LiteSpeed Cache, exclude cstar.js from JS-delay optimization.

Read the full WordPress and Astra install guide

Next.js (App Router and Pages Router)

Use next/script with strategy="afterInteractive" in app/layout.tsx for a two-minute setup, or install @cstar.help/react inside a 'use client' provider wrapper for full headless control with React hooks.

Read the full Next.js install guide

SvelteKit

Add the script before </body> in src/app.html, or install @cstar.help/svelte for SSR-safe Svelte 5 rune classes ($state and $derived) with zero stores.

Read the full SvelteKit install guide

Quick Example: Installing on Astro

If you generated or built a fast marketing site in Astro, open src/layouts/Layout.astro and add one is:inline script tag before </body>:

---
const { title } = Astro.props;
---
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>{title}</title>
  </head>
  <body>
    <slot />
    <script is:inline src="https://www.cstar.help/cstar.js?team=YOUR_TEAM_SLUG"></script>
  </body>
</html>

Your static Astro pages stay pure HTML, and visitors immediately get live chat that routes straight into your shared inbox alongside customer emails.

Don't Forget Your Public Help Center

Live chat works even better when paired with self-serve docs. Every cStar team gets a hosted Help Center (with custom domain support and SEO-friendly Article structured data) included at $15/seat. Link it in your site footer right next to your contact link so customers can answer quick questions themselves and message you when they need a real human.