Vercel integration

The Fauna integration for Vercel lets you easily create and connect a Fauna database to your Vercel projects.

Before you start

To set up the integration, you’ll need a Vercel account with one or more projects.

Add Fauna to a Vercel project

  1. Log in to the Fauna Dashboard. You can sign up for a free account at https://dashboard.fauna.com/register.

  2. In the same browser, log in to https://vercel.com/login

  3. Go to https://vercel.com/integrations/fauna

  4. Click Add Integration.

  5. In the modal:

    • Select an account, if prompted.

    • Select the projects to add the integration to.

    Then click Continue.

  6. If prompted, accept the required permissions and click Add Integration.

  7. In the modal, create a new Fauna database or select an existing database for the project(s).

  8. Click Install.

Environment variables

The integration sets two environment variables on install:

  • FAUNA_DB_DOMAIN: The db.fauna.com domain used to route requests to Fauna.

  • FAUNA_ADMIN_KEY: A key for the Fauna database. The key has the built-in admin role for the project’s Fauna database.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!