🔒 Secure
Step 01 of 05

Set up your
secure worker

Set up your Cloudflare Worker once — it hides your API key and rate limits spam. Takes 10 minutes.

🛡️ Without a worker, your API key is visible in the chatbot HTML where anyone can steal it.
How to set up (do this once)
1

Sign up free at Cloudflare Workers

Go to workers.cloudflare.com and create a free account.

2

Create Worker and paste the code

Create Worker → Start with Hello World → Deploy. Then Edit code, select all, paste the worker.js file from the zip, Deploy again.

3

Add your API key as a secret

Settings → Variables and Secrets → Add. Name it ANTHROPIC_API_KEY, type Secret, paste your Claude API key, save.

4

Redeploy to activate

Go back to Edit code and Deploy one more time so the worker loads your secret.

Your Cloudflare Worker URL

No worker yet? Use Direct mode below for testing only.

Direct mode — testing only, NOT for live sites
Claude API Key
⚠️ This puts your key in the HTML file. Testing only.
Website URL to build chatbot for
Business Name (optional)
Step 02 of 05

Reading the
website

Pulling content so the AI knows the business inside out.

Extracting business information...
Connecting...
Step 03 of 05

Your chatbot's
brain

Claude has written a custom sales prompt. Review and edit it freely.

System Prompt

The better this is, the better it sells. Edit freely.

Chatbot appearance
Bot name
Welcome message
Chat colour
Position
Branding text
Branding link (optional)
Lead notification (optional)
Your email
Web3Forms key

Get a free key at web3forms.com — enter your email, they send the key instantly. You'll get an email every time someone leaves their contact details in the chat.

Step 04 of 05

Test your
chatbot live

Opens in a new tab so the chat button works properly. Try asking about pricing or drop your number to test lead capture.

🤖
Your chatbot is ready

Click below to open a live preview in a new tab. Come back here when you're done testing.

🔒 All requests go through your secure Cloudflare Worker — API key is never exposed.
Step 05 of 05

Deploy your
chatbot

Download the file and follow the instructions for your platform.

Download chatbot.html
One file, no API key inside, calls your secure worker.
🔒 No API key in this file. All AI calls go through your Cloudflare Worker.
1

Upload chatbot.html to your server

Via FTP (FileZilla) or cPanel File Manager, upload to /public_html/chatbot.html.

2

Install "Insert Headers and Footers" plugin

Plugins → Add New → search "WPCode Insert Headers and Footers" → Install → Activate.

3

Paste in the footer

Settings → Insert Headers and Footers → Scripts in Footer. Paste:

1

Upload chatbot.html to your root folder

Same folder as your index.html via FTP or hosting file manager.

2

Add before </body> on every page

1

Upload via Content → Files

In Shopify admin go to Content → Files → Upload chatbot.html. Copy the CDN URL it gives you.

2

Edit theme.liquid

Online Store → Themes → Edit code → Layout → theme.liquid. Find </body> and paste before it (use your CDN URL from step 1):

⚠️ Requires a Wix Premium plan.
1

Settings → Custom Code

In Wix dashboard click Settings → Custom Code → Add Custom Code.

2

Set placement to Body end, All Pages

Paste the code, set it to load in Body — end, apply to All Pages, click Apply:

⚠️ Requires Squarespace Business plan or higher.
1

Settings → Advanced → Code Injection

In your Squarespace dashboard navigate to Settings → Advanced → Code Injection.

2

Paste in the Footer box

1

Upload chatbot.html to Assets

In Webflow Designer, open Assets panel → Upload Files → upload chatbot.html → copy the asset URL.

2

Project Settings → Custom Code → Footer Code

Paste the snippet (replace src with your Webflow asset URL):

3

Publish your site

Click Publish → Publish to selected domains.

1

Host chatbot.html on Netlify first

Framer can't host files. Upload chatbot.html to Netlify (free drag-and-drop at app.netlify.com/drop) and copy the URL.

2

Site Settings → Custom Code → End of body

Paste the snippet using your Netlify URL:

1

Upload via cPanel File Manager

Log into GoDaddy → cPanel → File Manager → public_html. Upload chatbot.html here.

2

For GoDaddy Website Builder

Settings → Website → Header/Footer Code → Footer section. Paste:

1

Settings → SEO → Footer Code

In Weebly editor click Settings at the top → SEO tab → scroll to Footer Code.

2

Paste and publish

1

Add chatbot.html to your site folder

Put chatbot.html in the root of your site folder alongside index.html. Add the embed snippet to your HTML files before </body>.

2

Drag your folder to Netlify Drop

Go to app.netlify.com/drop and drag your whole site folder in. Live in seconds.

1

Add chatbot.html to your site folder

Put chatbot.html in the root alongside index.html. Add the embed snippet to your HTML before </body>.

2

Deploy to Cloudflare Pages

Workers & Pages → Create → Pages → Upload assets. Zip your folder and upload. Live at yourname.pages.dev instantly, free forever.

1

Host chatbot.html on Netlify or Cloudflare Pages

Bubble can't serve files. Upload chatbot.html to Netlify (free) and copy the URL.

2

Add an HTML element to your page

In Bubble editor add an HTML element (Visual Elements panel), set Full Width, place at bottom. Paste:

3

Make it a Reusable Element for all pages

Right-click → Convert to Reusable Element, then add it to every page layout.

Build another chatbot

Your worker stays active. Just enter a new client's website URL and repeat — 5 minutes per client.