Salesforce actions setup
Use Salesforce actions to let Glean Assistant and Agents search and update Salesforce data without leaving Glean.
With this setup, you can:
- Enable the Salesforce action pack for a data source instance.
- Authenticate with a Salesforce OAuth app.
- Decide which agents and surfaces can use these actions.
Prerequisites
Before enabling Salesforce actions:
- The Salesforce datasource must be configured and successfully crawling content.
- You must be able to access the Glean Admin Console.
- Decide which authentication mode you want to use:
- Central (recommended): Use this option if central apps are available for Salesforce in your Glean environment.
- Custom: Use this option only if you are self-hosted or your security requirements require a customer-managed Salesforce OAuth app.
You do not need to create a Salesforce connected app if you use Central authentication. A Salesforce connected app is required only for the Custom authentication flow.
Setup instructions
Follow these steps to set up the Salesforce action pack:
-
In Glean, go to Admin Console → Platform → Actions.
-
Click Add.
-
From Add pre‑set actions, select Salesforce Actions under Action templates.
-
In the Configuration tab:
- Add the Instance Name.
- Select the connected Datasource Instance to link this action to your Salesforce instance.
- Configure authentication. Salesforce actions use user OAuth so that actions run as the signed‑in user and respect their permissions. You can either use a central Glean‑managed app (recommended) or configure a custom OAuth app in Salesforce.
-
Click Edit settings under Enable Actions section to make actions visible for all or some users within Glean Chat and Agents.
Write actions such as Update Opportunity use a review flow by default. Users must confirm proposed changes before Salesforce applies them. To allow specific write actions to run without confirmation, see Inline execution of write actions.
Salesforce actions use OAuth for each teammate, and are independent from the Salesforce connector used for search indexing. Connecting or disconnecting one doesn't affect the other. If a teammate revokes the Glean connected app in Salesforce, they'll need to re-authorize by running an agent that uses a Salesforce action and clicking Connect. For more details, see Troubleshooting actions authentication.
See also
- Update Salesforce opportunities in Glean — end-user guide for updating opportunities using natural language.
- Salesforce actions — full list of available Salesforce actions and their references.
- Human-in-the-loop experience for actions — how the review flow works for write actions.