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 one of the supported platforms with your own API credentials.

Set up your AI platform credentials

To configure an AI platform with your API key, navigate to the Resources tab and select Retool AI. Select the AI model below for configuration instructions.

To configure Google with your API credentials:

  1. Navigate to the Resources tab and select Retool AI.
  2. Click Edit for the Google platform.
  3. Enter the required credentials.
  4. Click Enable.

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.