All you need to get started is an agent server. For this quickstart, we will be using an A2A agent.Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Fetch your server URL
Make use of one of the following agent servers and configure it as the
upstream agent server. This is used to fetch the agent card and authenticate
requests.
Simple A2A Agent with tools and header based authentication
Host your own agent
You can host your own A2A Agent server following the instructions in the
Agent Server
SDK
documentation.
Add agent to registry
Configure the agent
Access the Agent
Registry and
configure the agent server URL.

Fetch agent card and validate
Validate transport and authentication schemes by clicking the 
Fetch Agent Card button.
Verify your integration
Grab your Portkey API key
Head over to the API Keys page and
create a new API key. Make sure the 
agents.invoke scope is enabled for
your API key.
Fetch the agent server URL from the agents tab
Open the Agents tab and fetch the
corresponding agent server URL. This is the URL you will use to connect
your agent to the Portkey Agent Gateway instead of the agent server URL.
It looks something like this (you can replace the agent slug with your
server’s slug):

https://agents.portkey.ai/v1/agent/header-based-authentication
Interface with your agent
You can simply replace your agent server URL with the one you fetched from the agents tab and test out the integration. Alternatively, make use of one of the code snippets below!Further reading
Agent Registry
Manage your agent integrations and control access to agents and their skills.
Agent Servers
Learn how virtual agent servers work and how to host your own.
Advanced code snippets and examples
Explore additional examples for fetching agent cards and invoking agents.
API Keys
Configure API keys and scopes to securely invoke your agents.


