Set up and manage Agentforce in Slack
Agentforce makes it possible for an organization to build custom agents that handle specific aspects of their work. When you deploy Agentforce in Slack, your team can collaborate with agents right where they’re already getting work done.
How it works
- Salesforce customers who use Slack on a paid plan can purchase an Agentforce license to build and customize agents in Salesforce.
- Add agents created with Salesforce Agent Builder to your workspace or Enterprise Grid organization to make them available in Slack, and assign permissions to determine who can use them.
- Once they’ve been added to Slack, members can find and message agents they have access to in the Agentforce tab.
Learn more about Agentforce: Visit the Salesforce website or contact your Slack Account Executive.
Build an agent in Salesforce
Use the guidance below to get started with building an agent using Agent Builder in Salesforce:
- Get an overview of agents and what they can do.
- Create an agent.
- Customize your agent with topics and actions.
Note: To install an agent in Slack, the agent name must contain the word agent.
Connect Salesforce and Slack
To set up Agentforce in Slack, connect your Salesforce organization to Slack. You’ll need help from an admin in Salesforce to complete this process.
Step 1: Install the Slack platform connector to Salesforce
- Sign in to Salesforce.
- Install (or upgrade if you’re using a version other than version 1.4) the Slack connector.
- Select All Users, then follow the prompts to install or upgrade the package.
Step 2: Connect a Salesforce org to Slack
- Follow the steps in our Connect Salesforce and Slack guide.
- Once your Salesforce org is connected, you’ll need to manually map users if they haven’t already been granted access to Salesforce in Slack during the Slack Sales Elevate setup process.
Step 3: Assign Salesforce permissions
In order to install agents, Slack Org Owners/Admins and Workspace Owners/Admins need to be assigned the View Setup and Configuration system permission in Salesforce for the Slack account they plan to map to Salesforce.
- Create a new Salesforce Permission Set that includes the View Setup and Configuration system permission.
- Once the Permission Set is created, search for View Setup and check the box next to the permission. This will also include access to the dependent View Roles and Role Hierarchy permission.
- Assign the Permission Set to any Slack owners and admins who need to install agents.
Step 4: Map accounts
Connect your members’ Salesforce and Slack accounts. When you manually map members in Slack, they’ll be prompted to sign in to Salesforce to connect their accounts.
Pro and Business+ plans
Enterprise Grid plan
- From the Home tab, click your workspace name in the sidebar.
- Hover over Tools & settings, then click Workspace settings.
- Below Administration in the left sidebar, select Salesforce organizations. If you don’t see the left sidebar, click Menu in the top-left corner to find it.
- Click the Users tab.
- Select Add individually and search for the member you’d like to add. To add members in bulk, click Add by CSV and follow the prompts.
- From the Home tab, click your organization name in the sidebar.
- Hover over Tools & settings, then click Organization settings.
- Click Salesforce, then select Salesforce organizations.
- Click the Users tab.
- Select Add individually and search for the member you’d like to add. To add members in bulk, click Add by CSV and follow the prompts.
Tip: Members with the Salesforce admin system role in Slack can connect Salesforce orgs and map accounts.
Add an agent to Slack
Now that Salesforce and Slack are connected, you’re ready to add agents.
Step 1: Create an agent connection
First, establish a connection to Slack for your agent in Salesforce:
- Sign in to Salesforce, then select Setup.
- In the Quick Find box, search for and select Agents.
- Select an agent.
- Click the Connections tab.
- Click Add.
- Below Connection, select API from the drop-down menu.
- Enter a unique Integration Name.
- Below Connected App, select Slack.
- Click Save.
Step 2: Install an agent
Once you’ve established a connection for your agent, add it to Slack.
Pro and Business+ plans
Enterprise Grid plan
- From the Home tab, click your workspace name in the sidebar.
- Hover over Tools & settings, then select Manage Agentforce from the menu.
- Next to the agent you'd like to add, click Review agent.
- Review the permissions the agent will have in Slack, then click Install Agent.
When adding an agent on Enterprise Grid, you’ll first install it and grant access at the org level. Then, you can add the agent to specific workspaces in your org.
- From the Home tab, click your organization name in the sidebar.
- Hover over Tools & settings, then click Organization settings.
- Click Salesforce, then select Agentforce.
- Next to the agent you’d like to add, click Review Agent.
- Review the permissions the agent will have in Slack, then click Install Agent.
- Click Choose Workspaces, then check the box next to the workspaces the agent should be available in. To make the agent available to any new workspaces in your org, check the box next to Default for future workspaces.
- Click Add to Workspaces.
- Check the box next to I'm ready to add this agent, then click Add Agent.
Step 3: Assign access to an agent
By default, no one can use agents in Slack until they’re assigned access by an owner or admin.
Pro and Business+ plans
Enterprise Grid plan
- From the Home tab, click your workspace name in the sidebar.
- Hover over Tools & settings, then select Manage Agentforce from the menu.
- Click Installed agents at the top of the page.
- Next to an agent, click Manage Agent.
- Next to Who can use this agent?, click Edit.
- Choose who can access the agent, then click Save.
- From the Home tab, click your organization name in the sidebar.
- Hover over Tools & settings, then click Organization settings.
- Click Salesforce, then select Agentforce.
- Click Installed agents at the top of the page, then select an agent.
- Select User Permissions.
- Next to Who can use this agent?, click Edit.
- Choose who can access the agent, then click Save.
Remove or uninstall an agent
On the Pro and Business+ plans, you can uninstall an agent. On Enterprise Grid, you can remove an agent from specific workspaces, or uninstall it from your organization.
Pro and Business+ plans
Enterprise Grid plan
- From the Home tab, click your workspace name in the sidebar.
- Hover over Tools & settings, then select Manage Agentforce from the menu.
- Click Installed agents at the top of the page.
- Next to an agent, click Manage Agent.
- Click Manage in the top-right corner, then select Remove [agent name].
Remove an agent from a workspace
- From the Home tab, click your organization name in the sidebar.
- Hover over Tools & settings, then click Organization settings.
- Click Salesforce, then select Agentforce.
- Click Installed agents at the top of the page, then click Manage agent next to the agent you'd like to remove.
- Select Manage in the top right, then click Remove from a workspace.
- Check the box next to the workspace(s) you’d like to remove the agent from and click Next.
- Check the box next to I’m ready to remove this agent, then select Remove agent.
Uninstall an agent from your org
- From the Home tab, click your organization name in the sidebar.
- Hover over Tools & settings, then click Organization settings.
- Click Salesforce, then select Agentforce.
- Click Installed agents at the top of the page, then click Manage agent next to the agent you'd like to uninstall.
- Select Manage in the top right, then click Uninstall from your organization.
- Check the box next to I’m ready to remove this agent, then click Remove agent.
- Org Owners/Admins and Workspace Owners/Admins
- Available on paid Slack plans with a Salesforce Agentforce license