logo

NJP

ServiceNow as a Secondary AI Agent (Full Technical Walkthrough)

ServiceNow Dev Program · Sep 25, 2026 · video

Let's set up ServiceNow as a secondary AI agent. We created an AI agent in Agent Studio on one instance, then configured a second instance to discover and interact with it over the A2A protocol. In this episode of the Action Fabric series, we are covering: • Preliminary setup: enabling discoverability and the external AI agents property on your secondary instance • Building a simple agent in Agent Studio that looks up a user by employee number and summarizes their open incidents • Grabbing the Agent Card URL and understanding why it matters • Configuring REST API keys, inbound authentication profiles, and API access policies on the secondary instance • Setting up the primary instance to discover and connect to the external agent • Understanding the difference between the discovery URL (well-known/agent.json) and the execution URL • Authentication options: API key with static token credentials vs OAuth 2.0 • Multi-turn conversation in action: watching the primary instance interact with the secondary agent across multiple exchanges. Whether you've been following the Action Fabric series or jumping in fresh, this episode gives you the complete hands-on walkthrough to get cross-instance agent communication working. Blog: For a complete walkthrough of A2A concepts with respect to ServiceNow Action Fabric: https://www.servicenow.com/community/developer-advocate-blog/servicenow-action-fabric-a-detailed-walkthrough/ba-p/3581348 0:00 - Introduction and Recap 0:30 - Preliminary Setup: Discoverability and Properties 1:22 - Building the Agent in Agent Studio 2:37 - Agent Demo: User Lookup and Incident Summary 3:41 - Configuring REST API Key on the Secondary Instance 4:39 - Inbound Authentication Profile Setup 5:14 - REST API Access Policies 5:43 - Setting Up the Primary Instance 6:06 - Discovering the External Agent and Agent Card 7:02 - Activating and Reviewing Discovered Tools 7:51 - Connection URL vs Discovery URL 8:42 - Authentication: API Key and Static Token Credential 10:54 - Testing the Multi-Turn Conversation 12:08 - Multi-Turn A2A in Action: Incidents Retrieved

View original source

https://www.youtube.com/watch?v=Nvrpqs4NWSc