Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org’s approved providers with metadata, policies, and full observability.
This guide takes you from a fresh Claude Desktop install to a fully-routed connection through Portkey in about five minutes. After setup, every conversation flows through your organization’s gateway with approved model routing, policy enforcement, and cost tracking.
Requirements: Claude Desktop with third-party inference support (any recent build from late 2025 onward). If you don’t see Configure third-party inference under the Developer menu after enabling Developer mode, update the app from claude.ai/download.
Your Portkey API key is expired, revoked, or scoped to a different workspace. Get a fresh key from your admin or generate one yourself at API Keys.
Why aren't my requests appearing in Logs?
Three things to check:
Base URL is correct: https://api.portkey.ai for Portkey SaaS, or your org’s self-hosted gateway URL. No trailing slash, no /v1.
Auth scheme is set to bearer.
You fully quit and relaunched Claude Desktop after applying settings (not just closed the window).
Why isn't my policy applying?
Metadata JSON must be valid (no trailing commas, no single quotes). Key names are case-sensitive and must exactly match what your admin configured in the policy rules.
Why is the wrong model responding?
Model routing is controlled by your admin’s config in Portkey. If you’re getting unexpected model behavior, your team’s config likely points to a different model than you expect. Check with your platform team.
Why doesn't Configure third-party inference appear in my menu?
Either Developer mode isn’t enabled (check Help → Troubleshooting), or your Claude Desktop build predates third-party inference support. Update the app from claude.ai/download.
Yes. The menu paths differ slightly (covered in Step 1) but the gateway settings and headers are identical.
Can I still use Claude Cowork while routed through Portkey?
Yes, but Cowork has its own configuration surface inside Claude Desktop. See the Claude Cowork guide for the Cowork-specific setup.
Will routing through Portkey slow down responses?
Portkey adds single-digit milliseconds of overhead per request. You won’t notice it during normal use.
What happens if Portkey is unreachable?
Claude Desktop will surface the connection error like any other API failure. If your admin configured fallbacks in the Portkey config, traffic automatically routes to a backup provider before that happens.
Can I use this with a personal Claude account?
Yes. Third-party inference is a Claude Desktop setting independent of your account type. Your platform admin can issue you a personal-scoped API key for pilot or solo use.
Does Claude Desktop store my Portkey API key securely?
Claude Desktop stores third-party inference credentials in the OS keychain (macOS Keychain or Windows Credential Manager).
My org runs Portkey on-prem. What URL do I use?
Your admin will give you the gateway URL for your self-hosted deployment. It will not be api.portkey.ai. Everything else in this guide stays the same: same auth scheme, same metadata header, same setup flow.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Portkey (Prisma AIRS AI Gateway) Docs","description":"Comprehensive documentation for AI Gateway, Guardrails, Observability, and Governance features.","colors":{"primary":"#0891B2","light":"#0891B2","dark":"#0891B2"},"logo":{"light":"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450","dark":"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=6025ca49ef544522f58ff471b7f75f8f"},"favicon":"https://mintcdn.com/portkey-docs/Hf1XgyjG_b79ym4Q/favicon.png?fit=max\u0026auto=format\u0026n=Hf1XgyjG_b79ym4Q\u0026q=85\u0026s=cbaa1bfc49bb6e3fd6cf499a5da313a3","api":{"openapi":"https://raw.githubusercontent.com/Portkey-AI/openapi/refs/heads/master/openapi.yaml","examples":{"prefill":true},"url":"full"},"navbar":{"links":[{"href":"https://portkey.ai/models","label":"Models"},{"href":"https://support.portkey.ai/forms/customer-portal-ticket-form","label":"Support"},{"href":"https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\u0026utm_medium=referral\u0026utm_campaign=prisma_airs\u0026utm_content=docs_nav#contact","label":"Contact Us"}],"primary":{"type":"button","label":"Sign in","href":"https://stratacloudmanager.paloaltonetworks.com/"}},"footer":{"socials":{"x":"https://twitter.com/PortkeyAI","linkedin":"https://www.linkedin.com/company/portkey-ai","github":"https://git.new/portkey"},"links":[{"header":"For LLMs","items":[{"label":"llms.txt","href":"https://portkey.ai/docs/llms.txt"},{"label":"llms-full.txt","href":"https://portkey.ai/docs/llms-full.txt"}]},{"header":"Products","items":[{"label":"Observability","href":"https://portkey.ai/features/observability"},{"label":"AI Gateway","href":"https://portkey.ai/features/ai-gateway"},{"label":"Guardrails","href":"https://portkey.ai/features/guardrails"},{"label":"Prompt Management","href":"https://portkey.ai/features/prompt-management"},{"label":"Agents","href":"https://portkey.ai/features/agents"},{"label":"MCP Gateway","href":"https://portkey.ai/docs/product/mcp-gateway"},{"label":"Security","href":"https://portkey.ai/features/security-and-compliance"},{"label":"Auto-Instrumentation","href":"https://portkey.ai/features/auto-instrumentation"}]},{"header":"Resources","items":[{"label":"API Status","href":"https://status.portkey.ai/"},{"label":"Helm Charts","href":"https://github.com/portkey-ai/helm"},{"label":"AI Grants Finder","href":"https://grantsfinder.portkey.ai/"},{"label":"Events Calendar","href":"https://lu.ma/portkey"},{"label":"Blog","href":"https://portkey.ai/blog"},{"label":"Error Library","href":"https://portkey.ai/error-library"},{"label":"Models \u0026 Pricing","href":"https://portkey.ai/models"}]},{"header":"Company","items":[{"label":"Pricing","href":"https://portkey.ai/pricing"},{"label":"Compliances","href":"https://trust.portkey.ai/"},{"label":"Privacy Policy","href":"https://portkey.ai/privacy-policy"},{"label":"Terms of Service","href":"https://portkey.ai/terms"},{"label":"DPA","href":"https://portkey.ai/dpa"},{"label":"Cookie Policy","href":"https://portkey.ai/cookie-policy"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Portkey AI Gateway Docs"},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-JJMXYE4DRL"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"toc"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"portkey-docs","hasAudioNarration":false,"actualSubdomain":"portkey-docs","customDomains":["docs.portkey.ai","portkey.ai"],"gitSource":{"type":"github","owner":"portkey-ai","repo":"docs-core","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4a3f4c2eaceb0e3450b94","collectionId":"3fc5fddf-cd0a-44c8-8c84-d700aea81ada","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4a3f4c2eaceb0e3450b94"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4a3f4c2eaceb0e3450b94","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Integrations","count":699},{"language":"default","tag":"Product","count":382},{"language":"default","tag":"Docs","count":320},{"language":"default","tag":"LLM Integrations","count":307},{"language":"default","tag":"More","count":176},{"language":"default","tag":"Admin APIs","count":172},{"language":"default","tag":"Guardrails","count":101},{"language":"default","tag":"AI Gateway","count":99},{"language":"default","tag":"Admin API","count":95},{"language":"default","tag":"Documentation","count":91}],"searchSettings":{"isFiltersEnabled":true,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@portkey.ai","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#banner{background:linear-gradient(90deg,#0d1b2e 0,#1a1040 40%,#2d0f22 100%);border-bottom:1px solid rgba(255,255,255,.08)}#banner a{color:#f0f0f0;text-decoration:none;font-weight:600;border-bottom:1px solid rgba(240,240,240,.5);padding-bottom:1px;transition:border-color .2s ease}#banner a:hover{border-bottom-color:#fff}"}],"page":{"pagePath":"integrations/libraries/claude-desktop-developers","slug":"/integrations/libraries/claude-desktop-developers","pageMetadata":{"title":"Claude Desktop for Developers","description":"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org's approved providers with metadata, policies, and full observability.","href":"/integrations/libraries/claude-desktop-developers"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org’s approved providers with metadata, policies, and full observability.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Check,CodeBlock,Frame,Heading,Info,Mermaid,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Check)_missingMdxReference(`Check`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide takes you from a fresh Claude Desktop install to a fully-routed connection through Portkey in about five minutes. After setup, every conversation flows through your organization’s gateway with approved model routing, policy enforcement, and cost tracking.`}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n CD[\"Claude Desktop\"] -->|\"API key + metadata\"| PG[\"Portkey Gateway\"]\n PG -->|\"Route, log, enforce\"| LLM[\"Your Provider\"]\n\n style CD fill:#f9f9f9,stroke:#333\n style PG fill:#7c3aed,stroke:#7c3aed,color:#fff\n style LLM fill:#d97706,stroke:#d97706,color:#fff`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Requirements:`}),` Claude Desktop with third-party inference support (any recent build from late 2025 onward). If you don’t see `,_jsx(_components.strong,{children:`Configure third-party inference`}),` under the Developer menu after enabling Developer mode, update the app from `,_jsx(_components.a,{href:`https://claude.ai/download`,children:`claude.ai/download`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-need-before-starting`,children:`What you need before starting`}),`\n`,_jsxs(_components.p,{children:[`Get these three values from your platform admin. If you’re a solo builder, follow the `,_jsx(_components.a,{href:`/integrations/libraries/claude-desktop-platform-admins`,children:`Platform Admin Guide`}),` first to create them yourself.`]}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Gateway URL`,icon:`globe`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`https://api.portkey.ai`}),` for Portkey SaaS, or your custom URL if your org self-hosts. Confirm with your admin.`]})}),_jsx(Card,{title:`Portkey API Key`,icon:`key`,children:_jsxs(_components.p,{children:[`A scoped key from `,_jsx(_components.a,{href:`https://app.portkey.ai/api-keys`,children:`API Keys`})]})}),_jsx(Card,{title:`Metadata Template`,icon:`tag`,children:_jsxs(_components.p,{children:[`JSON for the `,_jsx(_components.code,{children:`x-portkey-metadata`}),` header`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`connect-claude-desktop-to-portkey`,children:`Connect Claude Desktop to Portkey`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Enable Developer mode`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Help → Troubleshooting → Enable Developer mode`}),`. The menu lives in the menu bar on macOS and the hamburger menu (top-left) on Windows.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=f400543db264a58e2af3dde78693cb3d`,width:`700`,alt:`Enable Developer mode option under Help → Troubleshooting in Claude Desktop on macOS`,\"data-og-width\":`1024`,\"data-og-height\":`665`,\"data-path\":`images/libraries/claude-cowork-enable-developer-mode.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=280\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=7bad0f260f4a90231dffe361db6a136b 280w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=560\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=629014eba26d8a0cfa8cb984e08d6b46 560w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=840\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=6edbdb0bacbe0a44e2ec116d2e56aab4 840w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=1100\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=286098eb4eaac5931a11e82daf9ee2d8 1100w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=1650\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=5a95963badf33180478e66eba0b5e863 1650w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-enable-developer-mode.png?w=2500\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=3b1a9ef58b3ec7299c527cd6949475ac 2500w`})})]}),_jsxs(Step,{title:`Open third-party inference settings`,children:[_jsxs(_components.p,{children:[`Navigate to `,_jsx(_components.strong,{children:`Developer → Configure third-party inference`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=ce5084093301e033c3a0389de2514a0f`,width:`700`,alt:`Developer menu showing Configure third-party inference option`,\"data-og-width\":`1024`,\"data-og-height\":`665`,\"data-path\":`images/libraries/claude-cowork-developer-menu-inference.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=280\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=cfd2a3c1076122999dd4bdc7b9796a5e 280w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=560\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=392e1a6959f21be64d3b88fd6e8e9bd3 560w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=840\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=e0a13d5768ed057b62f7b892c2d6a6b7 840w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=1100\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=56ae8c281cee73f842688dc257be71d1 1100w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=1650\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=0734d13e620bbf383b7609755ddd884b 1650w, https://mintcdn.com/portkey-docs/PBchJC-j6i_NOmpu/images/libraries/claude-cowork-developer-menu-inference.png?w=2500\u0026fit=max\u0026auto=format\u0026n=PBchJC-j6i_NOmpu\u0026q=85\u0026s=c880b98ba63faac48cb5b6036256bd34 2500w`})})]}),_jsxs(Step,{title:`Set the Gateway connection`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Gateway (Anthropic-compatible)`}),` and fill in the fields:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gateway base URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.portkey.ai`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gateway API key`}),_jsx(_components.td,{children:`Your Portkey API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Gateway auth scheme`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bearer`})})]})]})]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=088d1f6d35fe3412650680f8a14255d8`,width:`700`,alt:`Gateway configuration panel with base URL, API key, and auth scheme fields`,\"data-og-width\":`1024`,\"data-og-height\":`665`,\"data-path\":`images/libraries/claude-cowork-gateway-settings.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=280\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=143c38ca68412d2d71e7ee4f423b3600 280w, https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=560\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=bc54067376c6f3c9e01e7b0e488f2ef3 560w, https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=840\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=86868933c6eb47e4e24d67fd64b9db6e 840w, https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=1100\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=04617ccc617b00b11c8cc6522a5c8ea5 1100w, https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=1650\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=00123eb2e72068d09514070498f17bc1 1650w, https://mintcdn.com/portkey-docs/dSf-lXvMAkzsSV6i/images/libraries/claude-cowork-gateway-settings.png?w=2500\u0026fit=max\u0026auto=format\u0026n=dSf-lXvMAkzsSV6i\u0026q=85\u0026s=f82ddd5bb2462f07ee4da931b3685024 2500w`})})]}),_jsxs(Step,{title:`Add the metadata header`,children:[_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Gateway extra headers`}),`, add a new header:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Header name`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`x-portkey-metadata`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Header value`}),_jsx(_components.td,{children:_jsx(_components.em,{children:`(your metadata JSON)`})})]})]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tenant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dev@acme.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"env\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=5bfd6206aa4db63a64e9f84505d7a326`,width:`700`,alt:`Gateway extra headers panel in Claude Desktop showing x-portkey-metadata configured`,\"data-og-width\":`1928`,\"data-og-height\":`1482`,\"data-path\":`images/libraries/claude-desktop-extra-headers.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=280\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=56d74b5b88a95f472aa75efbc768cd2d 280w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=560\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=b565665d6673ed2224817d633c74015f 560w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=840\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=89dc2dc3f27105c163b8aada46b8538f 840w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=5c380b5c0b361c2ee9e30496721e416c 1100w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=0b981c930ba9bdb8f0ba1bdc2381775d 1650w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-extra-headers.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=04372363993863ff58d57c9da59fa9ff 2500w`})}),_jsx(Info,{children:_jsx(_components.p,{children:`Replace the values with what your platform team specifies. These fields drive analytics attribution and per-team filtering in Portkey.`})})]}),_jsxs(Step,{title:`Apply and restart`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Apply locally`}),`. Fully quit Claude Desktop (not just close the window), then reopen it.`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`A simple window close keeps the old process alive. The new gateway settings only load on a full quit and relaunch.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`verify-it-works`,children:`Verify it works`}),`\n`,_jsx(_components.p,{children:`Send any prompt in Claude Desktop, then run through these two checks.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Confirm the request reached Portkey`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.a,{href:`https://app.portkey.ai/logs`,children:`Portkey Logs`}),`. Your request should appear within a few seconds, tagged with the metadata you set in step 4.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=1136c80745a9a5c0e4448d67899c303d`,alt:`Portkey Logs view showing a Claude Desktop request with metadata, model, and cost`,\"data-og-width\":`3654`,width:`3654`,\"data-og-height\":`2062`,height:`2062`,\"data-path\":`images/libraries/claude-desktop-logs-success.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=280\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=d5b98f97df111df3c2015c7d2858bebf 280w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=560\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=e562a468f558ee04fec8eee22354daab 560w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=840\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=834cbeeabe9d6db9bc05d55a836e941b 840w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=0642711745915f4bfecae12e5fc02302 1100w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=ec73604d41c165d4755eb02c3892234a 1650w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-logs-success.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=4a283f852a4988ee8d2c7b3ceab353dc 2500w`})})]}),_jsxs(Step,{title:`Confirm the right model responded`,children:[_jsxs(_components.p,{children:[`Click the log entry. Verify the `,_jsx(_components.strong,{children:`model`}),` and `,_jsx(_components.strong,{children:`provider`}),` fields match what your admin configured for your team, not Anthropic’s default.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=aabdcd2ae6efd2a7950b8ae9843d4b22`,alt:`Expanded log detail showing model, provider, metadata, and cost breakdown for a Claude Desktop request`,\"data-og-width\":`3660`,width:`3660`,\"data-og-height\":`2054`,height:`2054`,\"data-path\":`images/libraries/claude-desktop-log-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=52290688ff3c57038866ae270c1c2581 280w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=a5a5489525395b8dbb3c010947eba630 560w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=5430b210976557f4d6b644ff0b91e778 840w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=3af936e3077651fe7a084a674563a65f 1100w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=2c1ba5c0a301d59fe8ae2afaaa55ce1d 1650w, https://mintcdn.com/portkey-docs/2DyHQbM7MkblACHZ/images/libraries/claude-desktop-log-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=2DyHQbM7MkblACHZ\u0026q=85\u0026s=bb76009dae28a8a489fbb4f3e0ba67fe 2500w`})})]})]}),`\n`,_jsx(Check,{children:_jsx(_components.p,{children:`Request shows in Logs with correct metadata and the expected model? You’re done.`})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Why am I getting a 401 or 403 error?`,icon:`lock`,id:`why-am-i-getting-a-401-or-403-error`,children:_jsxs(_components.p,{children:[`Your Portkey API key is expired, revoked, or scoped to a different workspace. Get a fresh key from your admin or generate one yourself at `,_jsx(_components.a,{href:`https://app.portkey.ai/api-keys`,children:`API Keys`}),`.`]})}),_jsxs(Accordion,{title:`Why aren't my requests appearing in Logs?`,icon:`eye-slash`,id:`why-arent-my-requests-appearing-in-logs`,children:[_jsx(_components.p,{children:`Three things to check:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Base URL is correct: `,_jsx(_components.code,{children:`https://api.portkey.ai`}),` for Portkey SaaS, or your org’s self-hosted gateway URL. No trailing slash, no `,_jsx(_components.code,{children:`/v1`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Auth scheme is set to `,_jsx(_components.code,{children:`bearer`}),`.`]}),`\n`,_jsx(_components.li,{children:`You fully quit and relaunched Claude Desktop after applying settings (not just closed the window).`}),`\n`]})]}),_jsx(Accordion,{title:`Why isn't my policy applying?`,icon:`shield-halved`,id:`why-isnt-my-policy-applying`,children:_jsx(_components.p,{children:`Metadata JSON must be valid (no trailing commas, no single quotes). Key names are case-sensitive and must exactly match what your admin configured in the policy rules.`})}),_jsx(Accordion,{title:`Why is the wrong model responding?`,icon:`robot`,id:`why-is-the-wrong-model-responding`,children:_jsx(_components.p,{children:`Model routing is controlled by your admin’s config in Portkey. If you’re getting unexpected model behavior, your team’s config likely points to a different model than you expect. Check with your platform team.`})}),_jsx(Accordion,{title:`Why doesn't Configure third-party inference appear in my menu?`,icon:`circle-question`,id:`why-doesnt-configure-third-party-inference-appear-in-my-menu`,children:_jsxs(_components.p,{children:[`Either Developer mode isn’t enabled (check `,_jsx(_components.strong,{children:`Help → Troubleshooting`}),`), or your Claude Desktop build predates third-party inference support. Update the app from `,_jsx(_components.a,{href:`https://claude.ai/download`,children:`claude.ai/download`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Does this work on both macOS and Windows?`,id:`does-this-work-on-both-macos-and-windows`,children:_jsx(_components.p,{children:`Yes. The menu paths differ slightly (covered in Step 1) but the gateway settings and headers are identical.`})}),_jsx(Accordion,{title:`Can I still use Claude Cowork while routed through Portkey?`,id:`can-i-still-use-claude-cowork-while-routed-through-portkey`,children:_jsxs(_components.p,{children:[`Yes, but Cowork has its own configuration surface inside Claude Desktop. See the `,_jsx(_components.a,{href:`/integrations/libraries/claude-cowork`,children:`Claude Cowork guide`}),` for the Cowork-specific setup.`]})}),_jsx(Accordion,{title:`Will routing through Portkey slow down responses?`,id:`will-routing-through-portkey-slow-down-responses`,children:_jsx(_components.p,{children:`Portkey adds single-digit milliseconds of overhead per request. You won’t notice it during normal use.`})}),_jsx(Accordion,{title:`What happens if Portkey is unreachable?`,id:`what-happens-if-portkey-is-unreachable`,children:_jsx(_components.p,{children:`Claude Desktop will surface the connection error like any other API failure. If your admin configured fallbacks in the Portkey config, traffic automatically routes to a backup provider before that happens.`})}),_jsx(Accordion,{title:`Can I use this with a personal Claude account?`,id:`can-i-use-this-with-a-personal-claude-account`,children:_jsx(_components.p,{children:`Yes. Third-party inference is a Claude Desktop setting independent of your account type. Your platform admin can issue you a personal-scoped API key for pilot or solo use.`})}),_jsx(Accordion,{title:`Does Claude Desktop store my Portkey API key securely?`,id:`does-claude-desktop-store-my-portkey-api-key-securely`,children:_jsx(_components.p,{children:`Claude Desktop stores third-party inference credentials in the OS keychain (macOS Keychain or Windows Credential Manager).`})}),_jsx(Accordion,{title:`My org runs Portkey on-prem. What URL do I use?`,id:`my-org-runs-portkey-on-prem-what-url-do-i-use`,children:_jsxs(_components.p,{children:[`Your admin will give you the gateway URL for your self-hosted deployment. It will not be `,_jsx(_components.code,{children:`api.portkey.ai`}),`. Everything else in this guide stays the same: same auth scheme, same metadata header, same setup flow.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Add metadata to your traces`,icon:`tag`,href:`/product/observability/metadata`,children:_jsx(_components.p,{children:`Tag requests with custom keys for richer filtering and cost attribution.`})}),_jsx(Card,{title:`Group requests by session`,icon:`link`,href:`/product/observability/traces`,children:_jsx(_components.p,{children:`Use trace IDs to group related prompts into a single session view.`})}),_jsx(Card,{title:`Understand your spend`,icon:`chart-line`,href:`/product/observability/analytics`,children:_jsx(_components.p,{children:`Filter analytics by team, model, or environment.`})}),_jsx(Card,{title:`Set up alerts`,icon:`bell`,href:`/product/model-catalog/budget-limits`,children:_jsx(_components.p,{children:`Get notified before you hit budget caps.`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Card,{title:`Portkey is now PRISMA AIRS AI Gateway. See it in action.`,href:`https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\u0026utm_medium=referral\u0026utm_campaign=prisma_airs\u0026utm_content=docs_nav#contact`,icon:`arrow-up-right-from-square`,children:_jsx(_components.p,{children:`Contact Us`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Claude Desktop for Developers","description":"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org's approved providers with metadata, policies, and full observability.","href":"/integrations/libraries/claude-desktop-developers"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you need before starting","slug":"what-you-need-before-starting","depth":2,"children":[]},{"title":"Connect Claude Desktop to Portkey","slug":"connect-claude-desktop-to-portkey","depth":2,"children":[]},{"title":"Verify it works","slug":"verify-it-works","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"portkey-docs","siteName":"Portkey (Prisma AIRS AI Gateway) Docs","title":"Claude Desktop for Developers - Portkey (Prisma AIRS AI Gateway) Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[{"_id":"6aa971d50031bd0287c96c09","deploymentId":"67086365a151447bf2fa5021","questionText":"How do I set up Claude Desktop?","status":"active","generatedBy":"contextual","path":"integrations/libraries/claude-desktop-developers","createdAt":"2026-09-15T16:27:01.108Z","updatedAt":"2026-09-15T16:27:01.108Z","__v":0},{"_id":"6aa971d50031bd0287c96c0b","deploymentId":"67086365a151447bf2fa5021","questionText":"How do I enable Developer mode?","status":"active","generatedBy":"contextual","path":"integrations/libraries/claude-desktop-developers","createdAt":"2026-09-15T16:27:01.108Z","updatedAt":"2026-09-15T16:27:01.108Z","__v":0},{"_id":"6aa971d50031bd0287c96c0a","deploymentId":"67086365a151447bf2fa5021","questionText":"What values do I need to start?","status":"active","generatedBy":"contextual","path":"integrations/libraries/claude-desktop-developers","createdAt":"2026-09-15T16:27:01.108Z","updatedAt":"2026-09-15T16:27:01.108Z","__v":0}],"navMaps":{"firstHrefInVersion":{"Latest":{"href":"/integrations/libraries/claude-desktop-developers","matchLevel":0},"Prisma AIRS":{"href":"/aigw/integrations/libraries/claude-desktop-developers","matchLevel":1},"Virtual Keys (Deprecated)":{"href":"/virtual_key_old/integrations/ai-apps","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-08-10T11:57:33.404Z","gitLastModified":"2026-08-06T05:55:04.000Z","originalFileLocation":"integrations/libraries/claude-desktop-developers.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org\u0026#x27;s approved providers with metadata, policies, and full observability.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Claude Desktop for Developers - Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org\u0026#x27;s approved providers with metadata, policies, and full observability.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Portkey AI Gateway Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://portkey-docs.mintlify.app/_mintlify/api/og/v2?division=Claude+Desktop\u0026amp;title=Claude+Desktop+for+Developers\u0026amp;description=Connect+Claude+Desktop+to+Portkey+Gateway+in+under+five+minutes.+Route+requests+through+your+org%27s+approved+providers+with+metadata%2C+policies%2C+and+full+observab\u0026amp;theme=262137c9f2583e48984715e7\u0026amp;signature=6d8bd46aa1def1577ac46970a49aebe3df22108dc14ec7831531cfd8834f1f97\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Claude Desktop for Developers - Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org\u0026#x27;s approved providers with metadata, policies, and full observability.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://portkey-docs.mintlify.app/_mintlify/api/og/v2?division=Claude+Desktop\u0026amp;title=Claude+Desktop+for+Developers\u0026amp;description=Connect+Claude+Desktop+to+Portkey+Gateway+in+under+five+minutes.+Route+requests+through+your+org%27s+approved+providers+with+metadata%2C+policies%2C+and+full+observab\u0026amp;theme=262137c9f2583e48984715e7\u0026amp;signature=6d8bd46aa1def1577ac46970a49aebe3df22108dc14ec7831531cfd8834f1f97\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Portkey (Prisma AIRS AI Gateway) Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0891B2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/integrations/libraries/claude-desktop-developers.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.portkey.ai/#organization\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.portkey.ai/docs#website\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai/docs\",\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers#webpage\",\"url\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers\",\"name\":\"Claude Desktop for Developers\",\"description\":\"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org's approved providers with metadata, policies, and full observability.\",\"dateModified\":\"2026-08-06T05:55:04.000Z\",\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Apps\",\"item\":\"https://docs.portkey.ai/docs/integrations/ai-apps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Claude Desktop\",\"item\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Claude Desktop for Developers\",\"item\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers#article\",\"headline\":\"Claude Desktop for Developers\",\"name\":\"Claude Desktop for Developers\",\"description\":\"Connect Claude Desktop to Portkey Gateway in under five minutes. Route requests through your org's approved providers with metadata, policies, and full observability.\",\"url\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers\",\"mainEntityOfPage\":{\"@id\":\"https://docs.portkey.ai/docs/integrations/libraries/claude-desktop-developers#webpage\"},\"dateModified\":\"2026-08-06T05:55:04.000Z\",\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Portkey (Prisma AIRS AI Gateway) Docs","nav":{"global":null,"versions":[{"version":"Latest","tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/introduction/what-is-portkey"}]},{"tab":"Integrations","groups":[{"group":"Ecosystem","pages":[{"title":"Integrations","href":"/integrations/ecosystem"},{"title":"Submit an Integration","url":"https://github.com/Portkey-AI/gateway/blob/main/.github/CONTRIBUTING.md","href":"/integrations/partner"}]},{"group":"LLM Integrations","pages":[{"title":"Overview","href":"/integrations/llms"},{"group":"OpenAI","pages":[{"title":"OpenAI","href":"/integrations/llms/openai"},{"title":"Structured Outputs","href":"/integrations/llms/openai/structured-outputs"},{"title":"Prompt Caching","href":"/integrations/llms/openai/prompt-caching-openai"},{"title":"Embeddings","href":"/integrations/llms/openai/embeddings"},{"title":"Files","href":"/integrations/llms/openai/files"},{"title":"Batches","href":"/integrations/llms/openai/batches"},{"title":"Fine-tune","href":"/integrations/llms/openai/fine-tuning"},{"title":"Remote MCP Support","url":"/product/ai-gateway/remote-mcp#openai-responses-api-remote-mcp-support","href":"/integrations/llms/openai/remote-mcp"}]},{"group":"Anthropic","pages":[{"title":"Anthropic","href":"/integrations/llms/anthropic"},{"title":"Structured Outputs","href":"/integrations/llms/anthropic/structured-outputs"},{"title":"Prompt Caching","href":"/integrations/llms/anthropic/prompt-caching"},{"title":"Computer use tool","url":"/integrations/libraries/anthropic-computer-use","href":"/integrations/llms/anthropic/computer-use"},{"title":"Remote MCP Support","url":"/product/ai-gateway/remote-mcp#anthropic%E2%80%99s-messages-api-mcp-connector","href":"/integrations/llms/anthropic/remote-mcp"},{"title":"Count Tokens","href":"/integrations/llms/anthropic/count-tokens"},{"title":"Files","href":"/integrations/llms/anthropic/files"},{"title":"Batches","href":"/integrations/llms/anthropic/batches"}]},{"title":"Google Gemini","href":"/integrations/llms/gemini"},{"group":"Google Vertex AI","pages":[{"title":"Google Vertex AI","href":"/integrations/llms/vertex-ai"},{"title":"Text-to-Speech","href":"/integrations/llms/vertex-ai/text-to-speech"},{"title":"Files","href":"/integrations/llms/vertex-ai/files"},{"title":"Batches","href":"/integrations/llms/vertex-ai/batches"},{"title":"Fine-tune","href":"/integrations/llms/vertex-ai/fine-tuning"},{"title":"Controlled Generations","href":"/integrations/llms/vertex-ai/controlled-generations"},{"title":"Embeddings","href":"/integrations/llms/vertex-ai/embeddings"},{"title":"Rerank","href":"/integrations/llms/vertex-ai/rerank"}]},{"group":"Azure","pages":[{"title":"Azure AI Foundry","href":"/integrations/llms/azure-foundry"},{"title":"Azure OpenAI","href":"/integrations/llms/azure-openai/azure-openai"},{"title":"Authentication","href":"/integrations/llms/azure-openai/authentication"},{"title":"Azure Government Cloud","url":"/integrations/llms/azure-openai/azure-openai#azure-government-cloud","href":"/integrations/llms/azure-openai/azure-govcloud"},{"title":"Fine-tune","href":"/integrations/llms/azure-openai/fine-tuning"},{"title":"Files","href":"/integrations/llms/azure-openai/files"},{"title":"Batches","href":"/integrations/llms/azure-openai/batches"}]},{"group":"Bedrock","pages":[{"title":"AWS Bedrock","href":"/integrations/llms/bedrock/aws-bedrock"},{"title":"AWS GovCloud with Bedrock","url":"/integrations/llms/bedrock/aws-bedrock#aws-govcloud-us","href":"/integrations/llms/bedrock/aws-govcloud"},{"title":"Connect Bedrock with Amazon Assumed Role","href":"/product/model-catalog/connect-bedrock-with-amazon-assumed-role"},{"title":"Structured Outputs","href":"/integrations/llms/bedrock/structured-outputs"},{"title":"Files","href":"/integrations/llms/bedrock/files"},{"title":"Batches","href":"/integrations/llms/bedrock/batches"},{"title":"Fine-tune","href":"/integrations/llms/bedrock/fine-tuning"},{"title":"Prompt Caching on Bedrock","href":"/integrations/llms/bedrock/prompt-caching"},{"title":"Embeddings","href":"/integrations/llms/bedrock/embeddings"},{"title":"Rerank","href":"/integrations/llms/bedrock/rerank"},{"title":"AWS Bedrock Knowledge Bases","href":"/integrations/llms/bedrock/bedrock-knowledgebase"}]},{"group":"Claude Platform on AWS","pages":[{"title":"Claude Platform on AWS","href":"/integrations/llms/claude-platform-aws/claude-platform-aws"},{"title":"Setup Assumed Role for Claude Platform on AWS","href":"/integrations/llms/claude-platform-aws/setup-assumed-role"},{"title":"Files","href":"/integrations/llms/claude-platform-aws/files"},{"title":"Batches","href":"/integrations/llms/claude-platform-aws/batches"}]},{"title":"Amazon Bedrock Mantle","href":"/integrations/llms/bedrock-mantle"},{"title":"AWS SageMaker","href":"/integrations/llms/aws-sagemaker"},{"title":"Ollama","href":"/integrations/llms/ollama"},{"group":"More","pages":[{"title":"LocalAI","href":"/integrations/llms/local-ai"},{"title":"vLLM","href":"/integrations/llms/vllm"},{"title":"Triton Inference Server","href":"/integrations/llms/triton"},{"title":"AI21","href":"/integrations/llms/ai21"},{"title":"Anyscale","href":"/integrations/llms/anyscale-llama2-mistral-zephyr"},{"title":"BytePlus ModelArk","href":"/integrations/llms/byteplus"},{"title":"Claude Platform (AWS) (Beta)","tag":"Beta","href":"/integrations/llms/claude-platform-aws"},{"title":"Cerebras","href":"/integrations/llms/cerebras"},{"title":"Cohere","href":"/integrations/llms/cohere"},{"title":"Databricks","href":"/integrations/llms/databricks"},{"group":"Fireworks","pages":[{"title":"Fireworks","href":"/integrations/llms/fireworks"},{"title":"Files","href":"/integrations/llms/fireworks/files"},{"title":"Fine-tune","href":"/integrations/llms/fireworks/fine-tuning"}]},{"title":"Dashscope","href":"/integrations/llms/dashscope"},{"title":"Deepinfra","href":"/integrations/llms/deepinfra"},{"title":"Deepbricks","href":"/integrations/llms/deepbricks"},{"title":"Deepgram","href":"/integrations/llms/deepgram"},{"title":"DeepSeek","href":"/integrations/llms/deepseek"},{"title":"ElevenLabs","href":"/integrations/llms/elevenlabs"},{"title":"GitHub Models","href":"/integrations/llms/github"},{"title":"Groq","href":"/integrations/llms/groq"},{"title":"Hugging Face","href":"/integrations/llms/huggingface"},{"title":"Inference.net","href":"/integrations/llms/inference.net"},{"title":"fal.ai","href":"/integrations/llms/fal-ai"},{"title":"Featherless AI","href":"/integrations/llms/featherless"},{"title":"Jina AI","href":"/integrations/llms/jina-ai"},{"title":"Lambda Labs","href":"/integrations/llms/lambda"},{"title":"Lemonfox-AI","href":"/integrations/llms/lemon-fox"},{"title":"Lepton AI","href":"/integrations/llms/lepton"},{"title":"Lingyi (01.ai)","href":"/integrations/llms/lingyi-01.ai"},{"title":"Mistral AI","href":"/integrations/llms/mistral-ai"},{"title":"Modal Labs","href":"/integrations/llms/modal"},{"title":"Monster API","href":"/integrations/llms/monster-api"},{"title":"Moonshot","href":"/integrations/llms/moonshot"},{"title":"Ncompass","href":"/integrations/llms/ncompass"},{"title":"Nomic","href":"/integrations/llms/nomic"},{"title":"Nscale (EU Sovereign)","href":"/integrations/llms/nscale"},{"title":"Novita AI","href":"/integrations/llms/novita-ai"},{"title":"Nebius","href":"/integrations/llms/nebius"},{"title":"Oracle Cloud Infrastructure","href":"/integrations/llms/oracle"},{"title":"OpenRouter","href":"/integrations/llms/openrouter"},{"title":"OVHcloud AI Endpoints","href":"/integrations/llms/ovhcloud"},{"title":"Perplexity AI","href":"/integrations/llms/perplexity-ai"},{"title":"Predibase","href":"/integrations/llms/predibase"},{"title":"Reka AI","href":"/integrations/llms/reka-ai"},{"title":"Recraft AI","href":"/integrations/llms/recraft-ai"},{"title":"SambaNova","href":"/integrations/llms/sambanova"},{"title":"Segmind","href":"/integrations/llms/segmind"},{"title":"Snowflake Cortex","href":"/integrations/llms/snowflake-cortex"},{"title":"Stability AI","href":"/integrations/llms/stability-ai"},{"title":"SiliconFlow","href":"/integrations/llms/siliconflow"},{"title":"Together AI","href":"/integrations/llms/together-ai"},{"title":"TypeSafe (Jev)","href":"/integrations/llms/typesafe"},{"title":"Upstage AI","href":"/integrations/llms/upstage"},{"title":"Voyage AI","href":"/integrations/llms/voyage-ai"},{"title":"Workers AI","href":"/integrations/llms/workers-ai"},{"title":"xAI (Grok)","href":"/integrations/llms/x-ai"},{"title":"ZhipuAI / ChatGLM / BigModel","href":"/integrations/llms/zhipu"},{"title":"Replicate","href":"/integrations/llms/replicate"},{"title":"Z.AI","href":"/integrations/llms/z-ai"},{"title":"Suggest a new integration!","href":"/integrations/llms/suggest-a-new-integration"}]},{"title":"Bring Your Own LLM","href":"/integrations/llms/byollm"}]},{"group":"Cloud Platforms","pages":[{"title":"Microsoft Azure","href":"/integrations/cloud/azure"}]},{"group":"Guardrails","pages":[{"title":"Aporia","href":"/integrations/guardrails/aporia"},{"title":"Acuvity","href":"/integrations/guardrails/acuvity"},{"title":"Akto","href":"/integrations/guardrails/akto"},{"title":"Azure Guardrails","href":"/integrations/guardrails/azure-guardrails"},{"title":"AWS Bedrock Guardrails","href":"/integrations/guardrails/bedrock-guardrails"},{"title":"Cato Networks","href":"/integrations/guardrails/cato"},{"title":"CrowdStrike AIDR","href":"/integrations/guardrails/crowdstrike-aidr"},{"title":"Lasso Security","href":"/integrations/guardrails/lasso"},{"title":"Lakera","href":"/integrations/guardrails/lakera"},{"title":"Mistral","href":"/integrations/guardrails/mistral"},{"title":"Pangea","href":"/integrations/guardrails/pangea"},{"title":"Patronus AI","href":"/integrations/guardrails/patronus-ai"},{"title":"Palo Alto Networks Prisma AIRS","href":"/integrations/guardrails/palo-alto-panw-prisma"},{"title":"Pillar","href":"/integrations/guardrails/pillar"},{"title":"Prompt Security","href":"/integrations/guardrails/prompt-security"},{"title":"Qualifire","href":"/integrations/guardrails/qualifire"},{"title":"Javelin (Highflame)","href":"/integrations/guardrails/javelin"},{"title":"F5 Guardrails","href":"/integrations/guardrails/f5-guardrails"},{"title":"Headroom","href":"/integrations/guardrails/headroom"},{"title":"Tavily","href":"/integrations/guardrails/tavily"},{"title":"JWT Token Validator","href":"/integrations/guardrails/jwt"},{"title":"Model Rules","href":"/integrations/guardrails/model-rules"},{"title":"Replace Custom Regex Patterns","href":"/integrations/guardrails/regex"},{"title":"Request Parameters Check","href":"/integrations/guardrails/request-parameters-check"},{"title":"Zscaler AI Guard","href":"/integrations/guardrails/zscaler"},{"title":"Bring Your Own Guardrails","href":"/integrations/guardrails/bring-your-own-guardrails"}]},{"group":"Plugins","pages":[{"title":"Exa Online Search","href":"/integrations/plugins/exa"},{"title":"Tavily Online Search","href":"/integrations/plugins/tavily"}]},{"group":"Vector Databases","pages":[{"title":"Milvus","href":"/integrations/vector-databases/milvus"},{"title":"Qdrant","href":"/integrations/vector-databases/qdrant"}]},{"group":"Agents","pages":[{"title":"Overview","href":"/integrations/agents"},{"title":"OpenAI Agents SDK (Python)","href":"/integrations/agents/openai-agents"},{"title":"OpenAI Agents SDK (TypeScript)","href":"/integrations/agents/openai-agents-ts"},{"title":"Claude Agent SDK","href":"/integrations/agents/claude-agent-sdk"},{"title":"AWS AgentCore","href":"/integrations/agents/agentcore"},{"title":"Autogen","href":"/integrations/agents/autogen"},{"title":"Agno AI","href":"/integrations/agents/agno-ai"},{"title":"Control Flow","href":"/integrations/agents/control-flow"},{"title":"CrewAI","href":"/integrations/agents/crewai"},{"title":"Langchain Agents","href":"/integrations/agents/langchain-agents"},{"title":"Langroid","url":"https://langroid.github.io/langroid/notes/portkey","href":"/integrations/agents/langroid"},{"title":"LangGraph","href":"/integrations/agents/langgraph"},{"title":"LiveKit","href":"/integrations/agents/livekit"},{"title":"Llama Agents by Llamaindex","href":"/integrations/agents/llama-agents"},{"title":"Mastra Agents","href":"/integrations/agents/mastra-agents"},{"title":"OpenAI Swarm","href":"/integrations/agents/openai-swarm"},{"title":"Pydantic AI","href":"/integrations/agents/pydantic-ai"},{"title":"Phidata","href":"/integrations/agents/phidata"},{"title":"Strands Agents","href":"/integrations/agents/strands"},{"title":"Bring Your own Agents","href":"/integrations/agents/bring-your-own-agents"}]},{"group":"AI Apps","pages":[{"title":"Overview","href":"/integrations/ai-apps"},{"title":"AnythingLLM","href":"/integrations/libraries/anythingllm"},{"group":"Claude Code","pages":[{"title":"Claude Code","href":"/integrations/libraries/claude-code"},{"title":"Claude Code with Anthropic","href":"/integrations/libraries/claude-code-anthropic"},{"title":"Claude Code with Amazon Bedrock","href":"/integrations/libraries/claude-code-bedrock"},{"title":"Claude Code with Google Vertex AI","href":"/integrations/libraries/claude-code-vertex"},{"title":"Gateway Compatibility","href":"/integrations/libraries/claude-code-gateway-compatibility"}]},{"group":"Claude Desktop","pages":[{"title":"Claude Desktop","href":"/integrations/libraries/claude-desktop"},{"title":"Claude Desktop for Platform Admins","description":"Roll out Claude Desktop with Portkey across your org with provider routing, metadata-driven governance, scoped API keys, and usage observability.","href":"/integrations/libraries/claude-desktop-platform-admins"},{"title":"Claude Desktop for Developers","href":"/integrations/libraries/claude-desktop-developers"}]},{"title":"Claude for Microsoft 365","description":"Deploy the Claude add-in for Excel, Word, PowerPoint, and Outlook through Portkey with governed model routing, scoped API keys, and full observability.","href":"/integrations/libraries/claude-for-microsoft-365"},{"title":"Claude Cowork","href":"/integrations/libraries/claude-cowork"},{"title":"Google Antigravity","href":"/integrations/libraries/antigravity"},{"title":"OpenCode","href":"/integrations/libraries/opencode"},{"title":"Pi Agent","href":"/integrations/libraries/pi-agent"},{"title":"Hermes Agent","href":"/integrations/libraries/hermes-agent"},{"title":"OpenClaw","href":"/integrations/libraries/openclaw"},{"title":"Anthropic Computer Use","href":"/integrations/libraries/anthropic-computer-use"},{"title":"Cline","href":"/integrations/libraries/cline"},{"title":"Continue.dev","href":"/integrations/libraries/continue-dev"},{"title":"Android Studio","href":"/integrations/libraries/android-studio"},{"title":"Cursor","href":"/integrations/libraries/cursor"},{"title":"Langflow","href":"/integrations/libraries/langflow"},{"title":"Goose","href":"/integrations/libraries/goose"},{"title":"GitHub Copilot","href":"/integrations/libraries/github-copilot"},{"title":"Jan","href":"/integrations/libraries/janhq"},{"title":"OpenAI Agent Builder (TypeScript)","href":"/integrations/libraries/openai-agent-builder"},{"title":"OpenAI Agent Builder (Python)","href":"/integrations/libraries/openai-agent-builder-python"},{"group":"Librechat","pages":[{"title":"LibreChat","href":"/integrations/libraries/librechat"},{"title":"Web Search for Any LLM in LibreChat","href":"/guides/use-cases/librechat-web-search"}]},{"group":"Open WebUI","pages":[{"title":"Open WebUI","href":"/integrations/libraries/openwebui"},{"title":"Image Generation with Open WebUI","url":"/integrations/libraries/openwebui#4-image-generation-with-portkey","href":"/integrations/libraries/openwebui/image-generation-with-openwebui"}]},{"title":"n8n","href":"/integrations/libraries/n8n"},{"title":"Retool","href":"/integrations/libraries/retool"},{"title":"Salesforce Agentforce","href":"/integrations/libraries/salesforce-agentforce"},{"title":"OpenAI Codex","href":"/integrations/libraries/codex"},{"title":"Conductor","href":"/integrations/libraries/conductor"},{"title":"Roo Code","href":"/integrations/libraries/roo-code"},{"title":"Zed","href":"/integrations/libraries/zed"}]},{"group":"Libraries","pages":[{"title":"Overview","href":"/integrations/libraries"},{"title":"Autogen (DEPRECATED)","href":"/integrations/libraries/autogen"},{"title":"DSPy","href":"/integrations/libraries/dspy"},{"title":"Instructor","href":"/integrations/libraries/instructor"},{"title":"Langchain (Python)","href":"/integrations/libraries/langchain-python"},{"title":"Langchain (JS/TS)","href":"/integrations/libraries/langchain-js"},{"title":"LlamaIndex (Python)","href":"/integrations/libraries/llama-index-python"},{"title":"Promptfoo","href":"/integrations/libraries/promptfoo"},{"title":"Vercel AI SDK","href":"/integrations/libraries/vercel"},{"title":"MindsDB","href":"/integrations/libraries/mindsdb"},{"title":"ToolJet","href":"/integrations/libraries/tooljet"},{"title":"MongoDB","href":"/integrations/libraries/mongodb"},{"title":"Supabase","href":"/integrations/libraries/supabase"},{"title":"Zed","href":"/integrations/libraries/zed"},{"title":"Any OpenAI-Compatible Project","href":"/integrations/libraries/openai-compatible"},{"title":"Microsoft Semantic Kernel","url":"/api-reference/inference-api/sdks/c-sharp#using-portkey-with-semantic-kernel","href":"/integrations/libraries/microsoft-semantic-kernel"}]},{"group":"Tracing Providers","pages":[{"title":"Arize AX","href":"/integrations/tracing-providers/arize"},{"title":"Arize Phoenix","href":"/integrations/tracing-providers/phoenix"},{"title":"Pydantic Logfire","href":"/integrations/tracing-providers/logfire"},{"title":"FutureAGI","href":"/integrations/tracing-providers/future-agi"},{"title":"Langfuse","href":"/integrations/tracing-providers/langfuse"},{"title":"Langsmith","href":"/integrations/tracing-providers/langsmith"},{"title":"Pydantic Logfire","href":"/integrations/tracing-providers/logfire"},{"title":"MLflow Tracing","href":"/integrations/tracing-providers/ml-flow"},{"title":"OpenLIT","href":"/integrations/tracing-providers/openlit"},{"title":"OpenTelemetry Python SDK","href":"/integrations/tracing-providers/opentelemetry-python-sdk"},{"title":"HoneyHive","href":"/integrations/tracing-providers/honeyhive"},{"title":"Traceloop (OpenLLMetry)","href":"/integrations/tracing-providers/traceloop"}]},{"group":"MCP Clients","pages":[{"title":"Claude Desktop","href":"/integrations/mcp-clients/claude"},{"title":"Cursor","href":"/integrations/mcp-clients/cursor"},{"title":"LibreChat","href":"/integrations/mcp-clients/librechat"},{"title":"VS Code","href":"/integrations/mcp-clients/vs-code"},{"title":"Claude Code","href":"/integrations/mcp-clients/claude-code"}]},{"group":"MCP Servers","pages":[{"title":"Postman MCP server","href":"/integrations/mcp-servers/postman-mcp-server"},{"title":"Atlassian Remote MCP server","href":"/integrations/mcp-servers/atlassian-mcp-server"},{"title":"Datadog MCP server","href":"/integrations/mcp-servers/datadog-mcp-server"},{"title":"Figma MCP server","href":"/integrations/mcp-servers/figma-mcp-server"},{"title":"Firebase MCP server","href":"/integrations/mcp-servers/firebase-mcp-server"},{"title":"Tavily MCP server","href":"/integrations/mcp-servers/tavily-mcp-server"},{"title":"Firecrawl MCP server","href":"/integrations/mcp-servers/firecrawl-mcp-server"},{"title":"GitHub MCP server","href":"/integrations/mcp-servers/github-mcp-server"},{"title":"Gitlab MCP server","href":"/integrations/mcp-servers/gitlab-mcp-server"},{"title":"Gmail MCP server","href":"/integrations/mcp-servers/gmail-mcp-server"},{"title":"Cerebras Code MCP server","href":"/integrations/mcp-servers/cerebras-code-mcp-server"},{"title":"Grafana MCP server","href":"/integrations/mcp-servers/grafana-mcp-server"},{"title":"Kubernetes MCP server","href":"/integrations/mcp-servers/kubernetes-mcp-server"},{"title":"Linear MCP server","href":"/integrations/mcp-servers/linear-mcp-server"},{"title":"Microsoft 365 MCP server","href":"/integrations/mcp-servers/microsoft-365-mcp-server"},{"title":"Notion MCP server","href":"/integrations/mcp-servers/notion-mcp-server"},{"title":"Open Library MCP server","href":"/integrations/mcp-servers/open-library-mcp-server"},{"title":"Playwright MCP server","href":"/integrations/mcp-servers/playwright-mcp-server"},{"title":"Qdrant MCP server","href":"/integrations/mcp-servers/qdrant-mcp-server"},{"title":"Slack MCP server","href":"/integrations/mcp-servers/slack-mcp-server"},{"title":"Snowflake MCP server","href":"/integrations/mcp-servers/snowflake-mcp-server"},{"title":"Stripe MCP server","href":"/integrations/mcp-servers/stripe-mcp-server"},{"title":"Vectara MCP server","href":"/integrations/mcp-servers/vectara-mcp-server"}]}]},{"tab":"Gateway APIs","pages":[{"title":"Gateway APIs","href":"/api-reference/inference-api/introduction"}]},{"tab":"Admin APIs","pages":[{"title":"Admin APIs","href":"/api-reference/admin-api/introduction"}]},{"tab":"Cookbooks","pages":[{"title":"Cookbooks","href":"/guides/use-cases/run-batch-evals"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026/september"}]},{"tab":"Help Center","pages":[{"title":"Help Center","href":"/help-center/you-do-not-have-enough-permissions"}]}]},{"version":"Prisma AIRS","pages":[{"title":"Prisma AIRS","href":"/aigw/integrations/libraries/claude-desktop-developers"}]},{"version":"Virtual Keys (Deprecated)","pages":[{"title":"Virtual Keys (Deprecated)","href":"/virtual_key_old/integrations/ai-apps"}]}]},"basePath":"","title":"Claude Desktop for Developers - Portkey (Prisma AIRS AI Gateway) Docs","buildId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","deploymentId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CSp1VigC.js","DynamicMarkdown-Dnt6YhtR.js","zoom-image-lightbox-CZTaVDTN.js","lightbox-handle-r17bVUz3.js"]}