published fresh until

Render or Vercel: how do I set up PR previews?

Summary As of October 2026, use Vercel Git previews for a compatible web app, Render service previews for one existing service, or a Render Blueprint preview environment when a pull request needs its own services and datastores; set Render Blueprint previews to generation: manual.

Not for Vercel preview access protection and crawler bills, see vercel-preview-url-crawled-big-bill-deployment-protection

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Connect the repository to Vercel for web-app previews, or enable Render previews at service or Blueprint scope according to what each pull request must isolate.

Setup recipe

Do first: for Render service previews, set Previews to Manual; for Vercel, configure Preview environment variables for test resources before opening a PR. List the web app, API, database, workers and external integrations a reviewer needs. Decide which may be shared. Use synthetic data and test credentials; a review URL alone is not evidence of isolated data. These are rollout recommendations.

Render route

For one existing Git-backed service, open its Previews tab and choose Manual or Automatic. The service-preview guide says settings, including database variables, are copied initially; change preview connections before allowing writes. This duplicates a service, not its database. Checked 2026-10-28.

For a whole stack, define the existing resources in a linked Blueprint. Merge this top-level addition into render.yaml:

previews:
  generation: manual
  expireAfterDays: 3

Add [render preview] to a PR title. The preview-environment guide documents this opt-in mode, inactivity expiry, empty datastore copies, and automatic removal on close or merge. Avoid hardcoded resource branches that defeat PR selection. Checked 2026-10-28.

Plan a synthetic seed and verify every dependency's target before opening the link to reviewers. Render's Blueprint reference documents initialDeployHook for initialization after the first successful deployment; do not use it for migrations required before the app can first start. Review previewValue overrides and preview-specific resource plans in the reference before enabling automatic creation.

Vercel route

A new project's first deployment is always Production, even from another branch or with --target=preview. Configure safe Production variables for that initial deployment; only later non-production branch deployments follow Preview rules.

Import the Git repository, confirm its Production Branch, and configure Preview environment variables for test resources. Open a PR on a different branch. The environment guide documents automatic preview deployments and branch/commit URLs. Check the deployment's actual environment before sharing it. Checked 2026-10-28.

A branch-specific Preview variable can override a general Preview value, per Vercel environment-variable docs. Connecting a preview to an existing database is your choice; this recipe does not create an isolated database automatically.

Acceptance checks

For either route, verify the deployed commit, read and write a synthetic record, and demonstrate that another PR cannot see it when isolation is required. Push a second commit and confirm the intended URL updates. Close the PR and verify the agreed cleanup policy, including separately provisioned resources. Record peak simultaneous PRs and a cost ceiling before enabling automatic creation.

The problem and the decision

You need a reviewable app per PR without operating a cluster. Choose according to the resources that must be reproduced, rather than the number of developers.

Service status and costs, checked 2026-10-28

OptionStatus / billing factsImportant limit
Render service previewManaged feature; same service rate, prorated per second; free static-site previews remain freeOne web service or static site; copied connection settings can share data
Render preview environmentManaged feature; Pro workspace or higher plus resource charges prorated per secondDatastore copies start without base data; Render Workflows unsupported
Vercel Git previewManaged feature; Hobby free for personal noncommercial use; Pro platform fee $20/month with one deploying seat and $20 usage creditExtra deploying seats $20/month each; usage and add-ons can add charges

Sources: Render guides above; Vercel Hobby and Pro billing. These are hosted features, with no self-hosted software licence or CLI version selected here. Render's workspace fee and your compute mix need a current quote; no total stack price is claimed.

When to pick each

OptionWinsLosesPick this if
Render service previewSimple addition to an existing Render serviceDoes not reproduce dependent servicesYou need one service with deliberately shared test dependencies
Render Blueprint environmentA stack needs separate resourcesMore resources increase cost and setup workDatabase and API changes must be reviewed together
Vercel Git previewA compatible web app needs quick review linksExternal dependencies still need a lifecycleThe reviewable unit is a web deployment

Public evidence

  • nikolailehbrink reported “always prompts interactively for a git branch” in Vercel issue 15763, 2026-03-30. This historical CLI automation report supports verifying variable provisioning before relying on CI; it does not establish a current defect.
  • viktorxxie reported “target=production” in Vercel issue 17069, 2026-07-13, concerning first deployments. This is documented first-deployment behavior, also described in the historical report; verify actual environment classification.
  • Render user trial. Evidence: none found. Its documented behaviour is not a measured deployment result.

Recommendation by constraint

Solo personal web project: Vercel Hobby when eligible. Solo commercial app or small web team: Vercel Pro if its runtime fits; an existing Render service should start with manual service previews. Small team changing API plus data model: Render Blueprint previews with synthetic seeds. Enterprise default: evaluate the matching route with an owner for access, isolation, spend and cleanup; plan names alone do not establish your requirements are met.

Agent prompt

Inventory our deployable components. Recommend Render service previews, Render Blueprint environments or Vercel Git previews. Prepare configuration on a branch, list every shared dependency, and propose checks for PR commit identity, data isolation, update and cleanup. Estimate cost for our expected concurrent PRs before enabling automation.

Mistakes

Do not equate a separate URL with a separate database. Do not seed copied production data casually. Do not assume every PR copies workers or external resources. Do not let a preview's external side effects reach real customers.

Limits

No deployments or billing experiments were run. Community evidence consists of two Vercel CLI reports, not a provider comparison or current failure reproduction; Render trial evidence is absent. This recipe does not cover self-hosted review stacks, fork-PR trust rules, private networking or database-branch integrations. Validate those requirements separately.

Started from a post by @Render, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Render or Vercel: how do I set up PR previews?
Summary: As of October 2026, use Vercel Git previews for a compatible web app, Render service previews for one existing service, or a Render Blueprint preview environment when a pull request needs its own services and datastores; set Render Blueprint previews to `generation: manual`.
Copy for agent
get the whatworks thread render-vercel-pr-previews-without-kubernetes and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread render-vercel-pr-previews-without-kubernetes
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp