Skip to main content

Salesforce Tools and Extension Tools setup

Use Salesforce tools to let Glean Assistant and Agents search and update Salesforce data without leaving Glean.

With this setup, you can:

  • Enable the Salesforce Tools or Salesforce Extension Tools for a connector instance.
  • Configure the supported authentication method for the tool you are using.
  • Decide which agents and surfaces can use these tools.
important

Ensure that your Salesforce user permissions grant appropriate API access for the tools you intend to expose to Glean users. Glean tools strictly respect native Salesforce ACLs and data sharing rules.

Prerequisites

Before enabling Salesforce tools:

  • The Salesforce connector must be configured and successfully crawling content.
  • You must be able to access the Glean Admin Console.
note

You do not need to create a Salesforce connected app if you use Central authentication. A Salesforce connected app is required only when you set up the Salesforce Extension Tools with Custom authentication.

Setup instructions

  1. In Glean, go to Admin Console → Platform → Tools.
  2. Click Add.
  3. From Add pre‑set tools, select the Salesforce tool you want to configure under Tool templates.
  4. In the Configuration tab:
    1. Add the Instance Name.
    2. Select the connected Connector Instance to link this tool to your Salesforce instance.
    3. Configure authentication using the tabs below, based on your requirements.

Configure authentication

Your authentication options depend on which tool you select:

  • Salesforce Tools: Supports Central authentication only.
  • Salesforce Extension Tools: Supports both Central and Custom authentication.

Use this option if central apps are available for Salesforce in your Glean environment.

  1. Select Central under the Authenticate section.
  2. Click Save.
  3. Click Edit settings under the Enable Tools section to make tools visible for all or some users within Glean Chat and Agents.
note

End users are prompted to connect their Salesforce account the first time they run a tool, and tokens are managed centrally thereafter.

info

Write tools such as Update Opportunity use a review flow by default. Users must confirm proposed changes before Salesforce applies them. To allow specific write tools to run without confirmation, see Inline execution of write tools.

info

Salesforce tools use OAuth for each teammate, and are independent from the Salesforce connector used for search indexing. Connecting or disconnecting one does not affect the other. If a teammate revokes the Glean connected app in Salesforce, they need to re-authorize by running an agent that uses a Salesforce tool and clicking Connect. For more information, see Troubleshooting tools authentication.

See also