Prerequisites
- Admin access to a Salesforce org with an Experience Cloud Help Center site
- The IrisAgent Salesforce package installed (see the Salesforce data source guide for the initial install)
- Access to IrisAgent dashboard
Install or upgrade the IrisAgent Salesforce package
The Case Deflector ships in IrisAgent Sidebar v1.3.0+. The current version is v1.4.0. If you already have an older version installed, install over it with the link below to upgrade in place. If this is a fresh install, follow the Salesforce data source guide first. Install v1.4.0 using the link for your org type, making sure you are logged into the target org first:- Production or Developer org: Production installation link
- Sandbox org: Sandbox installation link
Grant Guest User permissions
Anonymous Help Center visitors run as the site’s Guest User, so that profile needs access to the Apex proxy used by the deflector:- In Salesforce Setup, go to Digital Experiences → All Sites
- Click Workspaces next to your Help Center site, then open Administration → Pages → Go to Force.com
- Click Public Access Settings to open the Guest User profile
- Scroll to Enabled Apex Class Access, click Edit, and add
IrisAgentAPIClient(oririsagentsf.IrisAgentAPIClientif your org uses the namespaced package) - Click Save
https://frontend-api-server-v2.api.irisagent.com is active under Setup → Remote Site Settings.
Add the Case Deflector to the Contact Support page
- In Salesforce Setup, go to Digital Experiences → All Sites
- Find your Help Center site (for example, Default Help Center) and click Builder
- In Experience Builder, navigate to the Contact Support page
- Remove the existing Contact Support Form component — the IrisAgent Case Deflector replaces it
- From the Components panel, drag IrisAgent Case Deflector onto the page where the form used to be
-
(Optional) Tune the component properties in the right-hand panel:
- Click Publish to deploy the change to your live Help Center
How it works
- The visitor starts typing in the Subject and Description fields on the deflector
- Once the combined text exceeds
minCharCount, the deflector waitsdebounceMsafter the last keystroke before calling the API - Two parallel requests fire through the Apex proxy — one for an AI-generated answer with source citations, one for related knowledge articles
- Results appear inline:
- AI Guidance — a rich-text answer
- Source links — clickable citation chips
- Related Articles — up to
maxArticlesentries with title, link, and snippet
- The visitor chooses:
- Yes, this helped — the deflector disappears and no case is created
- No, I still need help — the user is navigated to
contactPageName, which loads the standard Contact Support Form
Verify the deployment
- Open the published Help Center URL in an incognito or private window so you load it as an anonymous Guest User
- Navigate to Contact Support
- Type at least 15 combined characters across Subject and Description
- Confirm the deflector renders AI guidance and related articles
- In browser DevTools → Network, confirm there are no direct calls to
frontend-api-server-v2.api.irisagent.comfrom the browser — all traffic should go through/services/data/...(the Apex proxy)
Troubleshooting
Deflector doesn’t appear on the Contact Support page- Verify the component was published in Experience Builder, not just saved as a draft
- Confirm the IrisAgent Sidebar package version is 1.3.0 or higher
- Confirm the Remote Site Setting for
https://frontend-api-server-v2.api.irisagent.comis active - Confirm the Guest User profile has Apex Class Access to
IrisAgentAPIClient