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

# Gemini Provider

> The Gemini Provider allows for integrating Google's Gemini language models into Keep.

<Tip>
  The Gemini Provider supports querying Gemini language models for prompt-based
  interactions.
</Tip>

## Authentication

This provider requires authentication.

* **api\_key**: Google AI API Key (required: True, sensitive: True)

## In workflows

This provider can be used in workflows.

As "step" to query data, example:

```yaml theme={null}
steps:
    - name: Query gemini
      provider: gemini
      config: "{{ provider.my_provider_name }}"
      with:
        prompt: {value}  
        model: {value}  
        max_tokens: {value}  
        structured_output_format: {value}  
```

If you need workflow examples with this provider, please raise a [GitHub issue](https://github.com/keephq/keep/issues).

## Connecting with the Provider

To connect to Gemini, you'll need to obtain an API Key:

1. Go to [Google AI Studio](https://makersuite.google.com/app/apikey).
2. Click on **Create API Key** or use an existing one.
3. Copy your API key for Keep.

Use the generated API key in the `authentication` section of your Gemini Provider configuration.
