Skip to main content

LLM Gateway

The LLM Gateway integration stores a single provider credential and exposes it to NudgeBee's AI features through one endpoint. Where the BYOM provider pages configure a model for the whole deployment via Helm values, a Gateway account is created in the UI and can hold several credentials side by side — one per provider, team or environment.


When Do You Need This?

Use the Gateway when you want to:

  • Keep more than one provider credential active at once, e.g. an OpenAI key for one team and a self-hosted endpoint for another.
  • Point NudgeBee at a self-hosted or OpenAI-compatible endpoint — vLLM, Ollama behind a gateway, or any server that speaks the OpenAI API.
  • Expose your own model names to NudgeBee while mapping them to whatever ids the provider actually expects.

Step 1: Configure the Integration in NudgeBee

Navigate to Admin > Integrations > LLM, select LLM Gateway, then click Add LLM Gateway Account.

The LLM Gateway tile in the LLM tab of the integrations catalog

  • Integration Config Name * (Required)
    • A name identifying this config, e.g. qwen-hf or team-openai.
  • Provider * (Required)
    • Which provider this credential is for. One of: Openai, Anthropic, Gemini, Vertex, Vertex Openai, Bedrock, Custom.
    • Choose Custom for a self-hosted or OpenAI-compatible endpoint.
    • Choose Vertex Openai for Vertex AI's OpenAI-compatible Model Garden / MaaS endpoint.
  • API Key
    • The provider's API key. Required for OpenAI, Anthropic and Gemini; optional for a keyless custom server.
  • Base URL (Custom and OpenAI-compatible providers)
    • The OpenAI-compatible base URL of the endpoint. A trailing /v1 is optional — both https://<host> and https://<host>/v1 work.
    • Must be https and publicly reachable.
  • Model mappings
    • Pairs of Client model name (what NudgeBee asks for) and Served model (the exact id sent to the provider). Add as many as you need.
    • Mappings are additive: models not listed here remain available through provider-qualified names.
    • Custom and Vertex OpenAI-compatible endpoints must list the models they serve — there is no discovery for these.

The LLM Gateway form with Provider set to Custom, showing the API key, base URL and model-mapping fields

Step 2: Test and Save

Click Test Connection, then Save.


Choosing Between Gateway and BYOM

LLM GatewayBYOM provider config
Configured inThe UI, per accountHelm values (nudgebee_secret)
Number of credentialsSeveral, side by sideOne provider for the deployment
Model namingClient-facing names you defineProvider model ids
Best forMultiple teams, providers or endpointsA single deployment-wide model

Both feed the same AI features — NuBi, troubleshooting, RCA and agentic automation.


Verify the Integration

  1. Click Test Connection on the form — it should succeed before you save.
  2. Ask NuBi a question and confirm it answers. If you configured model mappings, request one of your client-facing model names.

Troubleshooting

SymptomLikely CauseFix
Connection test fails on a custom endpointBase URL is not https, or not publicly reachableThe endpoint must be https and reachable from NudgeBee. Use the Proxy Agent for private endpoints.
Model not foundA custom or Vertex OpenAI endpoint with no mapping for that modelCustom and Vertex OpenAI-compatible endpoints must declare every model they serve in the mappings.
401 from the providerMissing or wrong API keyOpenAI, Anthropic and Gemini all require a key; only keyless custom servers may omit it.
Requests go to the wrong modelA mapping shadows the intended idCheck the client-name to served-model pairs; mappings are additive, so an unmapped model is still reachable by its provider-qualified name.
Trailing /v1 confusionNot a problem: both https://<host> and https://<host>/v1 are accepted.