# Connect Agent Rule in Pega

**URL:** <https://forums.pega.com/t/connect-agent-rule-in-pega/11178>\
**Category:** AI\
**Created:** [March 17, 2026, 5:55am UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178 "2026-03-17T05:55:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aswin\_Kumar\_K](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aswin_kumar_k/32/16312_2.png) [@Aswin\_Kumar\_K](https://forums.pega.com/u/Aswin_Kumar_K)\
**Post date:** [March 17, 2026, 5:55am UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178/1 "2026-03-17T05:55:09Z")

</div>

Hi Team,

I’m currently working on configuring a Connect Agent rule in Pega (under Integration → Connectors) and wanted to check if anyone has implemented agent-to-agent communication before.

I’ve been trying to establish a connection between two Pega Community Edition systems over the past few days, but I’m running into issues. The connection is failing, and when I trace it, I’m seeing a runtime error indicating that it’s unable to connect to the target Pega system.

If anyone has experience setting this up or can share guidance on the correct implementation approach, I would really appreciate your support.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![Murali.Krishnan.D](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/murali.krishnan.d/32/23460_2.png) [@Murali.Krishnan.D](https://forums.pega.com/u/Murali.Krishnan.D)\
**Post date:** [March 17, 2026, 7:14am UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178/2 "2026-03-17T07:14:10Z")

</div>

Hi Aswin,

I suspect either an Auth profile security configuration issue or some connectivity problem.

Could you confirm if you have enabled “External Access“ in the target agent? assuming the taget agent is a Pega Agent.

If its enabled, could you please give the full stack trace of the exception/error?

---

<div class="post-metadata">

**Author:** ![Aswin\_Kumar\_K](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/aswin_kumar_k/32/16312_2.png) [@Aswin\_Kumar\_K](https://forums.pega.com/u/Aswin_Kumar_K)\
**Post date:** [March 18, 2026, 3:24am UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178/3 "2026-03-18T03:24:59Z")

</div>

Hi Murali,

Thanks for Replying . Yes i enabled external agent checkbox for pega agent let me share you the stack trace.

Thanks,

Aswin

---

<div class="post-metadata">

**Author:** ![STEWJ](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/stewj/32/23281_2.png) [@STEWJ](https://forums.pega.com/u/STEWJ)\
**Post date:** [March 18, 2026, 11:45am UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178/4 "2026-03-18T11:45:01Z")

</div>

What are you using for authentication , OAuth ?

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [March 18, 2026, 2:13pm UTC](https://forums.pega.com/t/connect-agent-rule-in-pega/11178/5 "2026-03-18T14:13:55Z")

</div>

I had a similar issue. This is because that you’ve IP restrictions for community edition.
