Deploy a Devin Desktop app to Vercel

Great for Next.js projects from Devin Desktop (formerly Windsurf).

Short answer

Push your Devin Desktop code to GitHub, import the repo on Vercel, build with npm run build, add your environment variables before the first build, add the vercel.json refresh fallback, allow the new URL in your auth provider, then connect your domain. Vercel: Hobby: $0 — 100 GB data transfer, 1M CDN requests, 1M function invocations / month; paid from $20/mo (checked 17 Oct 2026).

Need an always-on server?

Vercel doesn't run always-on servers. If your project has a long-running backend (websockets, bots, background jobs), use Railway or Render for that part.

Step by step

  1. Check your project type

    • Static / SPA: Build outputs dist/ or build/.
    • Next.js / SSR: next.config.* etc.
  2. Get the code onto GitHub

    • Push to GitHub like any local project; App Deploys config lives in windsurf_deployment.yaml.
  3. Create the project on Vercel

    Go to vercel.com/new, import your GitHub repository, accept the detected framework preset and click Deploy.

  4. Check the build settings

    Vercel auto-detects Vite, Next.js, TanStack Start (via Nitro) and most frameworks. For a plain Vite app the defaults are build command npm run build and output dist.

    For Devin Desktop: build command npm run build, output Framework default.

  5. Add environment variables before the first build

    In Vercel: Project → Settings → Environment Variables. Copy these from Devin Desktop:

    • Your local .env — add values in Netlify after claiming the site.

    Changed a value later? Rebuild. Vite bakes variables in at build time. Troubleshoot missing env vars

  6. Make page refreshes work (Vite / React Router single-page apps)

    vercel.json
    {
      "$schema": "https://openapi.vercel.sh/vercel.json",
      "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
    }

    Server-rendered projects (TanStack Start, Next.js) don't need this. Vercel docs (opens in a new tab)

  7. Update login redirect URLs

    Add your new Vercel URL (and later your custom domain) to your auth provider's allowed URLs. Redirect troubleshooting

  8. Add your domain

    Project → Settings → Domains → Add. Vercel shows the exact DNS records (A record for the apex, CNAME for www) to create at your registrar; HTTPS is issued automatically.

    Domain not going live? DNS checklist

How much does Vercel cost for a Devin Desktop app?

Free tier Hobby: $0 — 100 GB data transfer, 1M CDN requests, 1M function invocations / month. Paid from $20/mo: Pro: $20/month per developer seat, includes $20 of usage credit; 1 TB transfer, 10M CDN requests. Checked 17 Oct 2026 on Vercel's pricing page (opens in a new tab).

  • The free Hobby plan is for personal, non-commercial use. A business or monetised app needs Pro.
  • Prices exclude VAT/sales tax.

Other options for Devin Desktop

Errors to watch for on Vercel

Related guides