This is the agent-assist sidebar for people working cases. If you want to deflect cases before they are created, on the Contact Support page of a Help Center, use the Case Deflector instead. The two are complementary.
Prerequisites
- Admin access to a Salesforce org with an Experience Cloud site
- The IrisAgent Salesforce package installed (see the Salesforce data source guide for the initial install)
- Access to IrisAgent dashboard
Where the sidebar can go
The sidebar answers questions about one specific, already-saved Case. It needs that Case’s Id in page context, so it belongs on a Case record page in your site.Install or upgrade the IrisAgent Salesforce package
Experience Cloud support for the sidebar ships in IrisAgent Sidebar v1.4.0+. If you have an older version, upgrade to the latest package version. If this is a fresh install, follow the Salesforce data source guide first, then upgrade. Please email us to receive the latest installation URL for your org.Grant community members permissions
Unlike the Case Deflector, which runs as the site’s anonymous Guest User, the sidebar runs as authenticated members of your site. Assign them the packaged permission set:- In Salesforce Setup, go to Users → Permission Sets
- Open IrisAgent Sidebar Community
- Click Manage Assignments → Add Assignment
- Select the community members (or use a permission set group assigned to their profile) and click Assign
- Case read access through their profile and your sharing settings or sharing sets. The sidebar reads Subject, Status, Priority, Case Number, Description, and Account Name.
- Knowledge read access (
Knowledge__kav) if you want article hover previews. Without it, previews fall back to showing the article title and link, and answers are unaffected.
https://frontend-api-server-v2.api.irisagent.com is active under Setup → Remote Site Settings. The sidebar calls our API server-side through Apex, so no browser-side CSP change is needed for the API itself.
Check the site security level
Experience Cloud blocks custom Lightning Web Components on stricter security levels. If the sidebar does not appear in the Components panel, or you see a “components are blocked due to the site’s security level setting” warning:- In Experience Builder, go to Settings → Security & Privacy
- Set the security level to one that permits custom components (Relaxed CSP is typical)
- Publish the site
Add the sidebar to the Case record page
- In Salesforce Setup, go to Digital Experiences → All Sites
- Find your site and click Builder
- In Experience Builder, navigate to the Case record page
- From the Components panel, drag IrisAgent Sidebar (Experience Cloud) onto the page, typically into a right-hand column
-
Leave the Record Id property set to its default of
{!recordId}so the sidebar follows whichever Case the page is showing - Click Publish to deploy the change to your live site
Verify the deployment
- Open the published site as a member who has the IrisAgent Sidebar Community permission set (not as an admin previewing from Builder)
- Open a real Case that IrisAgent has processed
- Confirm the sidebar loads suggested resolution, similar cases, sentiment, and summary
- Click a link in the sidebar and confirm it opens without error
- Hover an article link and confirm you get either the full preview or a title and link
Differences from the internal console
The sidebar behaves the same in a community with two exceptions, both cosmetic:- Links open in the same tab. Experience Cloud has no console, so there are no subtabs to open into.
- Article hover previews may show only a title and link if members cannot read Knowledge records. Answer content is generated server-side and is unaffected.
Troubleshooting
The sidebar isn’t in the Components panel- Confirm the package version is 1.4.0 or higher
- Check the site security level, as described above
- Confirm you are on a Case record page, not a Home or case creation page
- Set the component’s Record Id property to
{!recordId} - Confirm the component is on a Case record page, so there is a record in context
- Confirm the member has the IrisAgent Sidebar Community permission set
- Confirm the member can open the same Case directly, which rules out sharing and profile issues
- Confirm the Remote Site Setting for
https://frontend-api-server-v2.api.irisagent.comis active