Skip to content

How to Deploy Gemini Pro Chat on Vercel

Posted on:December 25, 2023 at 12:00 AM

Deploying Gemini Pro Chat on Vercel is a straightforward process, but it requires careful attention to detail to ensure a successful launch. This guide will walk you through each step, from setting up your environment to deploying your application.

Table of contents

Open Table of contents


Before beginning, make sure you have the following:

Forking the Repository

  1. Visit the GitHub repository at
  2. Click the ‘Fork’ button at the top right to create a copy of the repository in your account.

Setting up Vercel

  1. Go to and sign in or create an account.
  2. Once logged in, click on ‘New Project’.
  3. Connect your GitHub account to Vercel if you haven’t done so already.

Configuring Environment Variables

  1. In the Vercel dashboard, select ‘Import Project’.
  2. Choose your forked GeminiProChat repository.
  3. Under ‘Environment Variables’, add GEMINI_API_KEY. You can obtain this key from

Deploying the Application

  1. After setting the environment variables, click on ‘Deploy’.
  2. Vercel will start the deployment process and provide a URL once it’s complete.

Verifying the Deployment

  1. Visit the provided URL to check if the Gemini Pro Chat application is running.
  2. Test the chat functionality to ensure it’s properly connected to the Gemini API.

Remember, the deployment URL is where your instance of Gemini Pro Chat will be accessible. You can customize the domain in Vercel’s settings if needed.

In conclusion, deploying Gemini Pro Chat on Vercel is a seamless process that requires minimal configuration. By following these detailed steps, you can have your instance of Gemini Pro Chat up and running in no time.