Integrating the Gemini AI API Key

Before we delve into running the application, do keep in mind that GemiBot application designed to work with the Gemini AI API that you get to use in Google AI Studio.

Adding Gemini Configs

Go to src > constants > configs and open "gemini-configs.js" file

The file content will be like this:

// src > constants > configs > gemini-configs.js
export const geminiConfigs = {
  APIkey: 'GEMINI_API_KEY', // gemini api key
};

Change the "GEMINI_API_KEY" value with your API Key that you've copied from the previous step.

Last updated

Was this helpful?