Connect Salesforce and Slack
If you use Sales Elevate or Salesforce channels in Slack, configure a connection between Salesforce and Slack so that your members can access these features. When you configure a connection between Salesforce and Slack, you can choose to map your members’ Salesforce accounts with their corresponding accounts in Slack to ensure that the right people have access to the right tools.
Note: You must also be an admin in Salesforce to complete the set-up steps in Salesforce.
Prepare your Salesforce org
To begin the set-up process, you’ll need to take a few administrative steps in Salesforce.
Step 1: Create and configure a Salesforce integration user
Creating a Salesforce integration user allows you to configure a Salesforce connection with the correct permissions, and prevents your configuration from becoming disconnected if your Salesforce account is deactivated or your permissions change.
- Sign in to Salesforce, then select Setup.
- Click on Users in the sidebar, then choose New user.
- Fill in all required fields. Make sure that you have access to the email inbox you provide for Email and choose Standard User for the Profile field.
- Click on Save.
- Verify your Integrations User account from the email invitation.
Step 2: Allow your Integration User to bypass SSO
If your organisation uses single sign-on (SSO) to sign in to Salesforce, you’ll need to allow your Integration User to bypass SSO to complete the authentication flow. Here’s how to create a profile that bypasses SSO and assign it to your Integration User:
- From Salesforce, create a clone of the Standard User profile. Enter a name for your profile, then click Save.
- From the profile overview, choose System Permissions.
- Untick the box next to Is Single Sign-on enabled, then click Save.
- From Setup, select User.
- Click Edit next to your the Integration User that you created in Step 1.
- Click Profile, then select the profile you just created.
- Click on Save.
Step 3: Create and set integration user permissions
Your integration user for Slack will need Read and View all access to any Salesforce objects and fields that you plan to use in Slack. Here’s how to create a new permission set and assign it to your integration user:
- From Salesforce, create a new permission set. Give your permission set a label, then click on Save.
- From the permission overview, select Object settings.
- Select Accounts from the list of settings.
- Click Edit.
- Below Object permissions, select the boxes next to Read and View all, then click on Save.
- Select Opportunities from the object type drop-down menu.
- Below Object permissions, select the boxes next to Read and View all, then click on Save.
Tip: You can also add Read and View all access to any other fields in your permission set that may be valuable for your team.
Connect Slack to Salesforce
Now that your Salesforce integration user is ready, you can start connecting your Salesforce org to Slack. You can connect up to 25 Salesforce orgs in Slack by repeating the steps below with additional orgs.
Step 1: Request a Salesforce connection in Slack
When you request a Salesforce connection in Slack, you can choose how your members’ Slack and Salesforce accounts will be connected. You can automatically configure member accounts using Email or SAML NameID fields in Slack, or manually configure them if you like.
Note: You can manually map member accounts in Slack once you’ve completed all three steps of the connection process.
Business+ subscription
Enterprise Grid subscription
- Click your workspace name in the sidebar.
- Hover over Tools & settings, then click Workspace settings.
- Below Administration in the left sidebar, select Salesforce organisations. If you don’t see the left sidebar, click Menu in the top left-hand corner to find it.
- Click on Connect Salesforce org in the top-right corner.
- Enter your Salesforce org URL, then choose an option for the Account mapping field. Toggle Automatic account mapping off to manually map accounts.
- Click on Request connection, then click on OK. Your request will be sent to Salesforce for approval.
- Click your organisation name in the sidebar.
- Hover over Tools & settings, then click Organisation settings.
- Choose Salesforce, then select Org connections.
- Click on Connect Salesforce org in the top-right corner.
- Enter your Salesforce org URL, then choose an option for the Account mapping field. Toggle Automatic account mapping off to manually map accounts.
- Click on Request connection, then click on OK. Your request will be sent to Salesforce for approval.
Step 2: Approve the request in Salesforce
Once the request to connect has been made in Slack, a Salesforce admin can approve it.
- Sign in to Salesforce, then select Setup.
- Below Platform tools in the sidebar, select Slack, then click on Manage Slack connections.
- Below User configuration, select a corresponding mapping field .
- Below Integration user, choose the Salesforce integration user that you created in the first set of steps.
- Tick the box to agree to the terms and conditions, then click on Approve.
Step 3: Activate the connection in Slack
Business+ subscription
Enterprise Grid subscription
Workspace owners and Salesforce admins can activate a pending Salesforce connection.
- Click your workspace name in the sidebar.
- Hover over Tools & settings, then click Workspace settings.
- Below Administration in the left sidebar, select Salesforce organisations. If you don’t see the left sidebar, click on Menu in the top-left corner to find it.
- Select a pending connection.
- Review the details of the connection, then click on Activate.
Org owners and Salesforce admins can activate a pending Salesforce connection.
- Click your organisation name in the sidebar.
- Hover over Tools & settings, then click Organisation settings.
- Choose Salesforce, then select Org connections.
- Select a pending connection.
- Review the details of the connection, then click on Activate.
Manually map member accounts
If you choose not to automatically map member accounts during configuration, you can manually map them in Slack. When you manually map members in Slack, they’ll be prompted to sign in to Salesforce to connect their Slack and Salesforce accounts.
Business+ subscription
Enterprise Grid subscription
- Click your workspace name in the sidebar.
- Hover over Tools & settings, then click Workspace settings.
- Below Administration in the left sidebar, select Salesforce organisations. If you don’t see the left sidebar, click on Menu in the top-left corner to find it.
- Select the Users tab.
- Select Add individually and search for the member that you’d like to add. To add members in bulk, click Add by CSV and follow the prompts.
- Click your organisation name in the sidebar.
- Hover over Tools & settings, then click Organisation settings.
- Choose Salesforce, then select Org connections.
- Select the Users tab.
- Select Add individually and search for the member that you’d like to add. To add members in bulk, click Add by CSV and follow the prompts.
Remove member mapping
Salesforce admins can remove the mapping for a member and allow them to remap their accounts.
- From Salesforce, select Set-up.
- Below Platform tools in the sidebar, select Slack, then click on Manage Slack connections.
- Select User mapping lookup.
- Search for and select a member, then click on Done.
- Click on Clear user mapping.
Assign access to Salesforce tools
You can manage access to Sales Elevate and Salesforce channels by assigning the Slack Elevate User permission set in Salesforce. Only members that are assigned access to Slack Sales Elevate will be able to use it. You’ll be charged for each member that you add.
- From Salesforce, select Set-up, then click on Permission sets.
- Select the Slack Elevate user permission set.
- Click on Manage assignments, then select Add assignments.
- Select the users that you’d like to assign Sales Elevate access to, then click on Next.
- If you like, choose a date for the user assignment to expire, then click on Assign.
Note: Learn how to set up Salesforce object lists, create custom notifications and more by visiting Manage Slack Sales Elevate.
- Workspace owners/admins (Business+), org owners/admins and members with the Salesforce admin system role in Slack
- Available on the Business+ and Enterprise Grid subscriptions with the Slack Sales Elevate add-on