doc/administration/settings/slack_app.md
{{< details >}}
{{< /details >}}
{{< history >}}
{{< /history >}}
[!note] This page contains administrator documentation for the GitLab for Slack app. For user documentation, see GitLab for Slack app.
The GitLab for Slack app distributed through the Slack App Directory only works with GitLab.com. On GitLab Self-Managed, you can create your own copy of the GitLab for Slack app from a manifest file and configure your instance.
The app is a private one-time copy installed in your Slack workspace only and not distributed through the Slack App Directory. To have the GitLab for Slack app on your GitLab Self-Managed instance, you must enable the integration.
Prerequisites:
To create a GitLab for Slack app:
In GitLab:
You're then redirected to Slack for the next steps.
In Slack:
After you've created a GitLab for Slack app, you can configure the settings in GitLab:
<your host name>).{{< history >}}
gitlab_for_slack_app_instance_and_group_level. Disabled by default.gitlab_for_slack_app_instance_and_group_level removed.{{< /history >}}
Prerequisites:
To install the GitLab for Slack app from the instance settings:
To test your GitLab for Slack app configuration:
/gitlab help slash command into a channel in your Slack workspace.You should see a list of available Slash commands.
To use Slash commands for a project, configure the GitLab for Slack app for the project.
Prerequisites:
When GitLab releases new features for the GitLab for Slack app, you might have to manually update your copy to use the new features.
To update your copy of the GitLab for Slack app:
slack_manifest.json.<your host name>).slack_manifest.json file you've downloaded from GitLab.To enable the GitLab for Slack app functionality, your network must allow inbound and outbound connections between GitLab and Slack.
https://slack.com.https://slack.com.By default, you can install the GitLab for Slack app in only one Slack workspace. An administrator selects this workspace when they create a GitLab for Slack app.
To enable support for multiple Slack workspaces, you must configure the GitLab for Slack app as an unlisted distributed app. An unlisted distributed app:
To configure the GitLab for Slack app as an unlisted distributed app:
When administering the GitLab for Slack app, you might encounter the following issues.
For user documentation, see GitLab for Slack app.
dispatch_failed in SlackSlash commands might return /gitlab failed with the error "dispatch_failed" in Slack.
To resolve this issue, ensure: