> For the complete documentation index, see [llms.txt](https://docs.probe.splx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.probe.splx.ai/ai-red-teaming/probe/target/index/gemini.md).

# Gemini

## Selecting the Connection Type

Once you have [selected the Gemini as your connection type](/ai-red-teaming/probe/target/add-target/integration-setup.md#selecting-a-connection-type), a configuration tab will appear on the next step, prompting you to input the required connection details.

## Integration Setup

<figure><img src="/files/nw7rGNL3kA6EIPVn1RJL" alt=""><figcaption><p>Figure 1: Gemini Integration Example</p></figcaption></figure>

* S**ystem Prompt** - Your application’s system prompt. It sets the initial instructions or context for the AI model, defines the behavior, tone, and specific guidelines the AI should follow while interacting. For best practices, refer to the [OpenAI documentation on prompt engineering](https://platform.openai.com/docs/guides/prompt-engineering).
* **API Key** - Your Gemini API Key, which can be generated through Google AI Studio in the [Get API key section](https://aistudio.google.com/app/apikey).
* **Model** - Specify the Gemini model you intend to use by entering the ID found in the "Model Variant" column under the model's name in the [Model variants table](https://ai.google.dev/gemini-api/docs/models/gemini#model-variations).

For more information, you can explore the official [Gemini](https://ai.google.dev/gemini-api/docs) documentation.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.probe.splx.ai/ai-red-teaming/probe/target/index/gemini.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
