External APIs

Build full-stack applications by calling external APIs with environment variables.

You can call external services in your v0 prototypes by storing access keys as environment variables. This works for both third-party and your own APIs.

  1. Make sure your chat is linked to a project
  2. Go to Project Settings → Environment Variables
  3. Click Add Variable and enter your API key (e.g. API_KEY) or authorization token.
Environment variables UI

Then, you can instruct v0 to make calls to your backend APIs and use the API key stored in environment variables to securely connect.