Skip to main content

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.
note

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:

  1. In Glean, go to Admin Console → Platform → Actions.

  2. Click Add.

  3. From Add pre‑set actions, select Salesforce Actions under Action templates.

  4. In the Configuration tab:

    1. Add the Instance Name.
    2. Select the connected Datasource Instance to link this action to your Salesforce instance.
    3. 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.
  5. Click Edit settings under Enable Actions section to make actions visible for all or some users within Glean Chat and Agents.