# Gemini setup · for developers

Gemini adds Xale as a custom connector that registers itself and returns through Google's OAuth relay. The person's steps are on the people page; this page covers what happens underneath.

Checked 2026-12-02 · https://xale.app/docs/ai/gemini-setup-for-developers

## The steps

The person's steps, with the current labels, are on [Connect Gemini · step by step](https://xale.app/help/connect-gemini-step-by-step). In short: `gemini.google.com/customize/connectors`, **+ Custom**, **MCP Server URL** `https://xale.app/api/mcp`, **Next**, then Xale's allow page.

## Settings that matter

| Gemini's field | Use | Why |
| --- | --- | --- |
| **Client ID** | Leave empty | Gemini registers itself with dynamic client registration |
| **Client secret** | Leave empty | Xale registers public clients, so no secret is used |

If **+ Custom** isn't there, the Google account doesn't have custom connectors yet: Google limits them by country, age and account type.

## What Xale sees

| Detail | Value |
| --- | --- |
| Callback | Google's production relay, `https://oauth-redirect.googleusercontent.com/r/…` or `/a/…` |
| Google's sandbox and test relays | Gemini lists them beside production; Xale drops them at registration |
| Name on the allow page and in Settings › Connected apps | “A Google app, such as Gemini”: the relay proves Google, not which Google app |
| Protocol version | Gemini's newest is `2025-11-25`, which Xale supports |
| Starter Note title in [`test_my_connection`](https://xale.app/docs/ai/test-my-xale-connection-prompt) | “Hello from your AI” (Xale uses the app's own name for Claude, ChatGPT and Grok, and “your AI” for any other) |

## In a chat

The person types **@** and chooses Xale. Then test the connection: [Test the connection · first calls](https://xale.app/docs/ai/test-the-connection-first-calls).

## Related

- For people: [How do I connect Gemini to Xale?](https://xale.app/help/connect-gemini-step-by-step)
- Read next: [Dynamic client registration · details](https://xale.app/docs/ai/dynamic-client-registration-details)
- Read next: [Supported apps · Claude, ChatGPT, Gemini, Grok](https://xale.app/docs/ai/supported-apps-claude-chatgpt-gemini-grok)
