Kernlift

Google Gemini

Route text generation to Google Gemini.

Before you begin

An account with access to the provider and permission to edit the settings below in Kernlift.

Expected result — a text model you can route to chat.

Set up Google Gemini

Create an AI Studio key

Open Google Gemini. Select or import the Cloud project and create an API key.

Confirm model access

Confirm quota and copy a Gemini model ID available in the project.

Provider documentation · Google AI Studio API Keys

Configure the application

Open /admin/config/ai in the Kernlift admin console.

Value from providerAdmin field
API keyAPI key secret
Service endpointBase URL
Model IDModel ID

Add a provider scene for text, select Gemini protocol, enter the model ID, configure its price, and save. Assign the ready model to the chat scene.

Kernlift settings for Google Gemini

Verify

  1. Inspect Routing readiness for the model. Resolve any missing setting.
  2. Send a message through the assigned chat scene and confirm the model responds.

Troubleshooting

Chat fails with "Provider scene chat protocol is not configured"

The provider scene routed from the chat scene has no protocol or model ID. Set both on the provider scene.

Next steps

Connect an AI provider