Gemini Code Assist is an AI-powered collaborator in Google Cloud that provides help to users of all skill levels where they need it. In Application Integration, Gemini Code Assist can assist you to do the following:
For detailed information about Gemini for Google Cloud, see Gemini for Google Cloud overview.
The following image shows the Application Integration page:
To get the permissions that
you need to use Gemini,
ask your administrator to grant you the
Gemini for Google Cloud User (roles/cloudaicompanion.user) IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
roles/apigeeregistry.viewer) on the project that contains the APIs.roles/connectors.viewer) on the project.Gemini also assists you to create the following control flow tasks but can't generate sub-integrations:
Gemini assists you to create and build integrations using your natural language statements (or prompts) as input. This allows you to create and build simple to complex integrations quickly and with minimal manual configurations.
Provide Gemini a brief prompt or description of the integration flow that you intent to build and Gemini will suggest one or more integration flows to help you get started.
To build an integration using Gemini, perform the following steps:
Alternatively, on the Create Integration page, create a new integration and then on the integration editor, click pen_spark Create integration flows with Gemini to use Gemini.
For example, suppose you added the following prompt: Create an integration which fetches a jira issue and then creates the zendesk ticket.
The following diagram shows the Create an integration with Gemini pane with the suggestions provided by Gemini:
Use the Previous and Next buttons to view the suggestions provided.
You can use Gemini to provide contextual recommendations for your existing integrations. Gemini can assist you to provide contextually appropriate connector configuration recommendations based on the logical flow of your existing integration. If a connection in your integration has more than 1000 entities, then that connector isn't included in the recommendations by Gemini. For more limitations, see Limitations.
Gemini can assist you to provide contextually appropriate connector configuration recommendations based on the logical flow of your existing integration. If a connection in your integration has more than 1000 entities, then that connector isn't included in the recommendations by Gemini. For more limitations, see Limitations.
You can configure connector configuration with the Gemini recommended replacements, or you can interact with Gemini (using prompts) and ask for the desired configuration suggestions.
To configure a connector task in your integration using Gemini, perform the following steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
A pop-up menu, similar to the following image, appears displaying a set of Gemini recommendations.
If you have API Hub enabled in your project, then Gemini in Application Integration can assist you in providing contextually appropriate Call REST Endpoint task and task configuration recommendations based on the logical flow of your existing integration. You can leverage these recommendations to directly replace your existing tasks or modify them without the need of going through any manual configuration process.
You can either directly replace an existing task or a task configuration with the Gemini recommended replacements, or you can interact with Gemini (using prompts) and ask for the desired task suggestions.
After you have met all prerequisites, to replace or modify an existing task in your integration using Gemini, perform the following steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
A pop-up menu, similar to the following image, appears displaying a set of Gemini recommendations.
Gemini directly replaces your selected task or modifies it without any additional configurations.
You can use Gemini to append new tasks and to add edge conditions to your existing integration flow.
To add an edge condition or to append new tasks to your integration using Gemini, perform the following steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
A pop-up menu, similar to the following image, appears prompting you to provide an input.
Here is a sample prompt that you can use:
If order qty>100, send an emailGemini automatically inserts the qualified edge conditions and configures the additional tasks from the selected edge in your existing integration.
If you din't like the suggested inserts or additions, click Cancel .
You can use Gemini to configure JavaScript tasks in your integration. Gemini can assist you in providing contextually appropriate JavaScript task configuration recommendations based on the logical flow of your existing integration. You can leverage these recommendations to directly replace your existing tasks or modify them without the need of going through any manual configuration process.
The JavaScript task lets you write custom JavaScript code snippets for your integration. To add the code snippets using Gemini, follow these steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
Suppose that you want to process a customer order. Your intgeration contains the customer and item variables. To create an order, you can enter a prompt similar to the following:
Create order using customer and items.
Gemini suggests one or more code snippets that qualifies your prompt. Use the Previous and Next buttons to view the suggestions provided.
The JavaScript task lets you write custom JavaScript code snippets for your integration. To add the code snippets using Gemini, follow these steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
Suppose that you want to log in the order when the cost of the order is greater than 100. Then, you can enter a prompt similar to the following:
Log in the order when the cost is greater than 100.
Gemini suggests one or more code snipptes that qualifies your prompt. Use the Previous and Next buttons to view the suggestions provided.
Gemini can help you understand the code snippet in the JavaScript task. To do so, follow these steps:
If you want to understand a part of the code, you can select the part of the snippet that you want to understand and click spark > info_spark Help me understand.
The Gemini pane appears:
The integration description feature available in Gemini in Application Integration provides a description summary of the integration that you've created in your integration editor. The integration description summary is generated in plain language and can help you in understanding the overall integration use case, underlying orchestration, and business context which might be difficult to assess due to the structure or complexity of an integration.
To generate an integration description summary of your integration using Gemini, perform the following steps:
The Integrations page appears listing all the integrations available in the Google Cloud project.
Gemini parses through the integration in your integration editor and generates a detailed summary description similar to the following image.
Verify and validate the integration (including the variables) before running it.
For information about quotas and limits, see Quotas and limits.
Gemini in Application Integration is subject to the following limitations:
You can get support or provide contextual feedback while using Gemini for building integration. This information helps us improve Gemini.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-09 UTC.