This automations page is moving! We've been working hard at building out our tools documentation at tools.slack.dev — the new home of our Deno Slack SDK and Slack CLI docs! You can start using the new docs today, but we'll keep the content on both sites up to date during the transition.

Experiment flags

The Slack CLI has an experiment flag, behind which we put features under development and may cause breaking changes. These features are fleeting and many will not work without a development instance, but are available for use "at your own risk."

Available experiments

The following is a list of currently available experiments. We may remove an experiment once the feature is released.

  • bolt: adds Slack CLI support for Bolt JavaScript and Bolt Python.
  • read-only-collaborators: enables creating and modifying collaborator permissions via the slack collaborator commands.

Example use case: create a Bolt for JavaScript project

To create a Bolt app via the Slack CLI, run the following command:

slack create -e bolt

Select an option from the following list. For this example, choose AI app:

  • Starter app (a standard Bolt or Deno starter app)
  • Automation app (custom steps and workflows)
  • AI app (agents & assistants)
  • View more samples

From the next list, choose Bolt for JavaScript. Your app will be cloned from the Bolt JS assistant project template on our Slack Platform Sample Code repository, and its project dependencies will be installed. Then, cd into your project folder.

For Bolt for Python projects, automatic project dependency installation is currently unsupported, and will need to be done manually. For more information, refer to Getting started with Bolt for Python.

To run your new app, use the slack run command with the experiment flag as follows:

slack run -e bolt

You'll be prompted to choose your team/workspace, and then your app should let you know that it's up and running. 🎉

Since this is an AI app, you'll also need to navigate to Settings within your Slack client and select Navigation from the sidebar. Navigate to the App agents & assistants section and select the check boxes for Show app agents as well as your new app. An icon for your app will appear in the upper right corner of your Slack client. Click the icon to begin interacting with your app in Slack.