Add Glitterball to a prototype
Run one command, or ask your coding agent
Everything in Glitterball runs from a small tag in your prototype’s <head>. The tag puts the Glitterball bar on the page. From the bar you record walkthroughs, and anyone who opens the prototype can watch them and comment. There is nothing to install in the browser.
Run one command
At a terminal, in the prototype’s folder:
npx glitterball init
It makes the prototype’s own token and puts the tag, with that token, in the file that renders <head>. Run it again any time; it replaces the tag rather than adding a second one. Deploy, open the prototype, choose Walkthroughs on the Glitterball bar, then Record a walkthrough. The first time, that signs you in and puts the prototype in your workspace.
Or ask your coding agent
Paste this into Claude Code, Cursor, Codex or whichever agent builds your prototype, in the prototype’s folder:
Add Glitterball to this prototype: run `npx glitterball init`
The agent runs the same command for you. App builders such as Lovable, Replit and Figma Make take a longer prompt; see Connect Claude, ChatGPT and coding agents.
In the web app, the Add to prototype panel at the top of the home has the same instructions to copy: the line for coding agents, a prompt for app builders, and npx glitterball init, the package and the MCP command under CLI.
Use a token. A tag without one (<Glitterball /> with no token) gets a key the first time the page runs, but anyone who knows the site’s address could claim that key before you do. With a token in the code, the prototype is yours from the start.
Check it worked
Open the deployed prototype. The Glitterball bar shows in the bottom-right corner with Walkthroughs, where you record. If it doesn’t, see Troubleshooting.
What it can’t do
- A page without the tag can’t be recorded and can’t show walkthroughs.
- Recording happens on the prototype. On a multi-page site, or one that blocks other services from using the camera and mic, a small Glitterball window beside it holds the camera and mic.
Next, record a walkthrough.