How does Salesforce AI search work in InSearch?
An admin connects Salesforce once with a connected app, InSearch reads your most recently changed cases, opportunities and accounts, and from then on people in the workspace ask questions and get written answers that cite the records.
In Salesforce the admin creates a connected app with OAuth, switches on the client credentials flow and sets a read-only run-as user, the way Salesforce describes in its guide to the client credentials flow for connected apps. In the InSearch console the admin pastes the My Domain address, the consumer key and the consumer secret, and chooses who sees answers from this source.
InSearch then reads what that run-as user can see: the 200 most recently changed cases with number, subject, description and status, 200 opportunities with name, description, stage, amount and close date, and 100 accounts with name, description and industry. The source is checked again on a schedule, so newly changed records come in without anyone pressing a button.
When someone asks a question, the answer can draw on Salesforce together with every other source the workspace has connected, such as Drive, Slack, Notion, Confluence, Jira or Gmail. Each sentence points to the record it came from.