Habilitar las herramientas de asistencia de código de Gemini
Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Este documento describe cómo habilitar las herramientas de Gemini Code Assist.Google Cloud Los administradores deben completar estos pasos para habilitar herramientas para desarrolladores en sus IDE.
Localice la herramienta que desea habilitar y haga clic en Habilitar . Se abrirá la página de detalles de la herramienta.
En la sección Configuración , seleccione una región para crear el conector de su cuenta de Developer Connect para la herramienta. Las regiones disponibles se enumeran en Ubicaciones de Developer Connect .
Haga clic en Habilitar .
La herramienta está habilitada.
Se le solicitará que se conecte a su cuenta para usar la herramienta en el IDE. Si desea usarla en el IDE, haga clic en "Conectar" y siga las instrucciones para conectar su cuenta. Puede omitir el paso de conexión si no desea usar la herramienta.
La herramienta está disponible para los desarrolladores en sus IDE. Los usuarios pueden autenticarse en las herramientas de Gemini Code Assist habilitadas solicitando la herramienta en el chat de Gemini Code Assist con @ TOOL_NAME . Donde TOOL_NAME es el nombre de la herramienta de Gemini Code Assist.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-06-11 (UTC)."],[],[],null,["# Enable Gemini Code Assist tools\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document describes how to enable Gemini Code Assist tools.\nGoogle Cloud administrators should complete these steps to enable tools for\ndevelopers in their IDEs.\n\nFor more information about tools, read the\n[Gemini Code Assist tools overview](/gemini/docs/codeassist/tools-agents/tools-overview). To configure tools\nfor use in your IDE, see\n[Configure Gemini Code Assist tools](/gemini/docs/codeassist/tools-agents/configure-tools).\n\nBefore you begin\n----------------\n\n1. [Set up Gemini Code Assist](/gemini/docs/discover/set-up-gemini).\n2.\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n3.\n\n\n Enable the Developer Connect API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=developerconnect.googleapis.com)\n Developer Connect is used to create connections between user accounts and Gemini Code Assist tool services.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to enable Gemini Code Assist tools,\n\nask your administrator to grant you the\n\n\n[Gemini Code Assist Tools Admin](/iam/docs/roles-permissions/cloudaicompanion#cloudaicompanion.codeToolsAdmin) (`roles/cloudaicompanion.codeToolsAdmin`)\nIAM role on the Google Cloud project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nEnable tools\n------------\n\n1. In the Google Cloud console, go to the Gemini Code Assist **Tools**\n page.\n\n\n [Go to Tools](https://console.cloud.google.com/gemini-code-assist/agents-tools)\n\n \u003cbr /\u003e\n\n2. Locate the tool you want to enable and then click **Enable**. The tool\n details page opens.\n\n3. In the **Configuration** section, select a region to create your\n Developer Connect account connector in for the tool. The available\n regions are listed in\n [Developer Connect locations](/developer-connect/docs/locations).\n\n4. Click **Enable**.\n\n The tool is enabled.\n\n You are prompted to connect to your account to use the tool in the\n IDE. If you want to use the tool in the IDE, then click **Connect** and\n follow the instructions to connect your account. You can skip the connection\n step if you don't want to use the tool.\n5. Grant your developers the\n [Gemini Code Assist Tools User](https://cloud.google.com/iam/docs/roles-permissions/cloudaicompanion#cloudaicompanion.codeToolsUser) (`roles/cloudaicompanion.codeToolsUser`) role on the Google Cloud\n project.\n\n The tool is available to developers in their IDEs. Users can authenticate to\n enabled Gemini Code Assist tools by prompting the tool in the\n Gemini Code Assist chat with `@`\u003cvar translate=\"no\"\u003eTOOL_NAME\u003c/var\u003e. Where\n \u003cvar translate=\"no\"\u003eTOOL_NAME\u003c/var\u003e is the name of the Gemini Code Assist tool.\n\nWhat's next\n-----------\n\n- [Configure Gemini Code Assist tools](/gemini/docs/codeassist/tools-agents/configure-tools).\n- [Get Started with Gemini Code Assist tools](/gemini/docs/codeassist/tools-agents/get-started-with-tools)."]]