This guide is for the operator running the gateway. By the end you’ll have a provider connected and an API key you can hand to an app or a teammate.Documentation Index
Fetch the complete documentation index at: https://openlayer.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
You’ll need the admin portal URL and an admin key. You get both when
we set up your gateway. Don’t have one yet? Reach out to
us and we’ll get one running for your team.
Connect a provider
Go to Config and add a provider under Providers:
- Name: a label you choose, such as
openai. - Base URL: the provider’s API root, such as
https://api.openai.com. - Format: one of
openai,anthropic, orazure_openai. - API key env var: the name of the environment variable that holds the provider’s key, such as
OPENAI_API_KEY.

Hand it off
Give the developer two things:- The gateway base URL, such as
https://your-gateway.example.com/v1. - The API key you just created.
Next steps
Now that traffic can flow, decide what the gateway should enforce on it.Set usage limits
Cap spend, requests, or tokens per key or team.
Add guardrails
Block or redact PII and stop prompt injection.


