> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifuse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Gemini

> Configure Google Gemini to power blog content creation and email generation in Notifuse.

<img src="https://mintcdn.com/notifuse/OwJMG6eaxLSiJutx/assets/integrations/gemini.svg?fit=max&auto=format&n=OwJMG6eaxLSiJutx&q=85&s=5550039cb88df8bba4e71c7b9317e74d" alt="Google Gemini" style={{ height: '24px' }} width="288" height="65" data-path="assets/integrations/gemini.svg" />

The Google Gemini integration enables AI-powered features across Notifuse using Google's Gemini models. This integration powers the AI agent for blog content creation and email generation.

## Configuration

Navigate to **Settings** → **Integrations** → **Add Integration** → **Google Gemini**.

### Form Fields

| Field       | Description                                        | Example                  |
| ----------- | -------------------------------------------------- | ------------------------ |
| **API Key** | Your Gemini API key (Gemini Developer API)         | `AIza...`                |
| **Model**   | Pick a suggested model or type any Gemini model ID | `gemini-3.1-pro-preview` |

The **Model** field is a free-text input with suggestions, so you can enter any current Gemini model ID without waiting for a Notifuse update.

### Recommended Model

| Model              | Description                                                           | \$ Pricing (per MTok) |
| ------------------ | --------------------------------------------------------------------- | --------------------- |
| **Gemini 3.1 Pro** | Most capable model — recommended for the AI agent's structured output | $2 input / $12 output |

<Warning>
  The AI agent generates structured MJML email templates and full blog posts with HTML formatting. Only capable models such as **Gemini Pro** are smart enough to produce correct output. Lighter **Flash** / **Flash-Lite** models often generate broken templates or malformed content, so they are not recommended for the agent.
</Warning>

## Features Enabled

Once configured, the Google Gemini integration enables the following AI-powered features:

### Blog AI Agent

The AI agent can assist with blog content creation:

| Feature              | Description                                                                 |
| -------------------- | --------------------------------------------------------------------------- |
| **Write blog posts** | Generate complete blog articles based on topics or brief descriptions       |
| **SEO optimization** | Automatically generate SEO-friendly meta titles, descriptions, and keywords |
| **Content editing**  | Improve, expand, or summarize existing content                              |

### Email Editor AI

Generate emails automatically using AI:

| Feature                | Description                                             |
| ---------------------- | ------------------------------------------------------- |
| **Email generation**   | Create email content from prompts or descriptions       |
| **Subject lines**      | Generate compelling subject lines for better open rates |
| **Content variations** | Create multiple versions for A/B testing                |

## Enhanced with Firecrawl

The Google Gemini AI agent can be enhanced by adding the [Firecrawl integration](/integrations/firecrawl). This gives the AI agent web access capabilities:

| Capability               | Description                                           |
| ------------------------ | ----------------------------------------------------- |
| **Web research**         | Search the web for current information and trends     |
| **URL scraping**         | Extract content from specific web pages for reference |
| **Competitive analysis** | Research competitor content and strategies            |
| **Fact verification**    | Verify claims against current web sources             |

When Firecrawl is configured, the following tools become available to the AI agent:

| Tool         | Description                                       |
| ------------ | ------------------------------------------------- |
| `scrape_url` | Scrapes a URL and returns its content as markdown |
| `search_web` | Searches the web and returns relevant URLs        |

## Prerequisites

Before configuring Google Gemini:

1. **Google AI Studio Account**: Create an account at [aistudio.google.com](https://aistudio.google.com)
2. **API Key**: Generate an API key from [Google AI Studio](https://aistudio.google.com/apikey)
3. **Quota / Billing**: Ensure your project has sufficient quota or billing enabled for the chosen model

## Usage Notes

<Note>
  API calls to Gemini count toward your Google AI usage. Monitor your usage in [Google AI Studio](https://aistudio.google.com) to manage costs.
</Note>

<Tip>
  Preview models such as `gemini-3.1-pro-preview` evolve over time. If a model ID is rejected, check the current list in the [Gemini API models documentation](https://ai.google.dev/gemini-api/docs/models) and enter it in the **Model** field.
</Tip>
