Skip to main content
This page is a single checklist you paste into an AI coding agent so it scaffolds a Vite + React (TypeScript) app with @tavus/cvi-ui, adds a small server route that creates conversations with your API key, and wires CVIProvider and Conversation. For how embedding fits in the product, see Embed CVI. For UI primitives after init / add, see the component library overview. API calls need a Tavus key from Authentication; sessions use conversation_url from Create Conversation. The server route this prompt installs is described in Server.
Your Tavus API key is a secret. Never put it in browser code or in a VITE_, NEXT_PUBLIC_, or REACT_APP_ variable: those are bundled into the JavaScript anyone can download. This prompt keeps the key in a server-only TAVUS_API_KEY variable. If you built an app from an earlier version of this prompt that used VITE_TAVUS_API_KEY, the key is in that app’s bundle: move it to a server as described below, then create a new key and delete the old one in the PAL Maker.

React (TypeScript, Vite) + Tavus CVI - copy for your AI agent

Open in Cursor