{"title": "Slack setup for Workbench", "url": "https://support.expel.io/hc/en-us/articles/13807470251027-Slack-setup-for-Workbench", "date": "2023-02-08T21:52:49Z", "contents": "This article helps you integrate your Slack installation with the Expel\nWorkbench.\n\n#### In this article\n\n * Before you start\n\n * Step 1: Enable API access\n\n * Step 2: Configure Slack in Expel Workbench\n\n## Before you start\n\n * **Slack Enterprise Grid is required.**\n\n * The Slack app must be installed by the **Owner** of the Enterprise Grid organization.\n\n * The Slack app must be installed on the organization, not just a workspace within the organization.\n\n## Step 1: Enable API access\n\nHaving read-only access to the interface of your technology allows Expel to\ndig deeper during incident investigations. Our device health team uses this\naccess to investigate potential health issues with your tech.\n\n### Note\n\nExpel secures all login information our SOC analysts need about your devices\nin a MFA password product. Access to this login information is protected using\nour internal MFA processes. To learn more about the IP addresses all Expel\ntraffic comes from, go here.\n\n 1. Create a new slack app https://api.slack.com/apps.\n\n 2. In the settings for the new app, select OAuth > Permissions from the left navigation. Scroll to the section titled Scopes, then click Add an OAuth Scope under User Token Scopes. Add the `auditlogs:read` scope. Use https://localhost for the redirect URL.\n\n 3. In the settings for the new app, select Manage Distribution from the left navigation. Under the section titled Share Your App with Other Workspaces, make sure all four sections have the green checkmark. Then click the green Activate Public Distribution button.\n\n 4. Under the Share Your App with Your Workspace section, copy the Sharable URL and paste it into a browser to start the OAuth handshake that installs the app on your organization. You must be logged in as the Owner of your Enterprise Grid organization to install the app.\n\n 5. Check the list in the upper right of the installation screen to make sure you are installing the app on the Enterprise Grid organization, not an individual workspace within the organization (see image below).\n\n 6. After the app is authorized, you are redirected to the localhost URL that contains a temporary code. Use that code to manually exchange it with an access token. Click here for instructions. Save the access token for later use.\n\n## Step 2: Configure Slack in Expel Workbench\n\nNow that we have the correct access configured and noted the credentials, we\ncan integrate your tech with Workbench.\n\n 1. In a new browser tab, click this link to open the Add Security Device screen in Workbench.\n\n![Slack_AddSecDev_v2.png](https://support.expel.io/hc/article_attachments/13807501313043/uuid-3744c9c2-8596-6771-b482-85720e22b989.png)\n\n 2. Fill in the fields like this:\n\nField name\n\n|\n\nWhat to put in it \n \n---|--- \n \nName\n\n|\n\nWhat you want to name the security device. \n \nLocation\n\n|\n\nGeographic location of the server. \n \nAPI Token\n\n|\n\nThe access token created in Step 1. \n \n 3. Click Save.\n\nYou can see if the device is healthy on the Security Devices page. It may take\na few minutes to see the device listed as healthy.\n\nTo check if alerts are coming through, navigate to the Alerts Analysis page.\nScroll to the device you want to check and click View alerts. Switch to grid\nview, then check the list for device alerts. It can take 36 to 72 hours for\nalerts to appear after setup, as we tune your device.\n\n### Tip\n\nThis article was accurate at the time of writing, but changes happen. If you\nfind the instructions are outdated, leave a description in the comment field\nbelow and let us know!\n\n"}