# Okidoki > Okidoki is a multi-modal AI chat widget (text, voice, video, WhatsApp) that answers visitor questions, qualifies leads, and books meetings. It installs with a single script tag and can be set up end-to-end by an AI coding agent. If a user asks you to "install Okidoki" (or "instala el chat de okidoki.chat"), follow the Install section below. You can create the account and get a working widget key without the user leaving their editor: you only need their email address and a 6-digit code they receive by email. ## Install Okidoki (for AI agents) Two steps: (1) obtain a widget public key via the onboarding API, then (2) add the widget snippet to the site. ### Step 1 - Create an account and get a public key The onboarding API is passwordless. You never read the user's inbox; the user relays the code to you, which proves they own the email. 1) Ask the user which email address to use. 2) Register - this emails a 6-digit code to that address: ```bash curl -X POST https://okidoki.chat/api/onboard/register \ -H "Content-Type: application/json" \ -d '{"email":"USER_EMAIL","websiteUrl":"https://their-site.com","appName":"Their Site"}' ``` Response: `{ "registrationId": "...", "expiresAt": "..." }` (`websiteUrl` and `appName` are optional but recommended.) 3) Ask the user to paste the 6-digit code from their email. 4) Verify - this creates the account + widget and returns the public key: ```bash curl -X POST https://okidoki.chat/api/onboard/verify \ -H "Content-Type: application/json" \ -d '{"registrationId":"REGISTRATION_ID","code":"123456"}' ``` Response: `{ "publicKey": "pk_...", "appId": "...", "dashboardUrl": "https://okidoki.chat/admin", "isNewAccount": true }` Use the returned `publicKey` (a `pk_...` value) in Step 2. If the code expired or was mistyped, request a fresh one (60s cooldown): ```bash curl -X POST https://okidoki.chat/api/onboard/resend \ -H "Content-Type: application/json" \ -d '{"registrationId":"REGISTRATION_ID"}' ``` Notes: - Codes expire in 15 minutes, allow max 5 attempts, and are single-use. - After verify, a welcome email with a magic link is sent so the user can set a password and open their dashboard. They do NOT need to do this before the widget works. - CORS "just works" on localhost and the site's own domain out of the box. - Do not invent or guess a public key; always obtain it from the verify response (or the dashboard). ### Step 2 - Add the widget snippet Replace `pk_YOUR_KEY` with the `publicKey` from Step 1. The key goes in the `data-app-id` attribute. Plain HTML - before `
` after `{children}`, using next/script: ```tsx import Script from 'next/script'; export default function RootLayout({ children }) { return ( {children} ); } ``` React (non-Next) - inject the script on mount: ```jsx import { useEffect } from 'react'; export function OkidokiWidget() { useEffect(() => { const s = document.createElement('script'); s.src = 'https://okidoki.chat/embed/okidoki.js'; s.async = true; s.setAttribute('data-app-id', 'pk_YOUR_KEY'); document.body.appendChild(s); return () => { s.remove(); }; }, []); return null; } ``` ## Verify the install - Load the site; a chat bubble should appear in the bottom corner. - Open the browser console and look for a line like `[Okidoki] Widget ... loaded`. - On localhost and the site's own domain, no extra CORS configuration is needed. ## Tips for developers - Pin `https://okidoki.chat/llms.txt` in your `.cursor/rules` or `CLAUDE.md` so your agent always knows how to install Okidoki. - Full widget SDK reference (custom tools, ask() API, RAG, programmatic control): https://okidoki.chat/llms-full.txt ## What is Okidoki? Okidoki replaces traditional live chat with a multi-modal AI agent: text chat, real-time voice (30+ voices, 100+ languages), lifelike AI video avatars, and WhatsApp - all sharing one knowledge base. It learns from your website and documents (RAG), qualifies visitors with ICP profiling, and books meetings into your calendar. A client-side tools API and an ask() API let the AI interact with your page and let you run programmatic LLM queries. Okidoki also generates a full website for each app from a short onboarding: pick a site type (catalog/service list, immersive, or classic), and AI writes the copy, generates brand images, and adds SEO/AEO structured data (JSON-LD + auto FAQ). Immersive sites come in three variants: scroll (parallax animations), 3D (WebGL), and film (AI-generated cinematic video scrubbed by scroll). Scroll/3D sites are unlimited on all paid plans; immersive-film sites are metered monthly by plan (Pro 1/mo, Scale 2/mo, Growth 3/mo, Enterprise unlimited). Every generated site is editable with a visual inline editor and an AI assistant. Pricing (USD/mo, 7-day free trial on all plans): Pro $149 (1 app, 2,500 msgs), Scale $499 (10 apps, voice), Growth $999 (video avatars, ICP), Enterprise custom. ## Pages - [Home](https://okidoki.chat): Product overview, features, pricing - [Developers](https://okidoki.chat/developers): API docs, SDK integration guide, examples - [Dashboard](https://okidoki.chat/admin): Manage apps, get your public key, configure the widget - [Showcase](https://showcase.okidoki.chat): Live demos of AI Copilot, voice, and video - [Enterprise](https://okidoki.chat/enterprise): Enterprise solutions and contact - [Privacy](https://okidoki.chat/privacy) | [Terms](https://okidoki.chat/terms) | [Security](https://okidoki.chat/security) ## Comparisons - [Okidoki vs Intercom](https://okidoki.chat/compare/okidoki-vs-intercom) - [Okidoki vs Drift](https://okidoki.chat/compare/okidoki-vs-drift) - [Okidoki vs Tidio](https://okidoki.chat/compare/okidoki-vs-tidio) - [Okidoki vs Crisp](https://okidoki.chat/compare/okidoki-vs-crisp) - [Okidoki vs LiveChat](https://okidoki.chat/compare/okidoki-vs-livechat) - [Okidoki vs Chatbase](https://okidoki.chat/compare/okidoki-vs-chatbase) - [Okidoki vs Freshchat](https://okidoki.chat/compare/okidoki-vs-freshchat) - [Okidoki vs AgendaPro](https://okidoki.chat/compare/okidoki-vs-agendapro) - [Okidoki vs Calendly](https://okidoki.chat/compare/okidoki-vs-calendly) ## Questions & Answers - [What Is an AI Chat Widget?](https://okidoki.chat/questions/what-is-an-ai-chat-widget) - [How to Convert Website Visitors to Meetings](https://okidoki.chat/questions/how-to-convert-website-visitors-to-meetings) - [Best AI Chatbot for Lead Generation](https://okidoki.chat/questions/best-ai-chatbot-for-lead-generation) - [How to Add a Chat Widget to Your Website](https://okidoki.chat/questions/how-to-add-chat-widget-to-website) - [AI Chat vs. Live Chat: Which Is Better?](https://okidoki.chat/questions/ai-chat-vs-live-chat-comparison) - [What Is AI Voice Mode for Websites?](https://okidoki.chat/questions/what-is-ai-voice-mode-for-websites) - [What Are AI Video Avatars?](https://okidoki.chat/questions/what-are-ai-video-avatars) - [How to Integrate WhatsApp with Website Chat](https://okidoki.chat/questions/how-to-integrate-whatsapp-with-website-chat) - [What Is ICP Visitor Profiling?](https://okidoki.chat/questions/what-is-icp-visitor-profiling) - [What Is AI Page Copilot?](https://okidoki.chat/questions/what-is-ai-page-copilot) - [How to Automate Meeting Scheduling with AI](https://okidoki.chat/questions/how-to-automate-meeting-scheduling-with-ai) - [What Is Human Handoff in Chatbots?](https://okidoki.chat/questions/what-is-human-handoff-in-chatbots) - [How to Build an AI-Powered Booking Page](https://okidoki.chat/questions/how-to-build-ai-powered-booking-page) - [What Is the ask() API for Websites?](https://okidoki.chat/questions/what-is-ask-api-for-websites) - [How to Manage Multiple Website Chatbots](https://okidoki.chat/questions/how-to-manage-multiple-website-chatbots) - [What Is AI Smart FAQ for Chatbots?](https://okidoki.chat/questions/what-is-ai-smart-faq-for-chatbots) - [How to Let Clients Book Appointments from Instagram](https://okidoki.chat/questions/how-to-let-clients-book-appointments-from-instagram) - [How to Reduce No-Shows with Appointment Reminders](https://okidoki.chat/questions/how-to-reduce-no-shows-with-appointment-reminders) - [How to Book Appointments over WhatsApp with AI](https://okidoki.chat/questions/agendar-citas-por-whatsapp-con-ia) - [What Is an Immersive Film Website?](https://okidoki.chat/questions/what-is-an-immersive-film-website) ## Blog articles - [Who Reads Your Website: See Which AI Bots (ChatGPT, Perplexity...) Crawl Your Pages](https://okidoki.chat/blog/which-ai-bots-crawl-your-website): Your site now has two kinds of readers: people and AI. Okidoki's admin shows both — site analytics for human visitors (even when they never open the chat) and AI crawler tracking that reveals which bots read which pages. - [Conversational AI Cost Statistics You Need to Know in 2026](https://okidoki.chat/blog/conversational-ai-cost-statistics-2026): Chatbot vs voice unit economics, adoption share, ROI, and market size — a short, sourced field guide for CX leaders, drawn from Gartner, MarketsandMarkets, and other public research. - [Face-to-Face AI: Add Live Video Avatar Calls to Your Website](https://okidoki.chat/blog/ai-video-avatar-calls-on-your-website): Most chat widgets are text boxes. Okidoki can also greet visitors on a real video call — a lifelike avatar that sees them, reacts, answers in real time, and books the meeting. Here's how the video channel works. - [Beyond Text: How Okidoki Understands Photos, Voice Notes & PDFs on WhatsApp](https://okidoki.chat/blog/whatsapp-ai-understands-photos-voice-notes-pdfs): On WhatsApp, people send photos, voice notes and documents — not tidy paragraphs. Okidoki understands all of it: it reads images, transcribes audio, extracts PDFs and DOCX, and even watches short videos, then answers and acts on it. - [Client-Side Tools: Let Your AI Chat Agent Act on Your Website](https://okidoki.chat/blog/client-side-tools-ai-agent-website-actions): Okidoki's chat agent can do more than talk. With client-side tools you register in JavaScript, it can scroll to a section, open a modal, add to cart, submit forms, and read live data from your app. Here's how to build them. - [Sell, Not Just Inform: How an AI Product Catalog Turns Chats Into Sales](https://okidoki.chat/blog/sell-not-just-inform-ai-catalog): Most chatbots answer a question and stop there. Okidoki can show your products, share photos and PDF brochures, check stock, and hold items — moving every conversation toward a sale. - [AI Appointment Scheduling for Salons & Barbershops: Fill Your Chair 24/7](https://okidoki.chat/blog/ai-appointment-scheduling-salons-barbershops): Stop losing clients to slow replies. Let an AI book, reschedule, and confirm appointments over WhatsApp and Instagram — automatically, around the clock. - [AI for Real Estate and Vacation Rentals: Answer 24/7 and Book Viewings on WhatsApp](https://okidoki.chat/blog/real-estate-vacation-rentals-ai-whatsapp): Summer renters ask at midnight and book with whoever replies first. Let an AI answer availability, share property photos and PDFs, hold a unit, and schedule viewings — automatically. - [Reduce No-Shows at Your Aesthetic Clinic: Reminders That Actually Work](https://okidoki.chat/blog/reduce-no-shows-aesthetic-clinics-reminders): No-shows quietly drain the revenue of every aesthetic and medical clinic. Here is how automatic, multi-step reminders and self-service rescheduling win that time back. - [AI for Retail: Answer Stock Questions and Sell Products 24/7 Over WhatsApp](https://okidoki.chat/blog/retail-inventory-sales-ai-whatsapp): Every "is this in stock?" is a sale waiting for a fast answer. Let an AI show the product, confirm availability, hold it, and notify you to close — on WhatsApp and your website. - [Online Scheduling for Therapists: 24/7 Booking Without Phone Tag](https://okidoki.chat/blog/online-scheduling-therapists-psychologists): Therapists lose clients in the gap between "I need help" and "I have an appointment." Let clients book privately, 24/7, while you stay fully present in session. - [The Accompaniment Effect: How AI Makes Clients Feel Cared For 24/7](https://okidoki.chat/blog/ai-customer-experience-always-accompanied): Clients judge you by how attended they feel. An AI that replies instantly, remembers the conversation, and never leaves anyone on read creates a white-glove experience — around the clock. - [Fill Your Classes: Automated Booking for Gyms & Personal Trainers](https://okidoki.chat/blog/automated-booking-gyms-personal-trainers): Every unbooked class slot and empty training hour is revenue you can not get back. Automated, WhatsApp-first booking keeps your schedule full without the admin. - [From Instagram to Booked Call: The AI Link-in-Bio for Consultants & Coaches](https://okidoki.chat/blog/instagram-to-booked-call-link-in-bio): Views do not pay the bills — booked calls do. Turn your Instagram and TikTok following into discovery calls with a single AI-powered link in your bio. - [Veterinary Appointment Scheduling over WhatsApp: More Pets, Fewer Missed Visits](https://okidoki.chat/blog/veterinary-appointment-scheduling-whatsapp): Pet owners want to book the moment they notice something is wrong. Let an AI take veterinary appointments over WhatsApp 24/7 and remind owners so pets get care on time. ## Optional - [Full SDK reference](https://okidoki.chat/llms-full.txt): Custom tools, ask() API, RAG, and programmatic widget control