Skip to main content
Connect Salesforce Service Cloud so IrisAgent can learn from your cases and Knowledge articles, then install the IrisAgent app so agents see it on the case page. A Salesforce admin should do these steps.

Connect Salesforce to IrisAgent

  1. Sign in to the IrisAgent dashboard with Google, Microsoft, or Okta SSO.
  2. Choose Salesforce:
    • During onboarding: on Connect your first data source, choose Ticketing system, then Salesforce.
    • Later: go to Data Sources → Ticketing System and pick Salesforce.
  3. Click Connect production org or Connect sandbox org.
  4. Sign in to Salesforce, grant the OAuth permissions, and click Allow.
IrisAgent gets the same access as the Salesforce user who connects. We recommend connecting as a dedicated integration user. See Permissions accessed by IrisAgent.

Install the IrisAgent app in Salesforce account

  1. While logged in to the target org, open the installation link:
  2. Select Install for All Users (you can restrict profiles later), check the acknowledgment, click Install, then Done.
IrisAgent app listing for Salesforce

Add IrisAgent to the Lightning case page

  1. Go to Setup → Object Manager and open the Case object.
  2. Open Lightning Record Pages, then edit or create a page.
  3. Add IrisAgent Sidebar: Inline Email where you want it. Do not also add the standard IrisAgent Sidebar component.
  4. Make sure the standard Email action is visible in the Case Feed publisher on load. Agents use it to insert Suggested and Dynamic Resolutions into the email composer.
  5. Click Save, then Activate if prompted.
Give the sidebar room. Use a two-column template such as Header and Right Sidebar and place IrisAgent at the top of the right sidebar. In a three-column template the sidebar gets about a quarter of the page, and the assistant’s tabs and answers are cramped. Case details can move below the Feed and Details tabs in the main column.

Upgrade the app

  1. Open the same installation link while logged in to the org. Salesforce shows Upgrade IrisAgent Sidebar with the installed and new versions.
  2. Keep your profile choice and click Upgrade.
  3. Check Yes, grant access to these third-party web sites and click Continue. The package uses chatbot.irisagent.com, media-cdn.atlassian.com, frontend-api-server-v2.api.irisagent.com, and us.i.posthog.com.
  4. Open a Case. If you still see the previous sidebar, hard-refresh the page (Cmd+Shift+R or Ctrl+Shift+R): Lightning caches page layouts in the browser.
Your Lightning pages keep the component after an upgrade. If a page shows an older sidebar that does not change after upgrading, it may hold a copy of the component deployed from source rather than the installed package. In the Lightning App Builder, remove that copy and add the packaged component.

Troubleshooting

The Salesforce connection may have expired, for example after the integration user’s password changed. Go to Data Sources → Ticketing System and reconnect Salesforce, signing in as the same integration user.
IrisAgent answers about cases it has synced from Salesforce. New cases appear after the next sync. If no recent cases are syncing at all, reconnect Salesforce, then email us so we can check that case sync is turned on for your account.
Salesforce blocks images from hosts that are not CSP Trusted Sites. In Setup → Trusted URLs, add https://storage.googleapis.com (where IrisAgent stores images from your help center articles) with the img-src directive, plus your help center’s own image host if answers link images there directly. Reload the Case page.
The org must be the one connected to IrisAgent. IrisAgent identifies your account from the Salesforce organization, so a sandbox or scratch org that was never connected shows the sidebar without data.

Share your custom fields

Email us the API field names for:
  1. Article body in Salesforce Knowledge
  2. Case priority
  3. Any other entity where you use a custom field instead of the standard one

Finish setup

Email us when these steps are done. Our team then sets up the machine learning models for your account.

Permissions accessed by IrisAgent

OAuth scopes

IrisAgent requests two scopes:
  • api: access to the Salesforce REST API.
  • refresh_token: keeps ingestion running without a new sign-in.
Scopes do not limit which objects or fields IrisAgent can reach. The token inherits the permissions of the user who connects. To keep access minimal, connect with a dedicated integration user (for example “IrisAgent AI”), ideally on the Salesforce Integration (API only) license, and grant only the permissions below through a permission set.

Object permissions

Grant field-level read access on custom fields you share, and edit access on Case fields IrisAgent should update.
  • IrisAgent never deletes Salesforce records and does not use the Metadata, Tooling, or Apex REST APIs.
  • Case updates are sent with assignment rules turned off, so they do not trigger your assignment rules.
  • Live chat handoff to Salesforce Messaging for In-App and Web (Enhanced Chat) uses your Messaging deployment’s guest access, so it needs no extra object permissions.

Switching to a new integration user

Contact your IrisAgent point of contact or email us. We enable a token refresh, and you sign in again as the new user. See Change Integration User.