Use an agent integration such as ElevenLabs,
Vapi, Deepgram,
LiveKit, or Pipecat.
Prerequisites
- A supported agent integration that accepts a custom OpenAI-compatible LLM.
- An SLNG API key. See Create your API key.
- A BYOK LLM key registered in your org, so the router has a model to route to. See Bring your own key.
Configuration
Use these three values:Configure your agent integration
In your agent integration, enter the base URL and model from the table above. Store your API key in the platform’s secret manager or environment, then send it as anAuthorization: Bearer <SLNG API key> header.
The router also requires two headers that tie each turn to a SLNG agent and call:
X-Slng-Agent-Id and X-Slng-Session-Id. Map them to your platform’s agent and
session identifiers. Your platform guide lists the exact values to use.
Follow your framework or platform guide for its exact configuration steps.
Read the key from the environment. Do not paste the literal value into your
code or a shared config.
Next steps
- Context Router API reference for request and response fields.
- Integrating the context router for how routing works with your own keys or SLNG-hosted models.