Premium Feature — AI-backed features are available in SM Professional, LIMS Starter, LIMS Enterprise, Biologics LIMS, SDMS Professional, and SDMS Enterprise. Learn more or contact LabKey.

AI-backed features add machine-assisted help directly into product workflows, such as the Expression AI Assistant available when defining calculated columns. This topic covers enabling the feature and, for on-premise deployments, supplying the API key it requires.

Enable AI-Backed Product Features

  • Select > Site > Admin Console.
  • Under Configuration, click Optional Features.
  • Place a checkmark next to AI-backed product features are available.
Note enable the MCP server controls a separate feature (external AI agent access to LabKey data).

Configure a Gemini API Key (On-Premise Deployments)

To enable AI-backed features, on-premise (self-hosted) deployments must supply their own API key for Google's Gemini model, currently the only supported engine.

Provide the key using an environment variable:

  • Set the GEMINI_API_KEY environment variable to your key value, in a way that's accessible to you server
  • Start your server

Confirm Configuration

Once configured, you can check the status via a couple pages:

  • > Site > Admin Console > Environment Variables
  • > Site > Admin Console > AI Assistant Status
These pages show whether a GEMINI_API_KEY value has been provided, but the value itself is not shown.

AI-assisted features, such as Get help from AI on calculated columns, will not appear in the product until a valid key is provided and the optional feature is turned on.

Related Topics

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all