Slack slash commands
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed, GitLab Dedicated
This feature is only configurable on GitLab Self-Managed. For GitLab.com, use the GitLab for Slack app instead.
You can use slash commands to run common GitLab operations, like creating an issue, from a Slack chat environment. To run slash commands in Slack, you must configure both Slack and GitLab.
GitLab can also send events (such as issue created
) to Slack as part of
Slack notifications.
For a list of available slash commands, see Slash commands.
Configure the integration
Slack slash commands are scoped to a project. To configure Slack slash commands:
- On the left sidebar, select Search or go to and find your project.
- Select Settings > Integrations.
- Select Slack slash commands and leave this browser tab open.
- In a new browser tab, sign in to Slack and add a new slash command.
- Enter a trigger name for the slash command. You could use the project name.
- Select Add Slash Command Integration.
- In the Slack browser tab:
- Complete the fields with information from the GitLab browser tab.
- Select Save Integration and copy the Token value.
- In the GitLab browser tab:
- Paste the token and ensure the Active checkbox is selected.
- Select Save changes.
You can now run slash commands in Slack.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support