Before you start. AI Gateway must be enabled on your Strata Cloud Manager tenant.
Overview
1
Set up a workspace
2
Add an LLM integration
3
Create an API key
4
Make your first request
5
Check the logs
1. Set up a workspace
Workspaces are managed under Workspace Control. A workspace is the unit that owns integrations, configs and API keys, and it is the boundary your access scopes are evaluated against. Use the default workspace to get started, or create one for this exercise. Everything below is created inside a workspace, so make a note of which one you are in.The tenancy model is Organisation → Workspace → User/Machine. Your organisation is your
Strata Cloud Manager tenant; workspaces divide it; users and machine identities act within a
workspace.
2. Add an LLM integration
Go to Integrations → Add LLM Integration.1
Select the provider
Choose OpenAI.
2
Supply the credential
Paste your OpenAI API key. Other providers take different credential shapes — Vertex AI takes
a service account JSON file, Bedrock takes an IAM role or access keys.
3
Assign the integration to your workspace
Only workspaces you assign here can route through this integration.
4
Select models
Pick the models you want exposed, then click Create Integration.
@openai-prod. You will use it in the
model parameter of every request.
3. Create an API key
Go to Security Keys → Create New. Create the key inside the workspace from step 1. You can attach default metadata here, which then shows up on every log line, and a config if you have one — any request made with the key then picks it up without the caller passing anything extra. Copy the key. It is shown once.API keys, authentication and authorisation
Scopes, metadata enforcement, expiry and rotation.
4. Make your first request
The gateway speaks the OpenAI API. Point your existing client athttps://aigw.portkey.ai/v1, authenticate with your gateway API key, and prefix the model with
your provider slug.
Authorizationcarries the gateway key, not the provider key. The gateway holds the OpenAI credential from step 2 and attaches it upstream.- The provider slug lives in
model.@openai-prod/gpt-4omeans “thegpt-4omodel, via the@openai-prodintegration”. You do not need a provider header. - Policy rides on the key. Anything attached to the config on your API key — guardrails, fallbacks, retries, caching — applies without the caller opting in.
5. Check the logs
Go to Observability → Logs. Your request is there with the model, provider, token counts, cost and latency. If a guardrail is attached to the key, its verdict shows here too. To correlate a set of calls, pass a trace ID on the request:Next steps
Model Catalog
Add more providers, set budget and rate limits per workspace.
Guardrails
Guardrail actions, PII redaction, and the full check list.
AI Gateway
Fallbacks, retries, load balancing, caching and conditional routing.
Observability
Analytics, traces, metadata and OpenTelemetry export.
Coding agents
Route Claude Code, Cursor, Cline and Codex through the gateway.
Integrations
Agent frameworks, libraries, tracing providers and MCP.

