Requirements
- A running Metoro hub installation.
- A model endpoint reachable from the apiserver pods.
- An API key for the model endpoint.
- A model name or deployment name for normal AI requests.
- Optionally, a separate model name or deployment name for summary requests.
Create the API Key Secret
Store the model API key in a Kubernetes Secret in the hub namespace. Do not put the key directly in the Helm values file.metoro-hub, use that namespace instead.
Configure Helm Values
Add the following block to the hub values file:| Field | Required | Description |
|---|---|---|
ai.enabled | Yes | Global AI enablement flag for the hub. |
ai.openai.enabled | Yes | Enables the OpenAI-compatible client used by Metoro AI. |
ai.openai.model | Yes | Model or deployment name for primary AI requests. This value is passed through as an opaque model identifier. |
ai.openai.summaryModel | No | Model or deployment name for summary requests. If empty, Metoro uses ai.openai.model. |
ai.openai.baseUrl | Yes | OpenAI-compatible API root. For example, https://models.example.com/openai/v1. |
ai.openai.apiKeyHeader | No | Header used to send the API key. Leave empty for standard Authorization: Bearer API key auth. Set this when your endpoint expects a custom key header. |
ai.openai.externalApiSecret.enabled | Yes | Set to true to read the API key from an existing Kubernetes Secret. |
ai.openai.externalApiSecret.secretName | Yes | Name of the Kubernetes Secret that contains the API key. |
ai.openai.externalApiSecret.keys.apiKey | Yes | Secret key that contains the API key value. |
/openai/v1 endpoints that expect the Azure API key header, set:
apiKeyHeader to the header name required by the gateway.
Apply to an Existing Hub
Editmetoro-hub-values.yaml and add the ai block above.
Apply the updated values:
Verify the Rollout
Wait for the apiserver rollout:Enable Guardian AI in the UI
After the apiserver rollout completes, enable Guardian AI in Metoro. Go to Settings -> Features -> Guardian AI -> Guardian AI Status and turn on the toggle.
g, then c, from anywhere in the platform.
Guardian pages, including Guardian Issues and Guardian Deployment Verification, are available from the Guardian section in the side bar.

Code fix workflows are not currently available in on-premises installations.
Verify Guardian Chat
Open Guardian AI chat and ask anything: For example:

Troubleshooting
Helm Fails Before Applying
Check that all required fields are set when bothai.enabled and ai.openai.enabled are true:
ai.openai.modelai.openai.baseUrlai.openai.externalApiSecret.secretNameai.openai.externalApiSecret.keys.apiKey
AI Requests Return 401 Unauthorized
Check:- The API key value in the Kubernetes Secret.
ai.openai.baseUrlpoints at the OpenAI-compatible API root.ai.openai.apiKeyHeadermatches the endpoint. Leave it empty for bearer auth. Useapi-keyfor Azure OpenAI-compatible endpoints that expect the Azure API key header.
Guardian AI Pages Still Show Disabled or Chat Is Missing
After the Helm values are applied and the in-platform Guardian AI Status toggle is on, allow up to 5 minutes for the change to take effect. If Guardian AI pages still show as disabled or Guardian AI chat does not appear on the home page, clear the browser cache and hard reload the platform. If the UI still does not update, verify the apiserver rollout and theMETORO_AI environment variables again.
If issues persist, contact support. We are here to help!