2017-02-03 18:41:35 +00: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.
|
2017-02-07 21:20:36 +00:00
|
|
|
For all available commands try the help subcommand, for example: `/gitlab help`,
|
2017-02-06 14:46:58 +00:00
|
|
|
all review the [full list of commands](../../../integration/chat_commands.md).
|
2017-02-03 18:41:35 +00:00
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
2017-02-07 21:20:36 +00: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.
|
2017-02-03 18:41:35 +00:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2017-02-07 21:20:36 +00:00
|
|
|
Go to your project's [Integrations page](project_services.md#accessing-the-project-services)
|
|
|
|
and select the **Slack slash commands** service to configure it.
|
2017-02-03 18:41:35 +00:00
|
|
|
|
2017-02-07 21:20:36 +00:00
|
|
|
![Slack setup instructions](img/slack_setup.png)
|
2017-02-03 18:41:35 +00:00
|
|
|
|
|
|
|
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!
|