Instructions et exigences de configuration de l'atelier
Protégez votre compte et votre progression. Utilisez toujours une fenêtre de navigation privée et les identifiants de l'atelier pour exécuter cet atelier.

Deploy and Query Google Gemini Enterprise

Atelier 1 heure 30 minutes universal_currency_alt 5 crédits show_chart Intermédiaire
info Cet atelier peut intégrer des outils d'IA pour vous accompagner dans votre apprentissage.
Ce contenu n'est pas encore optimisé pour les appareils mobiles.
Pour une expérience optimale, veuillez accéder à notre site sur un ordinateur de bureau en utilisant un lien envoyé par e-mail.

GENAI082

Overview

In this lab, you will deploy a Gemini Enterprise app connected to a Google Drive data store and use the AI assistant to locate information from within your organization.

For this lab, you’ll take on the role of a scientific conference organizer planning a conference to discuss the discovery of an exciting new exoplanet.

Note: To avoid confusion between your professional Google Identity and any other temporary Qwiklabs student accounts, it is strongly recommended that you utilize a new Incognito window for the Google Cloud console and Google Drive tabs you will use in this lab. To do this easily in Chrome, after starting the lab, right-click on the “Open Google Cloud console” button and select “Open link in incognito window”.

Objectives

In this lab, you learn how to:

  • Configure an identity provider for Gemini Enterprise
  • Create a Google Drive data store
  • Create a Gemini Enterprise app
  • Use the AI assistant to find, summarize, and extract content from a data store
  • Create a calendar invite with an assistant action

Setup and requirements

Before you click the Start Lab button

Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources will be made available to you.

This Qwiklabs hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab.

What you need

To complete this lab, you need:

  • Access to a standard internet browser (Chrome browser recommended).
  • Time to complete the lab.

Note: If you already have your own personal Google Cloud account or project, do not use it for this lab.

Note: If you are using a Pixelbook, open an Incognito window to run this lab.

How to start your lab and sign in to the Google Cloud console

  1. Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:

    • The Open Google Cloud console button
    • Time remaining
    • The temporary credentials that you must use for this lab
    • Other information, if needed, to step through this lab
  2. Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).

    The lab spins up resources, and then opens another tab that shows the Sign in page.

    Tip: Arrange the tabs in separate windows, side-by-side.

    Note: If you see the Choose an account dialog, click Use Another Account.
  3. If necessary, copy the Username below and paste it into the Sign in dialog.

    {{{user_0.username | "Username"}}}

    You can also find the Username in the Lab Details pane.

  4. Click Next.

  5. Copy the Password below and paste it into the Welcome dialog.

    {{{user_0.password | "Password"}}}

    You can also find the Password in the Lab Details pane.

  6. Click Next.

    Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials. Note: Using your own Google Cloud account for this lab may incur extra charges.
  7. Click through the subsequent pages:

    • Accept the terms and conditions.
    • Do not add recovery options or two-factor authentication (because this is a temporary account).
    • Do not sign up for free trials.

After a few moments, the Google Cloud console opens in this tab.

Note: To access Google Cloud products and services, click the Navigation menu or type the service or product name in the Search field. Navigation menu icon and Search field

Task 1. Add content to Google Drive and Google Calendar

  1. Navigate to Cloud Storage > Buckets and click on the existing bucket with the name:.

  2. Download the files listed below to your local system to use as demo data:

    • PlanetCon_Persephone.docx
    • Persephone_Analysis_Report.pdf
  3. In the Incognito window where you have logged into the Google Cloud console, create a new tab and navigate to drive.google.com.

  4. Upload the documents you downloaded from Cloud Storage to your Google Drive.

    These documents relate to the imaginary discovery of a new planet named "Persephone." You are organizing a scientific conference to discuss this discovery.

  5. In the same Incognito window, create a new tab, and navigate to calendar.google.com. Accept or dismiss any pop-ups.

  6. Ensure you are authenticated as your Qwiklabs student account by clicking the “s” in the circle in the upper right corner and confirming it is your account.

    Student Account

  7. In the upper left, click + Create and select Event from the dropdown menu.

  8. In the event-creation window that appears, name the event as Astronomers Lunch Planning Meeting, and set a start time of at least one hour from now.

    Event

  9. Select Save.

