A preview link is a URL of the form /preview/<token>. Anyone who has the URL can load the project read-only — no login required. The token is the entire access control surface.
Enabling a preview
- Open the project page.
- Switch to Deploy mode.
- In the Preview controls card, click Enable preview.
- Copy the URL with the copy button.
What visitors see
- Your project name, brand kit, and the most recent saved scene.
- Read-only data — they cannot insert, edit, or delete records.
- Read-only chat — they cannot post messages.
- No links to other projects, billing, or owner settings.
Rotating the token
Click Rotate in the Preview controls card. A new token replaces the old one immediately. The old URL stops resolving the moment the new token lands in the database.
Lifecycle
| Action | Effect on token | Effect on the URL |
|---|---|---|
| Enable | Mints a fresh token if none exists | URL starts resolving |
| Disable | Token persists | URL stops resolving (returns Preview unavailable) |
| Rotate | Old token replaced, new one returned | Old URL stops resolving immediately |
| Re-enable | No new token | Existing URL resumes |
Invalid tokens
A request to /preview/<bogus> returns a 404. We do not differentiate "wrong token" from "preview disabled" in the URL response — both look like a not-found page.