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


