Conversation
Pegasystems Inc.
CA
Last activity: 1 Feb 2026 18:48 EST
Configuring Knowledge Buddy and Agentic AI
This article explains how to enable Knowledge Buddy and Agentic AI in Pega. You’ll regenerate and download OAuth client credentials from the KnowledgeBuddy_OAuth_EndUser registration, update the corresponding Authentication Profile in Pega, and set the KnowledgeBuddySvcURL to the Buddy server. It also covers enabling Agentic by configuring pyBuddySvcURL and pyBuddyAuthenticationProfile across environments. If Knowledge Buddy runs on a different server, log in there first before proceeding.
Before you begin
- If Knowledge Buddy is hosted on a different server than the Pega application, first sign in to the Knowledge Buddy server, then proceed.
Regenerate and download client credentials in Knowledge Buddy
- Open the Knowledge Buddy application (Dev Studio).
- Navigate to Records > Security > OAuth 2.0 Client Registration.
- Select KnowledgeBuddy_OAuth_EndUser.
- On the Client Credentials page, click Regenerate client secret.
- When the Download button appears, click it to download the file containing the client credentials (client ID and client secret).
Update the Authentication Profile in Pega
- Open the Pega application (Dev Studio).
- Go to Records > Security > Authentication Profile.
- Select KnowledgeBuddy_OAuth_EndUser.
- On the Client configuration page, enter the client ID and client secret from the downloaded file, then click Save.
Update the KnowledgeBuddySvcURL dynamic system setting
- Open the Knowledge Buddy application (Dev Studio).
- Go to Records > SysAdmin > Dynamic System Settings.
- Open KnowledgeBuddySvcURL.
- In the Value field, enter the URL of the server hosting Knowledge Buddy, then save.
Enable Knowledge Buddy for Agentic
Step 1 — Configure the service URL
- In Dev Studio, navigate to Records > SysAdmin > Application Settings.
- Select pyBuddySvcURL.
- Enter the URL where Knowledge Buddy is installed for all environments, then click Save.
Step 2 — Configure the authentication profile
- In Dev Studio, navigate to Records > SysAdmin > Application Settings.
- Select pyBuddyAuthenticationProfile.
- Set the appropriate Authentication Profile for all environments, then click Save.
Pega GenAI Cookbook - Recipes series
Enjoyed this article? See more similar articles in Pega Cookbook - Recipes 🔥🔥🔥 series.