BROWSER_USE_API_KEY environment variable. From there you run hosted browser agents or connect your own code to a cloud browser.
Install from the Marketplace
1. Install the integration In the Vercel dashboard open Integrations → Browse Marketplace, choose Browser Use, and select Install. Pick a plan (start with Free) and connect the resource to the project that will call Browser Use. 2. Check the environment variable Vercel addsBROWSER_USE_API_KEY to the connected project for production, preview, and development. Pull it into your local environment:
Next.js
1. Install the SDKBROWSER_USE_API_KEY from the environment. Keep it server-side: call Browser Use from a route handler or server action, never from the browser.
app/api/research/route.ts
maxDuration, return run.id right away and read progress from a second route with client.runs.status(runId) and client.runs.events(runId). See Observability for the event stream and Structured output for returning JSON your app can validate.
Vercel eve agents
Give an eve agent a cloud browser with the official package. It adds theopen_cloud_browser and stop_cloud_browser tools plus a browsing skill, and your API key never leaves the app runtime.
BROWSER_USE_API_KEY set, ask the agent to “open example.com and tell me the title”. To start from a working app, deploy the Browser Agent Template: a Next.js chat UI, an eve agent, and a live browser panel in one codebase.