# Client previews

Source: https://prontaro.com/docs/tunnels/client-preview/

Give clients a permanent HTTPS preview of your local dev server locked to their own Google account.

You do not need to deploy a throwaway staging branch or leave an open preview URL online after sign-off: Prontaro checks the visitor’s verified email on the Prontaro server before a single request reaches your machine, and you can revoke access in one click when the review ends.

## Step 1. Create the preview tunnel and allow the client’s email

Create the tunnel in the dashboard before launching the CLI so your local site is protected from the very first second:

1. Open **Tunnels** in [my.prontaro.com](https://my.prontaro.com/tunnels) and create a named HTTPS tunnel—for example, `preview` pointing to your local dev port (`3000`). On Tunnels and higher plans you can also pick a readable subdomain such as `acme-redesign` or attach your agency domain.
2. Open the tunnel’s **Access** tab, enable **Visitor sign-in**, and select **Google** (add **GitHub** if technical reviewers prefer it).
3. Add the client’s email address—for example, `maria@clientcompany.com`—and save the rule.

Tunnels Access [Open in dashboard](https://my.prontaro.com/tunnels)

Need to include a designer, teammate, or second stakeholder? Add their addresses to the same list. Every plan supports specific email lists, including Free, and listing the same email across several preview tunnels counts as only one slot in your account.

## Step 2. Connect your local dev server

Start your local dev server (such as Next.js, Vite, or Astro on port `3000`) and connect the `preview` tunnel from your terminal:

```bash
prontaro run preview
```

If you did not enter the local port in the dashboard—or want to pass it straight from the terminal—run `prontaro http` with the same tunnel name:

```bash
prontaro http 3000 --name preview
```

On the Free plan, Prontaro assigns a permanent `*.prontaro.dev` link that stays the same across restarts (browsers show a one-time warning page before opening the site). On Tunnels and higher plans, there is no browser warning page at all.

> **For non-sensitive demos**
>
> If you already started a throwaway test build with `prontaro http 3000 --name preview`, you can still enable Google sign-in on its **Access** tab afterward—just remember the URL stays open until the rule takes effect (a few seconds after saving).

## Step 3. Send the link and review together

Send the HTTPS link in Slack, Telegram, or email without pasting any shared password:

- When the client opens the link, Prontaro asks them to sign in with Google and forwards them straight to your local app once their verified email matches.
- Anyone else who receives a forwarded link is blocked on the Prontaro server before any traffic reaches your laptop.
- Changes you save locally appear on refresh, and you can inspect every request in the [local web inspector](https://prontaro.com/docs/tunnels/inspector.md) at `http://127.0.0.1:4040`.

If your client opens the link inside an in-app chat browser that blocks Google sign-in, have them open it in Safari, Chrome, or another regular browser.

## Step 4. Revoke access after sign-off

When the review wraps up, close access cleanly in either way:

- **Swap or remove the email** on the tunnel’s **Access** tab if you want to reuse the same `preview` URL for the next milestone or another client—active sessions for a removed address stop working within seconds.
- **Stop or delete the tunnel** in your terminal (`Ctrl+C`, or `prontaro rm preview` to release the URL completely).

For session lifetimes, domain rules, and combining sign-in with IP allowlists, see [Google & GitHub sign-in](https://prontaro.com/docs/tunnels/oauth.md).

## Next steps

- [Google & GitHub sign-in](https://prontaro.com/docs/tunnels/oauth.md) — full reference for visitor sign-in rules, limits, and session behavior.
- [Custom domains](https://prontaro.com/docs/tunnels/domains.md) — serve client previews under your own agency domain like `preview.yourstudio.com`.
- [Share files and folders](https://prontaro.com/docs/tunnels/files.md) — share static builds or design exports straight from a local directory.
- [Local web inspector](https://prontaro.com/docs/tunnels/inspector.md) — inspect client requests and debug broken assets in real time.
