Sharing Agents
After deploying your agent to LiveKit Cloud, you can generate share links that let anyone talk to it — no setup required on their end. Links open on voiceblox.ai with a voice conversation interface.Generating a share link
- Open the Deploy dialog from the toolbar.
- Switch to the Share tab.
- Choose a link type: Private Link or Public Link.
- Click Generate Link and copy the URL.
Private Link
Best for sharing with a specific person — a colleague, a client, or a tester.- Generates a one-time use link with a configurable expiration (1 hour, 24 hours, or 7 days).
- The link contains a LiveKit JWT token that auto-creates a room and dispatches your deployed agent when opened.
- After the TTL expires, the link stops working.
Security
The JWT token embedded in the URL is signed with your LiveKit API secret but does not contain the secret itself. If someone decodes the URL, they can only see the room name, participant identity, permissions, and agent name — no credentials are exposed.How it works
Public Link
Best for embedding on a website or sharing publicly. Each visitor gets their own independent session.Setup
- Open your project’s Settings page in LiveKit Cloud.
- Find the Token server toggle and switch it on.
- Copy the sandboxId displayed below the toggle.
- Add it to
.env.local:
- Restart the dev server.
How it works
- Each time someone opens the link, the LiveKit Sandbox Token Server generates a fresh token and creates a new room.
- The deployed agent is automatically dispatched to the new room.
- Multiple people can use the same link simultaneously — each gets a separate conversation.
Embed code
Public links also generate an embed code (iframe) you can paste into any website:Embed code is only available for Public Links, since Private Links are single-use.
Troubleshooting
| Issue | Fix |
|---|---|
| ”Share” tab says “Deploy your agent first” | Deploy the agent before generating links |
| Public Link shows setup warning | Add LIVEKIT_SANDBOX_ID to .env.local (see Setup above) |
| Private Link expired | Generate a new link with a longer TTL |
| Agent doesn’t connect after opening link | Ensure the agent is still deployed in LiveKit Cloud |
Related
- Deploy to LiveKit Cloud — deploy your agent first
- Environment Variables — full list of env vars
- Playground — test agents locally before deploying