Skip to content

Commit 933df96

Browse files
Merge pull request #335 from Portkey-AI/azure-doc-new
Azure doc new stuff
2 parents 4de7bce + c2e7056 commit 933df96

File tree

2 files changed

+60
-48
lines changed

2 files changed

+60
-48
lines changed

integrations/agents/openai-agents.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,16 @@ print(Runner.run_sync(agent, "Recursion haiku.").final_output)
252252
**Comparing the 3 approaches**
253253

254254
| Strategy | Code Touchpoints | Best For |
255-
|----------|-----------------|----------|
255+
|:----------|:-----------------|:----------|
256256
| **Global Client** via `set_default_openai_client` | One-time setup; agents need only model names | Whole app uses Portkey; simplest migration |
257257
| **ModelProvider in RunConfig** | Add a provider + pass `run_config` | Toggle Portkey per run; A/B tests, staged rollouts |
258258
| **Explicit Model per Agent** | Specify `OpenAIChatCompletionsModel` in agent | Mixed fleet: each agent can talk to a different provider |
259259

260-
<Accordion title="End-to-End Example: Research Agent with Tools">
261-
Here's a more comprehensive agent that can use tools to perform tasks:
260+
## End-to-End Example
262261

263-
```python
262+
**Research Agent with Tools**: Here's a more comprehensive agent that can use tools to perform tasks.
263+
264+
```python [expandable]
264265
from agents import Agent, Runner, Tool, set_default_openai_client
265266
from openai import AsyncOpenAI
266267
from portkey_ai import PORTKEY_GATEWAY_URL, createHeaders
@@ -325,7 +326,8 @@ print(result.final_output)
325326
```
326327

327328
Visit your Portkey dashboard to see the complete execution flow visualized!
328-
</Accordion>
329+
330+
---
329331

330332
## Production Features
331333

integrations/cloud/azure.mdx

Lines changed: 53 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,56 @@
11
---
22
title: "Microsoft Azure"
3-
description: "End-to-end support for Azure's entire platform and AI ecosystem, all through Portkey."
3+
description: "Discover how you can build your Gen AI platform on Azure using Portkey"
44
---
55

6-
**Gen AI teams achieve 75% faster time-to-market Azure AI costs and 4× faster deployment** with Portkey's end-to-end Azure AI solution. Our dedicated platform bridges compliance and innovation gaps, bringing unified control to all your AI infrastructure while maintaining Azure's native security model.
6+
Portkey supercharges your Azure AI infrastructure with an enterprise-ready production stack. Teams building on Azure achieve **75% faster time-to-market**, **significant cost optimization**, and **4× faster deployments** while maintaining seamless integration with existing Azure investments.
77

8-
<CTABanner title="Ready to optimize your Azure AI investment?" buttonText="Schedule a 30-min strategy call" href="#enterprise-demo" />
8+
Our solution empowers you to build robust, scalable AI applications that leverage the full security and compliance capabilities of Azure.
99

10-
# Build Enterprise-Grade GenAI on Azure
10+
**Key benefits for Azure AI teams:**
11+
- Accelerated development cycles with unified API access
12+
- Granular cost tracking and optimization for Azure AI services
13+
- Enhanced governance with centralized security controls
14+
- Simplified deployment and scaling of production AI applications
15+
- Full compatibility with Azure's native security model
1116

17+
<Card title="Ready to optimize your Azure AI investment?" href="https://portkey.sh/azure">Schedule a 30-min strategy call</Card>
1218

13-
14-
15-
## What You Can Do Today
19+
## What You Can Do Today with Portkey on Azure
1620

1721
<CardGroup cols={2}>
1822
<Card title="1-Click Azure Marketplace Deploy" icon="rocket" href="https://azuremarketplace.microsoft.com/en-in/marketplace/apps/portkey.enterprise-saas?tab=Overview">
19-
Spin up a managed Portkey instance directly inside your Azure subscription.
23+
Spin up a managed Portkey instance directly inside your Azure subscription for maximum security and control.
2024
</Card>
21-
<Card title="SSO & SCIM with Microsoft Entra" icon="user-lock" href="/product/enterprise-offering/org-management/sso">
22-
Enterprise-grade identity and automated user provisioning out of the box.
25+
<Card title="SSO & SCIM with Microsoft Entra ID" icon="user-lock" href="/product/enterprise-offering/org-management/sso">
26+
Integrate seamlessly with your existing identity provider for enterprise-grade access control and automated user provisioning.
2327
</Card>
2428
<Card title="Unified Access to Azure OpenAI" icon="brain" href="/integrations/llms/azure-openai">
25-
Route chat, vision, function-calling and image requests through Portkey while retaining Azure compliance.
29+
Route all your Azure OpenAI requests (chat, vision, function-calling, DALL-E images) through Portkey while retaining full Azure compliance and gaining enhanced observability.
2630
</Card>
27-
<Card title="Azure AI Foundry Models" icon="flask" href="/integrations/llms/azure-foundry">
28-
Bring any model deployed via AI Foundry under the same gateway, with caching, retries & observability.
31+
<Card title="Azure AI Foundry Models Integration" icon="flask" href="/integrations/llms/azure-foundry">
32+
Bring any model deployed via Azure AI Studio (formerly AI Foundry) under the Portkey gateway for consistent caching, retries, fallbacks, and observability.
2933
</Card>
3034
<Card title="Azure Content Safety Guardrails" icon="shield-check" href="/product/guardrails/azure-guardrails">
31-
Apply robust content moderation & PII detection to every request — no code changes required.
35+
Apply robust, configurable content moderation and PII detection to every AI request—no code changes required in your applications.
3236
</Card>
33-
<Card title="OpenAI C# SDK & Semantic Kernel" icon="code">
34-
Keep using familiar Microsoft tooling while Portkey handles routing, cost attribution and guardrails.
37+
<Card title="Full Support for OpenAI C# SDK & Semantic Kernel" icon="code" href="/api-reference/sdk/c-sharp">
38+
Developers can continue using familiar Microsoft tooling. Portkey transparently adds value by handling routing, cost attribution, observability, and guardrails.
3539
</Card>
36-
<Card title="Native Azure API Management" icon="plug">
37-
Expose Portkey configs as APIM endpoints for consistent governance across all your APIs.
40+
<Card title="Native Azure API Management (APIM) Integration" icon="plug">
41+
Expose Portkey configurations as APIM endpoints, ensuring consistent governance and policies across all your APIs, not just AI.
3842
</Card>
3943
</CardGroup>
4044

41-
## Why Enterprises Choose Portkey on Azure
42-
43-
<Mermaid>
44-
graph LR
45-
A[All Azure AI Usage] --> B[Portkey Gateway]
46-
B --> C[Per-app Budgets & Cost Attribution]
47-
C --> D[Centralised Guardrails & Observability]
48-
D --> E[Actionable Insights & ROI]
49-
</Mermaid>
50-
51-
1. **Full Cost Attribution** – Tag requests by application, environment or user and export detailed metrics to Azure Monitor or your data warehouse.
52-
2. **Governance at Scale** – Enforce organisation-wide guardrails, rate limits and SSO policies across every workspace.
53-
3. **Zero-Trust Security** – Secrets remain in Azure Key Vault; traffic never leaves Azure’s backbone when you deploy via Marketplace or Private Cloud.
54-
4. **Faster Developer Velocity** – A single gateway layer means no more per-team Azure OpenAI subscriptions or duplicated infrastructure.
55-
5645
## Get Started in Minutes
5746

58-
1. **Deploy from the Azure Marketplace** and choose your subscription.
59-
2. **Connect Entra SSO & SCIM** using our [SSO guide](/product/enterprise-offering/org-management/sso) and [Azure SCIM setup](/product/enterprise-offering/org-management/scim/azure-ad).
60-
3. **Add Virtual Keys** for your Azure OpenAI or AI Foundry resources.
61-
4. **Enable Azure Content Safety Guardrails** within your Portkey Config.
62-
5. **Instrument your code** with the SDK of your choice.
47+
1. **Deploy from the Azure Marketplace**: Launch Portkey directly within your Azure subscription.
48+
2. **Connect Microsoft Entra ID for SSO & SCIM**: Follow our [SSO guide](/product/enterprise-offering/org-management/sso) and [Azure SCIM setup](/product/enterprise-offering/org-management/scim/azure-ad).
49+
3. **Create Virtual Keys in Portkey**: Link your Azure OpenAI resources or Azure AI Foundry model deployments.
50+
4. **Enable Azure Content Safety Guardrails**: Configure content filters within your Portkey Configs.
51+
5. **Instrument Your Applications**: Use your preferred SDK (like the C# example below) to route requests through Portkey.
6352

64-
<Tabs>
65-
<Tab title="C#">
66-
```csharp
53+
```csharp C# [expandable]
6754
using OpenAI;
6855
using OpenAI.Chat;
6956
using System;
@@ -163,8 +150,31 @@ public class ExampleAzureIntegration
163150
}
164151
}
165152
```
166-
</Tab>
167-
</Tabs>
153+
154+
## Why Portkey + Azure? The Strategic Advantages
155+
156+
Enterprises choose to combine Portkey with Microsoft Azure to gain a competitive edge in their AI development. This powerful synergy offers:
157+
158+
159+
```mermaid
160+
flowchart LR
161+
A[Your Azure AI Services\nOpenAI, Foundry, etc.] --> B[Portkey AI Gateway]
162+
B --> C[Unified Observability\n& Cost Control]
163+
B --> D[Centralized Guardrails\n& Security]
164+
B --> E[Enhanced Reliability\n& Performance]
165+
B --> F[Accelerated Development\nCycles]
166+
C --> G[Actionable Insights &\nROI on Azure Spend]
167+
D --> G
168+
E --> G
169+
F --> G
170+
```
171+
172+
173+
1. **Complete Cost Visibility & Control on Azure Spend**: Go beyond standard Azure billing. Portkey allows you to tag every AI request (by application, environment, user, or custom dimension) and export granular metrics to Azure Monitor or your data warehouse for precise cost attribution and budget management.
174+
2. **Unified Governance & Security Across Your Azure AI Landscape**: Enforce organization-wide policies consistently. From robust content moderation with Azure Content Safety to PII detection, rate limits, and SSO via Microsoft Entra ID, Portkey centralizes governance across all your Azure AI services and Portkey workspaces.
175+
3. **Fortified Security with Azure-Native Integration**: Leverage Azure's robust security model. With Portkey's Azure Marketplace deployment or Private Cloud options, secrets remain securely in Azure Key Vault, and AI traffic can be configured to never leave Azure’s backbone, ensuring compliance and data integrity.
176+
4. **Boosted Developer Velocity & Efficiency**: Eliminate redundant setups and streamline AI development. Portkey provides a single, consistent gateway layer, removing the need for per-team Azure OpenAI subscriptions or duplicated infrastructure, allowing your teams to build faster.
177+
5. **Seamless Integration with the Azure Ecosystem**: Portkey is built for Azure. Enjoy native support for Azure OpenAI (chat, vision, function-calling, images), Azure AI Foundry Models, and even familiar Microsoft tooling like the OpenAI C# SDK and Semantic Kernel, all while Portkey handles the complexities of routing, cost attribution, and guardrails.
168178

169179
## Book an Enterprise Demo
170180
<Frame>

0 commit comments

Comments
 (0)