vurgarden.blogg.se

Slack oauth
Slack oauth








Name: (choose a name for the Auth Provider)Ĭ. Providers page, click “New” to configure a new auth. Log into Salesforce as an administrator for your org.ġ2. ProviderĬonfigure Salesforce to request access to Slack using the shared secret:ġ1. In the Settings -> Basic Information page for your app in Slack, scroll down to the “App Credentials” section, and copy the values for the “Client ID” and “Client Secret” fields. Retrieve the shared secret that Salesforce needs to use to access Slack:ġ0. Click “Allow” to confirm you want this app to access your Slack workspace.

slack oauth

Scroll up to the “OAuth Tokens & Redirect URLs” section, and click “Install App to Workspace”.ĩ. For Bot Token Scopes, click “Add an OAuth Scope”, and choose “chat:write”.Ĩ.

slack oauth

In the Features -> OAuth & Permissions page, scroll down to the “Scopes” section. In the “Building Apps for Slack” section, under “Add features and functionality”, click “Permissions”.ħ. Modal will close, and you will see the Settings -> Basic Information page for your newly configured app. Development Slack Workspace: select the workspace you want to Salesforce to accessĦ.

slack oauth

In the App Directory, click on “Build” in the upper right hand corner, which should take you to .ī. In the Apps page, click on “App Directory” in the upper right hand corner.ģ. Tell Slack about the Salesforce app that will need access your Slack workspace, and that it needs permissions to write messages.ġ.Log into Slack as the administrator of the workspace you want to integrate with Salesforce.Ģ. Below are step-by-step instructions on using OAuth 2.0 to grant Salesforce the ability to post a message in Slack: Oftentimes the biggest obstacle to integrating Salesforce with an External Service is the first step: configuring secure designated access to that service.










Slack oauth