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.

Select the target project

  1. Sign in to the Google Cloud Console as an editor or AI platform editor who's assigned to the target project.
  2. Select the target project from the dropdown menu at the top of the dashboard.

Create an OAuth 2.0 client

  1. Select APIs & Services > OAuth consent screen from the left navigation menu.
  2. Select Clients from the left navigation menu.
  3. Click + Create client.
  4. Set the Application type to Web application.

Configure the web client and redirect URIs

  1. Enter a descriptive name for the client (for example, Gemini-Agent-Import-Client).
  2. 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
  3. 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

  1. Return to the OAuth consent screen.
  2. Select the Audience tab.
  3. 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.

Supported attributes

When you import AI agents from the Gemini Enterprise Agent Platform, Okta imports the following attributes:

Gemini attribute Okta variable name
Agent ID source.agentId
Create time source.createTime
Description source.description
Display name source.displayName
Identity source.identity
Location source.location
Name source.name
Protocols source.protocols
Runtime source.runtime
Skills source.skills
Status source.status
Type source.type
Update time source.updateTime
Version source.version