Skip to main content

Google Vertex AI (Gemini)

With Google Vertex AI (Gemini) modules in Make, you can create text prompts (text-bison), chat prompts (chat-bison and gemini-pro), and analyze images and video.

To get started, you must have a Google account and an existing Google Cloud project in the Google Cloud Platform with the Vertex AI Gemini API and billing enabled. For more information on how to enable these items, see the Connect Google Vertex AI (Gemini) to Make section.

You can create a Google account at account.google.com.

Refer to the Vertex AI Gemini API documentation for a list of available endpoints.

Note

Make's use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy.

Connect Google Vertex AI (Gemini) to Make

To establish the connection, you must

Create a Google Cloud Platform project for Google Vertex AI (Gemini)

To create a Google Cloud Platform project:

  1. Log in to the Google Cloud Platform using your Google credentials.

  2. On the welcome page, click Create or select a project > New project.

  3. Enter a Project name and select the Location for your project.

  4. Click Create.

  5. In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.

Note

To create a new project or work in the existing one, you need to have the serviceusage.services.enable permission. If you don’t have this permission, ask the Google Cloud Platform Project Owner or Project IAM Admin to grant it to you.

Enable API for Google Vertex AI (Gemini)

To enable the required API:

  1. Open the left navigation menu and go to APIs & Services > Library.

  2. Search for the following API: Vertex AI Gemini API.

  3. Click Vertex AI Gemini API, then click Enable.

  4. If your project's billing has not yet been enabled, a Billing required prompt will appear. Click the Enable Billing button and complete the enabling process.

    As an alternative, you can enable billing in your Google Cloud Platform here.

    For more information regarding billing, refer to the Google Cloud Billing guide.

Establish the connection with Google Vertex AI (Gemini) in Make

To establish the connection in Make:

  1. Log in to your Make account, add a Google Vertex AI (Gemini) module to your scenario, and click Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. Optional: Switch on the Show advanced settings toggle and enter your Google Cloud Platform project client credentials. For more information, see the Create and configure a Google Cloud Platform project for Google Vertex AI (Gemini) section below.

  4. Click Sign in with Google.

  5. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more Google Vertex AI (Gemini) modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

To connect to Make using your own client credentials, you can create and configure a project in the Google Cloud Platform.

Create your Google Vertex AI (Gemini) client credentials

To create your client credentials:

  1. In Google Auth Platform, click Clients.

  2. Click + Create Client.

  3. In the Application type dropdown, select Web application.

  4. Update the Name of your OAuth client. This will help you identify it in the platform.

  5. In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI: https://www.make.com/oauth/cb/google-vertex-ai.

  6. Click Create.

  7. Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.

You will use these values in the Client ID and Client Secret fields in Make.

Build Google Vertex AI (Gemini) Scenarios

After connecting the app, you can perform the following actions:

Actions
  • Create a Text Prompt (text-bison)

  • Create a Chat Prompt (chat-bison)

  • Analyze Image/Video

  • Create a Chat Prompt (gemini-pro)

  • Make an API Call