---
schema_version: "1"
id: 835c3c6c7406cdadc0f2b493ce9e79cb51f85981a7d9a07853d76c7ddbce7b3e
title: Build Slack Apps
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforce-slack-sdk/apex-slack-sdk/guides/build/build.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/build.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c9728cf9b3449234c0c695381978f1219133262d97d6ce195c3716551315239
products:
  - Apex SDK for Slack (Beta)
---
# Build Slack Apps

Apex SDK for Slack enables you to build Slack apps that translate into blocks via [Block Kit](https://api.slack.com/block-kit).

![Build Slack apps](https://developer.salesforce.com/media/devoverview.png)

Before you create your Slack app bundle, make sure you have [set up your SFDX project](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/run-sfdx.md). Define your app using the [SlackApp metadata type](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/app-definition.md). In your SFDX project, create the app definition in the `slackapps` folder.

Compose components into [views](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/views.md) 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](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/data-providers.md). To reference the data throughout a view, use an [expression](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/expressions.md).

Write handlers to respond to [Slack actions](https://developer.salesforce.com/docs/platform/salesforce-slack-sdk/guide/actions.md): 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.
