2016-12-22 12:02:13 -05:00
|
|
|
# Slack slash commands
|
|
|
|
|
|
|
|
> Introduced in GitLab 8.15
|
|
|
|
|
|
|
|
Slack commands give users an extra interface to perform common operations
|
|
|
|
from the chat environment. This allows one to, for example, create an issue as
|
|
|
|
soon as the idea was discussed in chat.
|
2016-12-22 12:58:39 -05:00
|
|
|
For all available commands try the help subcommand, for example: `/gitlab help`,
|
2017-01-11 09:53:19 -05:00
|
|
|
all review the [full list of commands](../integration/chat_commands.md).
|
2016-12-22 12:02:13 -05:00
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
2016-12-22 12:58:39 -05:00
|
|
|
A [team](https://get.slack.help/hc/en-us/articles/217608418-Creating-a-team) in Slack should be created beforehand, GitLab cannot create it for you.
|
2016-12-22 12:02:13 -05:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
First, navigate to the Slack Slash commands service page, found at your project's
|
|
|
|
**Settings** > **Services**, and you find the instructions there:
|
|
|
|
|
|
|
|
![Slack setup instructions](img/slack_setup.png)
|
|
|
|
|
|
|
|
Once you've followed the instructions, mark the service as active and insert the token
|
|
|
|
you've received from Slack. After saving the service you are good to go!
|