Gemini Enterprise Agent Platform (Vertex AI) prerequisites for the Google Gemini connector in Jitterbit Studio
Introduction
These are the prerequisites for authenticating with the Google Gemini connector using the Vertex AI platform option, which connects to the Gemini Enterprise Agent Platform (previously known as Vertex AI).
Note
Google Cloud Console access and a Google Cloud project are required for this configuration.
To connect using the AI Studio platform option instead, generate a Gemini API key at Google AI Studio and enter it in the connection configuration.
Create a service account
Follow these steps to create a service account and grant roles to provide access to the Google Cloud project to be used with the Google Gemini connector:
-
In the Google Cloud Console, create a Google Cloud project or select an existing project.
-
Enable the Agent Platform API for the selected project.
-
In the navigation menu, navigate to IAM & Admin > Service Accounts.
-
Click Create Service Account, located along the top of the page.
-
Enter the Service account details:
-
Service account name: Enter any string for the service account name.
-
Service account ID: This field is automatically populated to match the Service account name and can be edited, if desired.
-
Service account description: Enter a description for the service account.
-
-
Click Create and Continue.
-
Assign a role to allow access to the Gemini Enterprise Agent Platform (required for a successful connection in the Google Gemini connector):
- Role: Using the menu, select Agent Platform User (Vertex AI User) as the Role (
roles/aiplatform.user) to allow access to the Gemini Enterprise Agent Platform, then click Continue.
- Role: Using the menu, select Agent Platform User (Vertex AI User) as the Role (
-
Optionally, grant access to the service account to specific users.
-
Click Done.
Obtain service account credentials
Follow these steps to obtain the credentials required for connection configuration:
-
On the Service accounts page, click the Actions menu for the service account created above, then click Manage keys.
-
Click Add Key > Create new key, select JSON as the Key type, and then click Create to download the JSON key file to your computer.
-
Open the downloaded JSON file in a text editor and retain the values of
project_id,client_email, andprivate_keyto be used during connection configuration.
Enable RAG corpora
To use the RAG corpus feature in the Prompt activity, these additional prerequisites apply:
-
The RAG Engine must be enabled for your Google Cloud project.
-
One or more RAG corpora must already exist in your Google Cloud project before they can be selected in the Prompt activity configuration. See Create a RAG corpus in the Gemini Enterprise Agent Platform documentation for details.
-
The service account must have the RAG Engine User (Vertex AI RAG Engine User) role (
roles/aiplatform.ragEngineUser) assigned, in addition to the Agent Platform User role assigned above, to access RAG corpora.