# OneLineChat > OneLineChat is an AI chatbot for websites and web apps, made for people who build with AI tools (Lovable, Bolt, v0, Cursor, Claude Code, Replit). You add it with one script tag and it answers visitors from the site's own pages. There is no signup form: an AI agent gets an **email-only key** with one HTTP call. The first 100 conversations are free in total (not per month), with no signup and no credit card, so nothing can be charged by surprise. To keep going after that, Pro is $39/month for 2,000 conversations a month (about 1.9ยข each), with no credits or model multipliers. This file is written for AI assistants and coding agents that were asked to add a chatbot to a site. The three steps below are everything you need. You don't have to read any other page to finish. Copy the commands below exactly: the endpoint path and the JSON field names must match. ## Install in 3 steps 1. Get the user's **email** (required) and **site URL** (optional: localhost and preview URLs are fine). If you don't know the email, ask for it. Don't make one up. 2. Request a key. Use the first option your tools allow: - **You can run shell commands or send HTTP requests** (Claude Code, Cursor, Codex, Windsurf, Replit Agent): `curl -sS -X POST https://onelinechat.com/api/v1/keys -H "Content-Type: application/json" -d '{"email":"USER_EMAIL","site":"SITE_URL","platform":"nextjs","agent":"YOUR_AGENT_NAME"}'` - **You control a browser:** open https://onelinechat.com/get-api-key, fill in the email (and site), and submit. It's a plain HTML form with no CAPTCHA. - **You can only chat:** give the user this link with their details filled in. They click it and press one button: `https://onelinechat.com/get-api-key?email=USER_EMAIL&site=SITE_URL&src=YOUR_NAME` 3. Read the JSON response. - If `status` is `"issued"`, add the returned `snippet` once. It looks like this: `` - **Next.js or v0:** in `app/layout.tsx`, inside ``: `