Click Check my progress to verify the objective. Add the downloaded documents to your Drive and an event to your Calendar

Task 2. Configure an Identity Provider

  1. In the Google Cloud Console, navigate to the Gemini Enterprise page by searching for it at the top of the console.

  2. Click Start 30-day free trial and then Continue and activate the API.

  3. Select Settings from the left-hand navigation pane.

  4. On the row for the global location, click the pencil icon Edit Button.

  5. Select Google Identity as your identity provider.

    Identity Provider

  6. Select Save.

Click Check my progress to verify the objective. Configure an Gemini Enterprise identity provider

Task 3. Set up an OAuth Consent Screen and Create client

In order for the AI assistant to take actions on a user’s behalf, the user must grant access to your enterprise search and assistant app. To configure the OAuth consent screen and client, follow the following steps:

  1. In the search bar at the top of the Cloud Console, search for the Google Auth Platform and select it.

    Google Auth Platform

  2. Click Get started.

  3. For App Name, enter Scientific Conferences App.

  4. For the user support email, select your Qwiklabs student account .

  5. Click Next.

  6. In the Audience section, select an Internal Audience.

  7. Click Next.

  8. In the Contact Information section, provide your Qwiklabs student account again (). Click Next.

  9. In the Finish section, agree to the terms.

  10. Click Create to create your OAuth consent screen.

  11. Your Google Auth Platform dashboard will display a banner that you haven’t created any clients yet. Select Create OAuth Client. If you don’t see this banner, select Clients on the left and then + Create Client.

    OAuth Client

  12. Select an Application type of Web application.

  13. Name the client Gemini App Client.

  14. Under Authorized redirect URIs, add https://vertexaisearch.cloud.google.com/oauth-redirect

  15. Click Create.

    Application
  16. Once the OAuth client is created, a popup will display the client information. Copy the Client ID and Client Secret, and save them in a text document—you will need them shortly to enable actions.

Click Check my progress to verify the objective. Set up an OAuth Consent Screen and create a client

Task 4. Create Google Drive and Google Calendar Data Stores

  1. Return to the Gemini Enterprise console and select Data stores from the left-hand navigation pane.

  2. Select + Create data store.

  3. Locate the Google Drive card and click Select.

    Google Drive
  4. For Choose drives you want to sync, select All.

    Note: When adding Google Drive as a Gemini Enterprise data store, you will still only have access to the documents that have been shared with you via existing Drive permissions, and others will only have access to your documents that you have shared with them.
  5. Click Continue.

  6. Keep the default region as global, and for the Data connector name enter Google Drive and click Create.

  7. Once again click + Create data store, and this time select the card for Google Calendar.

  8. When asked to enter a Client ID and Client Secret to enable actions, use the values you saved from the OAuth client you created in the previous task.

    Configuration

  9. Click the Verify Auth button.

  10. Complete the OAuth sign-in flow in the pop-up consent screen using the Qwiklabs student account to grant the required permissions for the data store to take Google Calendar actions on this account's behalf.

  11. Once you have verified the authentication details, select the checkboxes to enable the available Calendar actions and click Continue.

  12. Keep the default region as global and for the Data connector name enter Google Calendar.

  13. Click Create. The two data stores should be listed in the Gemini Enterprise > Data Stores panel.

    Listed data stores

Click Check my progress to verify the objective. Enable a Google Calender action

Task 5. Deploy a Gemini Enterprise app

  1. From the Gemini Enterprise menu, select Apps from the left-hand navigation pane.

  2. Select Create a new app.

  3. Name your app Scientific Conferences App.

  4. Under Advanced Options, for a company name, enter Scientific Conferences.

  5. Click on Create.

  6. From the left-hand navigation pane, click on Connected data stores > Add existing data stores.

  7. Select the checkbox for the Google Drive and Google Calendar data stores you created earlier and click on Connect.

Click Check my progress to verify the objective. Deploy a Gemini Enterprise app

