Deploying applications built on EdgeDB Cloud to Vercel
-
Push project to GitHub or some other Git remote repository
-
Create and make note of a secret key for your EdgeDB Cloud instance
-
From Vercel’s Overview tab, click Add New > Project
-
Import your project’s repository
-
In “Configure Project,” expand “Environment Variables” to add two variables:
-
EDGEDB_INSTANCE
containing your EdgeDB Cloud instance name (in<org>/<instance-name>
format) -
EDGEDB_SECRET_KEY
containing the secret key you created and noted previously.
-
-
Click Deploy
![A screenshot of the Vercel deployment configuration view highlighting
the environment variables section where a user will need to set the
necessary variables for EdgeDB Cloud instance connection.](/_images/_docs/19359528b1cb696f6572ab8f9cc937a92a9f7f64-940.webp)