Build Slack Apps

Apex SDK for Slack enables you to build Slack apps that translate into blocks via Block Kit.

Build Slack apps

Before you create your Slack app bundle, make sure you have set up your SFDX project. Define your app using the SlackApp metadata type. In your SFDX project, create the app definition in the slackapps folder.

Compose components into views to guide users through your app’s capabilities. A view is a root component that displays in a Slack surface: a home tab, message, or modal. To pull data into a view, bind the view to a data provider. To reference the data throughout a view, use an expression.

Write handlers to respond to Slack actions: global and message shortcuts, buttons, slash commands, and events. When a user makes a request in Slack, an Apex handler contains the logic that responds to the request.

Beta Feature

This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.