Skip to main content
Connect Gemini CLI to your organization’s gateway. The wizard configures its models and optional MCP servers and Skills.

Run setup

With Gemini CLI installed, install the setup tool, then run:
Sign in to your organization, choose the models recommended by your administrator and any MCP servers or Skills you need, then review and approve the changes. You can skip MCP servers and Skills. See the overview for the shared wizard walkthrough.
Gemini CLI setup wizard showing available models and the default model

Example Gemini Pro and Flash models; use your organization's model IDs.

Open Gemini CLI

Open a new terminal and launch Gemini CLI normally. Follow any remaining actions in the completion summary.

Optional: authorize MCP servers

Inside Gemini CLI, run /mcp auth <server-name> for any selected server that requires sign-in. Replace <server-name> with the configured server’s name.

Verify the connection

Select your configured model in a new conversation and ask: Reply exactly TFY-CHAT-OK. Do not use tools. Confirm that a response arrives without an authentication or model error. Then verify the request in the gateway. For manual configuration and advanced options, see the Gemini CLI integration guide.