To connect Slack to Business Manager, a Slack administrator acquires a Slack bot token, also known as a Bot User OAuth Token, for your workspace. A Slack admin completes these steps before connecting the workspace to Business Manager.
Complete these steps before connecting a Slack workspace to Business Manager.
- In Slack, open the workspace menu.
- Click More and select Automations.
- Click App Directory.
- In the new browser window, click Manage.
- Click Build.
- Select an existing app or click Create an App.
- In the Create an app pop-up, select From an app manifest.
- Select your workspace and click Next.
- Click the YAML tab.
-
Use this file, replacing the name, description, background_color, display_name,
and always_online fields.
_metadata: major_version: 1 minor_version: 1 display_information: name: your_new_bot description: SFCC ECommerce Bot background_color: "#2d9c0b" features: bot_user: display_name: ECommerce Bot always_online: false oauth_config: scopes: bot: - groups:read - channels:read - chat:write - chat:write.public - team:readDisplay_name is the name that your Bot uses to send messages under. - Click Create.
- Select Install to Workspace.
- In the app homepage under Features, select OAuth & Permissions and click Allow,
- The OAuth & Permissions page now lists your token. Use this token when connecting your Slack workspace to your commerce organization.