> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specode.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sharing Your Preview

> How to share your app with others for testing and feedback using the deployed preview link.

## Preview vs. Editor Preview

Your Specode project has two different ways to view it:

| View                 | URL                                  | Purpose                                                                         |
| -------------------- | ------------------------------------ | ------------------------------------------------------------------------------- |
| **Editor preview**   | `app.specode.ai/v2/your-project/...` | Your personal workspace for building with the AI. Only works inside the editor. |
| **Deployed preview** | `your-project.convex.site`           | A shareable link anyone can open in their browser.                              |

<Warning>
  The editor preview (`app.specode.ai/v2/...`) does not support direct deep links. If you try to share an editor URL with someone, they will likely see a 404 error. Always share the deployed preview link instead.
</Warning>

<Warning>
  **No PHI in previews.** The deployed preview is **not** a HIPAA-compliant production environment. Do not enter any real patient data, and make sure anyone you share the link with knows not to enter real patient information either. Use only sample or synthetic data for testing and demos. When you're ready to go live with real data, see [Going Live](/overview/configuration-deployment/going-live).
</Warning>

## Deploying Your Preview

After making changes to your app with the AI, you need to redeploy the preview for those changes to appear on the shareable link.

<Steps>
  <Step title="Open the Preview panel">
    Click the **Preview** button in the top-right corner above your editor preview pane.
  </Step>

  <Step title="Deploy a new version">
    Click **Deploy new version** to push your latest changes to the shareable link.
  </Step>

  <Step title="Share the link">
    Copy the deployed preview URL (e.g., `https://your-project.convex.site`) and share it with your testers, clients, or team.
  </Step>
</Steps>

<Note>
  **Important:** The deployed preview is a snapshot. It stays in whatever state it was when you last deployed. If you make more changes with the AI, you need to click **Deploy new version** again for those changes to show up on the shareable link.
</Note>

## Controlling Access

Want to restrict who can see your preview? You can ask the AI to build a login page or access control system directly in your app. For example:

* **Simple password gate** - A single shared password for viewing the demo
* **User accounts** - Create accounts for specific reviewers with their own credentials
* **Role-based access** - Give different viewers different permission levels (e.g., read-only vs. admin)

Once built, share the deployed preview link along with the credentials you set up. Your reviewers can log in directly from their browser without downloading anything.

## Tips

<Tip>
  **Test auth features on the deployed preview.** Authentication flows like login, signup, and forgot password may not work correctly in the editor preview. Always test these features using your deployed preview link (`your-project.convex.site`).
</Tip>

* Always test your deployed preview link in a different browser or incognito window to see what your reviewers will see.
* If your preview link shows old content, make sure you clicked **Deploy new version** after your latest changes.
* Remind anyone you share the preview with: **do not enter real patient data.** The preview is for demonstration and feedback only.
