Google Gemini

Connect Google Gemini to Glide.

The Google Gemini integration integrate’s Google’s Gemini AI model directly into Glide apps. Gemini is a generative AI tool built on large language models. You can read more about Gemini and the available models here.

Don't see the Gemini integration?

You may need to upgrade your plan. Browse Glide's plans and find the right fit for you.

Adding the Integration

To add the integration, you’ll first need a Google account with access to the Gemini web app. If you have a Workspace account, you may not have access. You can review the different types of access from Google here.

Once you have created an API key in Google AI Studio, you can add the integration to your Glide app.

  1. In Glide, click the Settings icon in the upper-right corner.

  2. Navigate to the Integrations tab and then select Google Gemini.

  3. Click the Add to app button.

  4. Paste the API key you want to use from Google AI Studio.

  5. Click away to exit the configuration.

Generate Text

The Generate Text feature will generate a text output in response to a message input. You can also enable Gemini’s code execution ability in the advanced configuration settings.

The feature can be configured as a column in the Data Editor or as an action in the Layout or Workflow Editor.

In the Data Editor

  1. In the Data Editor, open the table you want to edit.

  2. Add a new column by clicking the (+) plus symbol to the right of the table.

  3. Give the column a name.

  4. For type, search for Generate Text or navigate to Integrations → Google Gemini → Generate Text.

    • Note that there are other integrations that have a Generate Text feature. Make sure to pick the correct one.

  5. Select a source for the input Message or enter a custom value.

  6. Choose a Gemini model.

  7. Select Save.

There are optional advanced settings you can also configure. Max Tokens will limit the maximum number of tokens generated. Adjusting the Temperature will change the randomness or variability of each response. Enabling Code Execution will leverage Gemini’s ability to execute code.

In the Layout Editor

  1. Create a column in your data to house the generated result.

  2. Click on the plus (+) sign in the Component panel to add a new component that supports actions, or select an existing component to add an action.

  3. In the General tab on the right side of the Layout Editor, navigate to the Actions section and search for Generate Text or navigate to Integrations → Google Gemini → Generate Text.

    • Note that there are other integrations that have a Generate Text feature. Make sure to pick the correct one.

  4. Choose an icon.

  5. Name the action.

  6. Select a source for the input Message or enter a custom value.

  7. Choose a Gemini model.

  8. Choose where to store the generated results.

  9. Click away to exit the configuration.

There are optional advanced settings you can also configure. Max Tokens will limit the maximum number of tokens generated. Adjusting the Temperature will change the randomness or variability of each response. Enabling Code Execution will leverage Gemini’s ability to execute code.

In the Workflow Editor

  1. Create a column in your data to house the generated result.

  2. Select the (+) plus symbol or the + New Workflow button and choose a trigger.

  3. Search for Generate Text or navigate to Integrations → Google Gemini → Generate Text.

    • Note that there are other integrations that have a Generate Text feature. Make sure to pick the correct one.

  4. Select a source for the input Message or enter a custom value.

  5. Choose a Gemini model.

  6. Choose where to store the generated results.

  7. Click away to exit the configuration.

There are optional advanced settings you can also configure. Max Tokens will limit the maximum number of tokens generated. Adjusting the Temperature will change the randomness or variability of each response. Enabling Code Execution will leverage Gemini’s ability to execute code.

To learn more generally about Integrations in Glide, including how they affect your app’s usage, check out our Introduction to Integrations.

Frequently Asked Questions

Have a question about Google Gemini? Ask the Glide community.
Need more help? Hire an Expert.

Updated more than a week ago
Was this article helpful?