Task 6. Query your Gemini Enterprise Assistant

  1. Return to the Data stores > Google Calendar detail page. You will be ready to proceed when this data store's Connector state and Action state both show a status of Active.

    An active calendar action

  2. Click on the Gemini Enterprise logo, then your app Scientific Conferences App

  3. Click the URL displayed on the Overview tab to open it in a new browser tab.

  4. At the bottom of the query bar, click the Connectors icon (Connectors icon).

  5. Next to the Calendar data store, click Enable actions. If it does not appear yet, you may need to wait a little longer and refresh the page to see this option.

    Connectors enable actions
  6. An OAuth popup will appear. Use your Qwiklabs student account to authorize the requested access.

  7. At the bottom of the query bar, click the Connectors icon (Connectors icon) again.

  8. For this query, you would like to only search your proprietary data, so toggle the Google Search connector to off.

  9. Use the query bar to enter the following query:

    What topics will be discussed at PlanetCon Persephone?
  10. You should see an answer generated by the app. To view the relevant supporting documents:

    Sample Output:

    Search Result 1

  11. Scroll down to the bottom of the answer and click on Sources to reveal the associated documents.

    Sources

  12. Enter a different prompt in the primary search bar:

    What is the size of Persephone compared to Earth?
  13. You should see a result that extracts the information you are looking for from the Persephone Analysis Report.pdf document you uploaded to your drive. Remember, there is no real exoplanet Persephone, so you know the model is not relying on training data, but is finding information in your uploaded data. You can further validate this by clicking the link icon and the card that appears below the response to be taken directly to the file that serves as the source of this information.

    Sample Output:

    Search Result 2

  14. When you don’t have time to review a document, you can use the Gemini Enterprise AI assistant to create a useful summary for you. In the search bar, type: Summarize @. When you type the @ symbol, a pop-up will display files.

    File selector
  15. Select the file Persephone_Analysis_Report and press enter to submit the query.

  16. Review the assistant’s response.

  17. In the search bar, enter the following:

    Create a 1-hour meeting tomorrow at 10am for exoplanet-research@qwiklabs.net to review conference presentation proposals.
  18. The assistant will prepare a template calendar event for you to approve. Click the check mark to approve it.

    Approve Action

  19. Return to your calendar.google.com tab to see the meeting appear on your calendar.

Congratulations!

In this lab, you’ve learned how to deploy Gemini Enterprise to utilize Google’s combined expertise in search, generative AI, and cloud infrastructure to ease knowledge exchange throughout your organization.

Manual Last Updated February 24, 2026

Lab Last Tested February 24, 2026

Copyright 2023 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.

Avant de commencer

  1. Les ateliers créent un projet Google Cloud et des ressources pour une durée déterminée.
  2. Les ateliers doivent être effectués dans le délai imparti et ne peuvent pas être mis en pause. Si vous quittez l'atelier, vous devrez le recommencer depuis le début.
  3. En haut à gauche de l'écran, cliquez sur Démarrer l'atelier pour commencer.

Utilisez la navigation privée

  1. Copiez le nom d'utilisateur et le mot de passe fournis pour l'atelier
  2. Cliquez sur Ouvrir la console en navigation privée

Connectez-vous à la console

  1. Connectez-vous à l'aide des identifiants qui vous ont été attribués pour l'atelier. L'utilisation d'autres identifiants peut entraîner des erreurs ou des frais.
  2. Acceptez les conditions d'utilisation et ignorez la page concernant les ressources de récupération des données.
  3. Ne cliquez pas sur Terminer l'atelier, à moins que vous n'ayez terminé l'atelier ou que vous ne vouliez le recommencer, car cela effacera votre travail et supprimera le projet.

Ce contenu n'est pas disponible pour le moment

Nous vous préviendrons par e-mail lorsqu'il sera disponible

Parfait !

Nous vous contacterons par e-mail s'il devient disponible

Un atelier à la fois

Confirmez pour mettre fin à tous les ateliers existants et démarrer celui-ci

Utilisez la navigation privée pour effectuer l'atelier

Le meilleur moyen d'exécuter cet atelier consiste à utiliser une fenêtre de navigation privée. Vous éviterez ainsi les conflits entre votre compte personnel et le compte temporaire de participant, qui pourraient entraîner des frais supplémentaires facturés sur votre compte personnel.