AffinityBots LogoAffinityBots
Web Deployment

Add an AI Chat Widget to Any Website in Under a Minute

Build your agent, generate a deployment, and paste one JavaScript snippet. Your visitors get a fully-featured AI with tools, knowledge, and persistent memory. No backend required.

One JavaScript snippet
CORS origin controls
Rate limits per user

How Web Deployment Works

Three steps from zero to a live AI chat widget on your site.

01
< 2 min

Build Your Agent

Configure your agent with instructions, a model, tools, and knowledge. This same agent can be deployed to Telegram and Discord at the same time.

02
< 1 min

Create a Web Deployment

Give the deployment a name, set your allowed origins, configure rate limits, and activate it. AffinityBots generates a unique public key for your widget.

03
Right now

Paste the Snippet

Copy the JavaScript embed snippet and add it to your site. The chat widget appears automatically. No build step, no dependencies.

Web Widget

Everything Your Website Chat Should Be

Not a generic chatbot. A fully-configured AI agent that knows your product, remembers your users, and has access to real tools.

One-Line Embed

Copy a single JavaScript snippet and paste it into your site. The chat widget appears automatically. No framework requirements, no build step, works on any site.

Persistent User Memory

Each visitor gets their own conversation thread that persists across sessions. Your agent remembers their context, preferences, and past interactions every time they return.

Knowledge Base Access

Upload your product docs, help articles, and FAQs. Your web agent retrieves relevant information using semantic search, not keywords, and answers accurately every time.

CORS Origin Controls

Lock your agent to specific domains so it only responds to requests from your own website. No unauthorized embedding, no API key exposure.

Rate Limits Per User

Set message limits per user per minute to protect against abuse and control costs. Configure thresholds that match your traffic patterns.

Full Tool Access

Your web agent has access to all the same tools as any other deployment. Web search, Smart Tables, PDF reader, CRM integrations, and 100+ more.

Secure by Default

Deploying an AI publicly means controlling who can access it and how. Every web deployment includes these protections out of the box.

Domain Locking

Restrict your agent to specific origins. Only requests from your whitelisted domains are accepted.

Rate Limiting

Per-user message limits prevent abuse and give you predictable costs at any traffic volume.

API Key Authentication

Every deployment uses a unique public key. Revoke it instantly if you need to rotate credentials.

Concurrency Controls

Cap simultaneous conversations to match your plan and prevent unexpected usage spikes.

What People Embed on Their Sites

From support widgets to lead capture tools, one platform handles every use case.

Customer Support Widget

Replace static help centers with an AI that reads your docs and answers questions instantly. Available on every page, 24/7.

Lead Capture Agent

Engage visitors, ask qualifying questions, and capture leads right in the chat. No forms, no friction, just conversation.

Product Recommendation Bot

Help visitors find the right product or plan. The agent asks questions, understands needs, and recommends the best fit.

Onboarding Assistant

Guide new users through your product step by step. Answer questions, point to the right docs, and reduce time to value.

Content Tool

Give visitors access to an AI writer or research assistant directly on your site. Create value and drive engagement.

Data Collection Agent

Collect structured input from users through natural conversation. The agent writes responses to your Smart Tables automatically.

Also Available On

The same agent you embed on your website can also run as a Telegram bot and a Discord bot at the same time.

Telegram Bot

Live on Telegram in under 5 minutes with a single bot token from BotFather.

Discord Server

Deploy as a native Discord bot with a /ask slash command in under 2 minutes.

1 minAverage time to a live web chat widget
1 lineOf JavaScript to embed the widget anywhere
3xDeploy the same agent to Telegram, Discord, and Web

Ready to add a chat widget to your site?

Build your agent, generate a deployment, and paste one snippet. Your visitors have a powerful AI in under a minute.

Free plan · No credit card required