Skip to main content
Cline is an AI coding agent that runs inside VS Code. You can point it at Consus Gateway to get Claude in your editor while keeping all traffic within government-authorized cloud infrastructure.

1. Set Up Your API Key

You’ll enter your Consus Gateway API key as a custom header in the Cline settings panel (no environment variable needed).

2. Configure Cline

Open VS Code and click the Cline icon in the sidebar. In the settings panel at the top of the Cline view:
  1. Set API Provider to OpenAI Compatible
  2. Set Base URL to https://api.consus.io/v1
  3. Set API Key to your Consus Gateway API key
  4. Under Custom Headers, add a header with name x-api-key and your Consus Gateway API key as the value
Important: Both the API Key field and the x-api-key custom header must be set to your key. Consus Gateway authenticates via the x-api-key header. The API Key field is required by Cline but is not used for authentication. The header name must be exactly x-api-key (all lowercase, with hyphens). A typo like x-api-ky will result in a 403 error with no error body.
  1. Set Model ID to one of the available models:
Model IDDescriptionProvider
claude-3-7-sonnet:il5Claude 3.7 Sonnet (IL5)AWS Bedrock (GovCloud)
claude-sonnet-4-5:il5Claude Sonnet 4.5 (IL5)AWS Bedrock (GovCloud)
gemini-2-5-pro:il5Gemini 2.5 Pro (IL5)GCP Vertex AI (Assured Workloads)
gemini-2-5-flash:il5Gemini 2.5 Flash (IL5)GCP Vertex AI (Assured Workloads)
Click Save to apply.

3. Start Coding

Open a task in Cline and start prompting. All requests route through Consus Gateway to government-authorized cloud infrastructure. Streaming, tool use (file reads, writes, terminal commands, browser actions), and multi-turn conversations all work out of the box.