To use the Gemini API, you need an API key. Enter the API key in the API_Key property in the Connection Properties section. The Gemini API uses the API key to authenticate Gemini connection requests.
Create a Gemini API key
Create a Gemini API key to access the Gemini APIs. This key allows Gemini AI to track your usage and generate accurate billing.
After the API Key is generated, you can use the key during the entire period of Gemini Connector usage.
To create a Gemini API key, perform the following steps:
1Log in to the Google AI Studio for the Gemini AI and click Get API Key.
The following image shows the Get API Key option on the Google AI Studio for the Gemini AI:
2Click Create API key in new project or Create API key in existing project as needed.
The following image shows the options to create an API key in the new project or an existing project:
3Click Copy.
The following image shows the Copy option to copy the API key: