From 81df1cc107eb3e31a30c5c85f4461a26873374cd Mon Sep 17 00:00:00 2001 From: Harshit Kumar Date: Thu, 14 May 2026 16:17:46 +0530 Subject: [PATCH 1/2] docs(agent-gateway): add API key Info for permissions and Agent Gateway toggle --- product/agent-gateway/advanced-code-snippets-and-examples.mdx | 4 ++++ product/agent-gateway/quickstart.mdx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/product/agent-gateway/advanced-code-snippets-and-examples.mdx b/product/agent-gateway/advanced-code-snippets-and-examples.mdx index a8829116..2822253a 100644 --- a/product/agent-gateway/advanced-code-snippets-and-examples.mdx +++ b/product/agent-gateway/advanced-code-snippets-and-examples.mdx @@ -3,6 +3,10 @@ title: Advanced code snippets and examples description: Advanced code snippets and examples for the Agent Gateway --- + + Modify the API key permissions and turn on the toggle for **Agent Gateway** to enable Agent Gateway for your API key. See the [Quickstart](/product/agent-gateway/quickstart) for where to configure this in the app, including the `agents.invoke` scope. + + ## Introduction The [Quickstart](/product/agent-gateway/quickstart) guide provides a basic example of how to use the Agent Gateway. diff --git a/product/agent-gateway/quickstart.mdx b/product/agent-gateway/quickstart.mdx index 58cc0012..41034f68 100644 --- a/product/agent-gateway/quickstart.mdx +++ b/product/agent-gateway/quickstart.mdx @@ -3,6 +3,10 @@ title: Quickstart description: Get started with Agent Gateway --- + + Modify the API key permissions and turn on the toggle for **Agent Gateway** to enable Agent Gateway for your API key. Create or edit a key on the [API Keys](https://app.portkey.ai/api-keys) page, and enable the `agents.invoke` scope when you will invoke agents with that key. For how Portkey API keys and scopes work, see [API keys, authentication, and authorization](/product/enterprise-offering/org-management/api-keys-authn-and-authz). + + All you need to get started is an agent server. For this quickstart, we will be using an [A2A agent](https://a2a-protocol.org/latest/topics/what-is-a2a/#understanding-the-agent-stack-a2a-mcp-agent-frameworks-and-models). From 390e0d330f35dc9b104439f19d6288a6118c029e Mon Sep 17 00:00:00 2001 From: harshitkumar454 Date: Thu, 14 May 2026 16:31:42 +0530 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- product/agent-gateway/advanced-code-snippets-and-examples.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/agent-gateway/advanced-code-snippets-and-examples.mdx b/product/agent-gateway/advanced-code-snippets-and-examples.mdx index 2822253a..78d624e3 100644 --- a/product/agent-gateway/advanced-code-snippets-and-examples.mdx +++ b/product/agent-gateway/advanced-code-snippets-and-examples.mdx @@ -4,7 +4,7 @@ description: Advanced code snippets and examples for the Agent Gateway --- - Modify the API key permissions and turn on the toggle for **Agent Gateway** to enable Agent Gateway for your API key. See the [Quickstart](/product/agent-gateway/quickstart) for where to configure this in the app, including the `agents.invoke` scope. + Modify the API key permissions and turn on the **Agent Gateway** toggle for your API key. See the [Quickstart](/product/agent-gateway/quickstart) for where to configure this in the app. Make sure the `agents.invoke` scope is enabled. ## Introduction