v0 + Liveblocks
v0 helps you generate full-stack apps quickly using AI chats. With Liveblocks, you can add realtime collaboration to your generated v0 app, such as collaborative text editing, multiplayer documents, comment threads, inbox notifications, and AI copilots.
Setup
Ask the chat to build with Liveblocks
Add Liveblocks to your project by asking the chat to add collaborative features, for example:
Example promptTo find more ways to use Liveblocks, visit our showcase and read our get started guides.
Insert your secret key
During the process, v0 will prompt you to insert your Liveblocks secret key from the dashboard. Paste in your project’s key.
Secret keyTo manually edit your key in v0, go to Settings → Environment Variables →
LIVEBLOCKS_SECRET_KEY.Collaboration is ready
Your app should now have live collaboration—use the chat to continue building your Liveblocks app.
Limitations and troubleshooting
Secret or public key issues
To fix issues related to API keys, instruct v0 to use a secret key instead of a public key, and authenticate your Liveblocks application.