Gemini Connector Guide > Gemini connections > Gemini connection properties
  

Gemini connection properties

To use the Gemini API, you need an API key and API version to access the Gemini instance.
The following table defines the Gemini connection properties that you must configure in the Connection Properties section:
Property
Description
API_Key
API key to authenticate Gemini connection requests.
API_Version
The Gemini API version. For example: v1, v1beta.

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:
    The 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:
    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:
    The image shows the Copy option to copy the API key.