
WORKSPACE SLACK FREE
If something is missing, feel free to open a ticket or a pull request. Hopefully this guide included information that’s helpful to get you up and running with a Slack app.
WORKSPACE SLACK INSTALL
You can reinstall the app from the Install App page. Lastly, if you’ve added event types that require scopes your app did not previously have, you’ll need to reinstall the app into the workspace(s) you’d like Slack to send your app new events. Once you’ve selected all the event types, be sure to Save Changes. You can add scopes to your app on the OAuth & Permissions page. Most events require additional scopes (for example, the reaction_added event requires the reactions:read scope). In the tables below, you may add Workspace events and Bot events. On the Event Subscriptions page, you can add each event you want your app to subscribe to.
WORKSPACE SLACK HOW TO
Read through our Request URL Configuration & Verification documentation for details on how to properly handle a challenge request. This is similar to adding a Request URL in the Interactive Components section, but as described on this page, Slack will issue a challenge request to verify that your app’s request URL can respond appropriately to incoming requests. If your app is using HTTP to communicate with Slack, after you toggle the switch, you’ll need to add a Request URL. Start by clicking Event Subscriptions on the left sidebar. If you want your app to be subscribed to workspace events (like when a reaction is added, when a user mentions your app, or another Events API event, you need to enable events for your app. Under the Request URL box, go ahead and paste in your accessible URL. Now, let’s add that to the Interactivity and Shortcuts and Events Subscriptions page. Add the URL to your app configurationĪt this point you have a public-facing URL. The output should show a generated URL that you can use (Use the one that starts with This URL will be the base of your request URL, in this case. Once you’ve installed a development proxy, run it to begin forwarding requests to a specific port (we’re using port 3000 for this example): Eventually, you’ll want to set that up, but for now a development proxy like ngrok will do the job.

If you’re just getting started with your app development, you probably don’t have a publicly accessible URL yet.

Using a local Request URL for development HTTP What is a Request URL?Ī Request URL is a public URL where Slack can send HTTP POST requests with information about events, interactions and other happenings inside your Slack workspace.įor example, when a message is posted, a button is clicked, a dialog is submitted, or a user interacts with your app using another interactive feature, Slack will send relevant information about that event to your app’s Request URL such as the user who initiated the event, channel where the event occurred and other contextual details. Copy and safely store the generated token - you’ll need that when following the Socket Mode package setup instructions. Choose connections:write and then click Generate. Click Generate Token and Scopes, add a name for your app token, and click Add Scope. On your app’s page on /apps, under the main Basic Information page, scroll down to App-Level Tokens. Once you’ve created an app, you will need to generate an App Token. Setting up your Node.js application for Socket Mode development is fast and easy with the package. This tutorial will cover how to set up your app using either approach. This requires a few additional steps to set up, but may be more resilient to network disruptions than communication via Socket Mode. Expose your app using a public-facing URL that Slack will send HTTP requests to. It is also important to remember that Socket Mode is more prone to network faults because the connection is a long-lived one. However apps cannot use Socket Mode and also be listed in the App Directory. This is our recommended approach when getting started in local development because of its convenience. Connect to Slack using a direct and long-lived socket connection. Your app can communicate with Slack using one of two methods: Head over to our Bolt JS Getting Started Guide’s section “Tokens and installing apps” for the latest up-to-date information on what tokens are, the different kinds of tokens available, how to create them on /apps, how to install your app to a live Slack workspace and finally how to retrieve your access token.

Head over to our Bolt JS Getting Started Guide’s section “Create an App” for the latest up-to-date instructions on how to create a new app on /apps.
