---
schema_version: "1"
id: bd358a6c72a79a3320eff12076f8e38f948cb8b7427b3bdfece9afc8eef31b7f
title: Get a Slack Token for B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_slack_bot_token.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_slack_bot_token.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6f8927785538ae54dcf089f19171264aa1fb26d3d2866cf7950e4ffd38749f1e
description: 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.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Get a Slack Token for B2C Commerce

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](https://help.salesforce.com/s/articleView?id=cc.b2c_connect_slack_to_business_manager.htm&release=264.0.0&type=5 "Send alerts and notifications directly to Slack channels, when you connect your workspaces to Business Manager for B2C Commerce.").

1. In Slack, open the workspace menu.
2. Click **More** and select **Automations**.
3. Click **App Directory**.
4. In the new browser window, click **Manage**.
5. Click **Build**.
6. Select an existing app or click **Create an App**.
7. In the Create an app pop-up, select **From an app manifest**.
8. Select your workspace and click **Next**.
9. Click the YAML tab.
10. 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:read
    ```
    
    Display\_name is the name that your Bot uses to send messages under.
11. Click **Create**.
12. Select **Install to Workspace**.
13. In the app homepage under Features, select **OAuth & Permissions** and click **Allow**,
14. The OAuth & Permissions page now lists your token. Use this token when connecting your Slack workspace to your commerce organization.