Skip to main content

Connect to Google Gemini

Configure Google AI models for Retool AI.

You can get started with Retool AI without needing any API credentials using the Retool-managed OpenAI connection. This enables you to evaluate and test AI queries before using them in production. When you're ready to use Retool AI in production, configure Google Gemini with your own API credentials.

Set up your Google Gemini credentials

To configure Google with your API credentials:

  1. Navigate to the Resources tab and select Retool AI.
  2. Click Set up for the Google platform.
  3. Enter the required credentials.
  4. Click Enable.
  5. (Optional) Update the Default model setting to use this model for Ask AI, workflow generation, and new AI Actions.

You can retrieve your Google API key from either the Google AI Studio dashboard.

Where possible, create API credentials for each service you use to interact with your chosen AI platform. This allows you to best manage and revoke access without disruption. All API credentials used with Retool are encrypted and stored securely.