What gets installed
One async script tag drops a tiny widget on your site. The widget talks to RAGSell's API, which answers visitor questions using your own content — and captures qualified leads into your dashboard.
~11 KB gzipped
Smaller than most analytics scripts. Async load — never blocks your page.
Domain-locked
Each install is scoped to your domain via origin allowlist + secret token.
Framework-agnostic
Works on any site — HTML, Next.js, WordPress, Shopify, Webflow, anything.
Live in 3 steps
The fastest path from sign-up to a working concierge on your site.
- 1
Sign up + tell us your site URL
Create an account, drop your site URL into the onboarding form, and we'll crawl your content and extract a starting knowledge base. - 2
Review + confirm your knowledge base
Open the customer dashboard's Knowledge base tab, fix anything the auto-extract got wrong, add a few FAQs, and click Confirm. The agent now treats your profile as authoritative. - 3
Paste one script tag
Copy the snippet below, replacing the demodata-sitewith your real one from the dashboard. Reload your site — the chat button appears within ~1 second.snippet<!-- Paste this just before </body> on every page --> <script async src="https://cdn.ragsell.io/v1/widget.js" data-site="dnt_test_001" ></script>
Pick your stack
The widget is just a script tag — the only thing that changes between platforms is where you paste it.
Grab your site_key
/knowledge, the site_key appears in the top-right. It looks like dnt_test_001.Paste the snippet before </body>
dnt_test_001 for your real site_key.<!-- Paste this just before </body> on every page -->
<script
async
src="https://cdn.ragsell.io/v1/widget.js"
data-site="dnt_test_001"
></script>Minimal full-page example
<!doctype html>
<html>
<head><title>My site</title></head>
<body>
<h1>Welcome</h1>
<!-- RAGSell widget -->
<!-- Paste this just before </body> on every page -->
<script
async
src="https://cdn.ragsell.io/v1/widget.js"
data-site="dnt_test_001"
></script>
</body>
</html>Verify
How your data is handled
The widget is designed to be the safest thing you can drop on a customer-facing site.
Origin allowlist
Each site_key is locked to one or more domains. Requests from anywhere else get rejected.
Scoped DOM + styles
Widget renders inside its own tree with namespaced CSS — it can't touch your page's styles, and your page can't leak into the widget.
Anonymous by default
We store a random visitor_id cookie for conversation continuity. No fingerprinting, no PII unless the visitor types it into the lead form.
CSP-friendly
Add cdn.ragsell.io to script-src and api.ragsell.io to connect-src. Detailed examples available on request.
Make it look like your brand
The widget reads its branding from your dashboard — no code changes needed.
Frequently asked
Does the widget slow down my site?⌄
async, so the browser never waits for it. The bundle is ~11 KB gzipped — smaller than most analytics scripts and below most performance budgets.Will it conflict with my existing CSS or JavaScript?⌄
What if my site uses a Content Security Policy (CSP)?⌄
cdn.ragsell.io to your script-src and api.ragsell.io to connect-src. If you need a policy example for your specific framework, email us.Where is visitor data stored?⌄
visitor_id in browser localStorage so a returning visitor reuses the same conversation thread. Conversations and any lead data captured live in our database, in your dedicated tenant. You can export everything as CSV at any time.Can I disable lead capture?⌄
Can I self-host the widget bundle?⌄
We'll install it for you
If anything in this guide trips you up, send us a message — we'll get the widget live on your site for free.