Skip to main content
The LLM Gateway is in early access. Early access features are pre-production software under section 1.4 of the Cloud Services Agreement and are not for production use. To join the program, request early access.
Two people usually set up the LLM Gateway: an administrator registers a model provider and issues a virtual key, and a developer points an application at the gateway with that key. The application never holds the provider’s API key. This guide splits the steps the same way.

For Administrators

Registering a provider requires the Administrator role. A Workspace Administrator can do Steps 2 to 4.

Step 1: Register a Provider

On the LLM Providers page, click + Add Provider, enter the provider name, type, and API key, and then select the models to use.

Step 2: Create a Routing Rule

On the Routing Rules tab of the LLM Gateway page, click + Add Routing Rule. Single provider sends all traffic to the provider from Step 1. If the default routing rule already suits you, skip this step.

Step 3: Create a Project

On the Projects tab, click + Add Project, enter a name, and assign the routing rule.

Step 4: Issue a Virtual Key

On the Virtual Keys tab of the project, click + Issue Virtual Key. Give the key to the developer who sets up the application. See Virtual Keys.

For Developers

Step 5: Point Your Client at the Gateway

Set your client’s base URL to https://cloud.cdata.com/gateway/v1. This URL is complete, so do not add a suffix. Administrators can also find it under View Endpoints on the Projects tab. Send the virtual key as an Authorization: Bearer <virtual-key> header or an x-api-key header. A Connect AI personal access token does not work here.

Step 6: Send a Test Request

Replace <virtual-key> with the key from your administrator:
Your first request went through the gateway. The project’s routing rule chose the provider and model, and your application never saw the provider’s API key.

Next Steps

Claude Code

Route a coding tool through the gateway.

Routing Rules

Add failover or a model allowlist.

Projects

Set budgets and rate limits for each project.

Context Overview

Add business context to prompts with Prompt Enrichment.
Last modified on December 4, 2026