Skip to main content

Gemini AIProNew in 5.12+

This integration allows you to use Google Gemini's AI models for processing in form submissions.

Once you enable and configure an AI integration, the AI field type becomes available in your forms. Use it to provide a system prompt with instructions for how the model should process submission data (e.g., categorization, summarization, sentiment analysis, content generation). Specify the exact output format you need.

Setup Instructions

1

Create & get API Key from Gemini

Visit the Google AI Studio site to get your API key.

2

Configure the Integration

  • Go to the Integrations section in Freeform Settings (FreeformIntegrations).
  • Find Gemini in the list of service providers.
  • Copy and paste your API key into the integration in Freeform.
  • Select the AI model you want to use. The default is gemini-2.5-flash.
    • When choosing a model, consider that AI processing can potentially hold up form submission processing for the user submitting the form, so try to choose a more light-weight model.
  • Configure the max tokens, temperature, and cache settings. These can be overrided per form.
  • Click the Save button.
3

Authorize the Integration

  • After the integration is saved, you will see an Authorize button appear.
  • Click the Authorize button.
  • If authorized successfully, you'll see a green Authorized status at the top beside the integration name.
4

Configure the Form

To use this integration on your form(s), you'll need to configure each form individually.

  • Visit the form inside the form builder.
  • Click on the Integrations tab.
  • Click on Gemini in the list of available integrations.
  • On the right side of the page:
    • Enable the integration.
5

Add an AI Field

Finally, you'll need to add an AI field to your form. Check out the AI field documentation for further instruction.