> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/guides-and-quickstarts/interfaces-and-end-user-experiences/publish-a-slack-bot-interface.md).

# Publish a Slack bot interface

The legacy **Slack App** interface deploys a workflow as a Slack bot in deployments that still support this interface. It is separate from Slack connector actions used inside a workflow.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQ1Sgy933krTyK0S4JpP%2Fuploads%2FZixQ6Ol8uVxoFcbR5jAe%2FG067.mp4?alt=media&token=583b844b-2355-456f-bedc-70f438daa2e5>" %}

## Before you start

This guide covers the legacy Slack App interface. Use it only where that interface is supported. You also need permission to create and install an app in the Slack workspace.

## Check interface availability

Select Slack App in Interface and read the availability or deprecation notice.

![Legacy interface availability notice](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/KWy8HeGdrwz929GQ4iFk/assets/g067-g067-01-legacy.png)

Use these instructions only where the legacy interface remains supported.

## Generate the Slack app configuration

Follow Create New Slack App and enter a bot name and description.

![Slack app manifest generation](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/oFt2E0TSp0APcNFgzxZy/assets/g067-g067-02-manifest.png)

Generate the manifest from your project's current configuration.

## Create the app in Slack

In Slack's app management, choose creation from a manifest and select the intended workspace.

![Slack application manifest setup](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/8rogHAHSYlkNvIWcZdbM/assets/g067-g067-03-review.png)

Review the requested configuration before creating the app.

## Configure credentials and install

Complete the credential fields for the created application.

![Slack credentials and installation settings](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/5CpPKUqxttdeZzNo2Xhx/assets/g067-g067-04-credentials.png)

Check that the client and signing credentials belong to the intended project and keep them private.

Follow the installation flow and review the requested workspace access.

![Slack credentials and installation settings](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/TNRXSTt06ggLZCGu3Tf4/assets/g067-g067-05-install.png)

Complete your organization's approval process before authorizing the app.

## Use the installed bot

Open the installed bot and submit a representative request.

![Installed Slack bot conversation](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/dhhsgz7jCX2ViBLNCeeP/assets/g067-g067-06-conversation.png)

Inspect its response to confirm the integration works beyond installation.

## Inspect the StackAI run

Open StackAI Analytics and locate the corresponding run.

![Integration execution in Analytics](https://content.gitbook.com/content/SQ1Sgy933krTyK0S4JpP/blobs/VtfgLKzjn7CDIpNQ2lH8/assets/g067-g067-07-run.png)

Compare its input, output, and node progress with the conversation in Slack.

## Important behavior

Use the manifest and credentials for the intended project. App installation and provider approval depend on the Slack workspace’s policies.

## Continue

* [Slack connector and tool setup](https://docs.stackai.com/guides-and-quickstarts/using-tools-and-actions/slack-connector-and-tool-setup.md)
* [Publish a Chat Assistant](https://docs.stackai.com/guides-and-quickstarts/interfaces-and-end-user-experiences/publish-a-chat-assistant.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/guides-and-quickstarts/interfaces-and-end-user-experiences/publish-a-slack-bot-interface.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
