Set up Gemini in Colab Enterprise for a project

Before you can use Gemini in Colab Enterprise, your team needs to activate Gemini in Colab Enterprise in a Google Cloud project, as described in this document. An administrator typically performs this step.

Activate Gemini in Colab Enterprise in a Google Cloud project

To activate Gemini in Colab Enterprise in a Google Cloud project, an administrator needs to enable the Gemini for Google Cloud API and grant the Gemini for Google Cloud User roles to users.

  1. To enable the Gemini for Google Cloud API, in the Google Cloud console, go to the Gemini for Google Cloud page.

    Go to Gemini for Google Cloud

  2. In the project selector, select a project.

  3. Click Enable.

    The page updates and shows a status of Enabled. Gemini is now available in the selected Google Cloud project to all users who have the required IAM roles.

  4. To grant the IAM roles that are required to use Gemini, go to the IAM & Admin page.

    Go to IAM & Admin

  5. In the Principal column, find a principal for which you want to give access to Gemini in Colab Enterprise, and then click Edit principal in that row.

  6. In the Edit access pane, click Add another role.

  7. In Select a role, select Gemini for Google Cloud User.

  8. Click Save.

All of the users who have been granted these roles can access Gemini for Google Cloud features in the Google Cloud console within the specified project. For more information, see Use Gemini for AI assistance and development.

Advanced setup tasks

Instead of using the Google Cloud console or the gcloud CLI to grant predefined IAM roles, you can do any of the following:

What's next