Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideIntegration & Security5 min read

WSO2 AI Gateway Setup: What to Decide Before You Register a Gateway

Install options, release checks and a test plan for the gateway now named Choreo AI Gateway.

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. Install options
  2. Register the gateway
  3. How do I create an AI API in API Manager?
  4. First provider and proxy
  5. Which guardrails are available?
  6. Checks
  7. A test prompt set
  8. Questions we hear
  9. A first engagement

Short answer: before you register a WSO2 AI Gateway, decide where it runs, which API Manager release you need and which guardrails to attach, then test them with a set of prompts. The gateway is now named Choreo AI Gateway (formerly WSO2 AI Gateway) after Choreo Labs, formerly WSO2, renamed on November 17, 2026. Checked November 24, 2026.

Install options

OptionWhat it meansFits
Inside API Manager (4.4 or later)The AI gateway features arrive with the API Manager release you run.Estates that already run API Manager
Gateway runtimes under AI WorkspaceAI Workspace is the control plane. Since August 2026 it can run fully self-managed, including air-gapped.Regulated estates with no outbound connection
Bijira (SaaS)Hosted by the vendor.Teams that do not need to run it themselves

Register the gateway

Registration steps differ by release and by option, so read the documentation for your version. The decisions to make first are the same: which environment, which network zone, and who owns the keys to each model provider.

How do I create an AI API in API Manager?

The API Manager 4.6.0 getting-started guide uses the Publisher. The labels below come from that guide, so check them against your release.

  1. Log in to the Publisher.
  2. Click Create AI API.
  3. Choose the AI Service Provider and Version, then click Next. Built-in providers listed are Anthropic, AWS Bedrock, Azure AI Foundry, Azure OpenAI, Gemini, Mistral AI and OpenAI. Custom providers need separate setup.
  4. Enter the name, context and version, then click Create.
  5. Under API Configurations, open Endpoints. Edit the Default Production Endpoint, add the provider API key and click Update. Do the same for the Default Sandbox Endpoint.
  6. Deploy, test and publish the API as for any other API.

The guide leaves guardrails and rate limits for the next steps. It names AI backend security, rate limiting, multi-model routing, prompt management, AI guardrails and semantic caching as follow-on topics. Plan them as a second phase, not as part of the first deployment.

First provider and proxy

Add one model provider and one application proxy first. Set a token limit before you add guardrails, so cost has a ceiling. Then attach guardrails. The 4.7.0 documentation lists eleven, from content length and regex to PII masking with regex, semantic prompt, semantic tool filtering, Azure Content Safety and AWS Bedrock Guardrail.

Which guardrails are available?

The 4.7.0 documentation lists eleven guardrails. Use this table to decide which ones belong in your first release.

GuardrailWhat it doesStart here if
Content lengthLimits the length of requests or responsesYou need a cost ceiling per call
Word count and sentence countLimit words or sentences in requests or responsesResponses must stay short
RegexValidates requests or responses against your own patternsYou know the patterns to block
JSON schemaChecks that a request or response matches a schemaAgents expect structured output
URLValidates URLs in responses, which can help catch invented linksAnswers are shown to customers
PII masking with regexMasks personal data using patterns you definePrompts may carry card or account numbers
Semantic promptAllows or denies prompts by similarity to a list you setYou can name topics to allow or refuse
Semantic tool filteringRanks tools by relevance to the queryAgents see many tools
Azure Content SafetyModerates requests or responses with that serviceYou already use it
AWS Bedrock GuardrailApplies Bedrock Guardrails to the trafficYou already use it

The overview page says guardrails sit between your application and the model provider and check both inputs and outputs. It does not describe the order the checks run in or what the caller sees on a block, so confirm both in your lab.

Checks

  • A prompt over the length limit is rejected.
  • A prompt with a card-number pattern is masked, and a free-text name is flagged by a second check.
  • A call from an agent with no identity is refused.
  • Every call, allowed or denied, appears in the log.
  • Stopping the gateway stops the traffic, and nothing falls back to a direct model call.

A test prompt set

Keep the prompts in version control and run them after every policy change.

PromptExpected resultGuardrail tested
A normal question in scopePasses and is loggedNone, baseline
A prompt far over the length limitRejectedContent length
A prompt with a test card-number patternNumber masked before it reaches the modelPII masking with regex
A prompt on a topic you refuseDeniedSemantic prompt
A response that should be a fixed JSON shapeFails when the shape is wrongJSON schema

Questions we hear

Do we need the new name everywhere? Product pages and documentation now carry the Choreo names. Your running software does not change with the name, so rename documents and diagrams when you next touch them.

Can it run without a connection to the vendor? The install table above says AI Workspace can run fully self-managed, including air-gapped, since August 2026. Confirm the version and network design in a lab before you commit.

A first engagement

Duczer East offers an AI gateway fit check: we review where the gateway runs, the release it needs and the guardrails to attach, then test them with a prompt set and hand back a short written plan.

Related: WSO2 AI Gateway setup · MCP proxies on WSO2 API Manager · AI gateway and agent governance

Frequently asked questions

Is the WSO2 AI Gateway now Choreo AI Gateway?

Yes. Choreo Labs, formerly WSO2, announced the new name on November 17, 2026. The software you run does not change with the name.

Which release do I need?

AI APIs and token limits arrived in WSO2 API Manager 4.4. MCP gateway, guardrails and semantic caching arrived in 4.6.

Which model providers can the gateway front?

The 4.6.0 getting-started guide lists Anthropic, AWS Bedrock, Azure AI Foundry, Azure OpenAI, Gemini, Mistral AI and OpenAI as built-in providers, with custom providers set up separately.

Where do I put the provider API key?

In the Publisher, open the API's Endpoints under API Configurations and edit the Default Production Endpoint and the Default Sandbox Endpoint.

How many guardrails are there?

The 4.7.0 documentation lists eleven, from content length and regex to semantic tool filtering, Azure Content Safety and AWS Bedrock Guardrail.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote