Configure Gemini Enterprise Agent Platform for AI agent imports
To import AI agents from Gemini Enterprise Agent Platform, you need to create an OAuth 2.0 client in the Google Cloud Console. Then, you retrieve the client credentials and configure test user access.
After you've completed these configurations, follow the steps in Enable AI agent imports for an app.
The Google Workspace app integration only imports AI agents that were built in the Vertex AI Agent Engine.
Select the target project
- Sign in to the Google Cloud Console as an editor or AI platform editor who's assigned to the target project.
- Select the target project from the dropdown menu at the top of the dashboard.
Create an OAuth 2.0 client
- Select from the left navigation menu.
- Select Clients from the left navigation menu.
- Click + Create client.
- Set the Application type to Web application.
Configure the web client and redirect URIs
- Enter a descriptive name for the client (for example, Gemini-Agent-Import-Client).
- In Authorized redirect URIs, select Add URI and enter the
following callback URL, replacing
{domain}with your Okta org's root URL:{domain}/oauth2/v1/sts/callback - Click Create.
Retrieve your credentials
In the OAuth client created dialog, copy the unique Client ID and Client Secret values for the project and store them in a secure location. You need these values to complete the app configuration in Okta.
Configure audience and test user provisioning
- Return to the OAuth consent screen.
- Select the Audience tab.
- Complete one of the following steps based on your configured user type:
- If the user type is External: Scroll to the Test users section, select + Add Users, and enter the email addresses of the accounts that need access.
- If the user type is Internal: No additional configuration is required. All users in your Google Workspace org have access.