Skip to content

Google Gemini

To use Google Gemini as an AI provider in Team Edition, configure it as follows:

  1. Sign up on the Google Cloud Platform.
  2. Navigate to the Google Cloud Console and create a new project.
  3. Enable the Gemini API for your project by searching for the Gemini API in the marketplace and clicking Enable.
  4. Create credentials for your project by navigating to the Credentials page under APIs & Services. Choose Create credentials and select the appropriate type for your Gemini integration.
  5. Copy the generated credentials.
  6. In Team Edition, go to Window -> Preferences -> AI -> Model configurations.
  7. Click + and choose Google Gemini as the engine to create a profile.
  8. Insert the credentials.
  9. Click Test connection to verify that the token and model work correctly.
  10. Apply the changes.

Note

Google Gemini services are subject to regional availability. Check the list of available regions to ensure access in your area.

Settings

Setting Description Default
API token Input your secret key from the provider platform. You can create an API key in Google MakerSuite.
Model Choose the AI model. Models are loaded dynamically and can be refreshed using the Refresh models button next to the field. You can also type a model name manually.
Temperature Control AI's creativity from 0.0 (more precise) to 0.9 (more diverse).
Note that higher temperature can lead to less predictable results.
0.0
Request timeout (sec) Maximum time Team Edition waits for a response from the AI engine before the request fails; available under Advanced settings 30
Use environment variables Read supported environment variables to override saved settings; available under Advanced settings Off
Write Gemini queries to debug log Logs your AI requests. For more details on logging, see Log Viewer; available under Advanced settings disabled

Tip

If you use Gemini with a model that supports tool calling, AI tools are available.

Use environment variables

Variable Description
GOOGLE_API_KEY API token; used even if GEMINI_API_KEY is also set
GEMINI_API_KEY API token used if GOOGLE_API_KEY is not set
GOOGLE_GEMINI_BASE_URL API base URL; the default is https://generativelanguage.googleapis.com/v1beta/
GEMINI_MODEL Model name