2020-08-05 11:09:59 -04:00
---
stage: Configure
group: Configure
2020-11-26 01:09:20 -05:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-08-05 11:09:59 -04:00
---
2020-12-16 13:10:10 -05:00
# ChatOps on GitLab.com
2019-06-06 21:00:36 -04:00
2019-06-27 13:52:02 -04:00
ChatOps on GitLab.com allows GitLab team members to run various automation tasks on GitLab.com using Slack.
2019-06-06 21:00:36 -04:00
## Requesting access
2020-12-16 13:10:10 -05:00
GitLab team-members may need access to ChatOps on GitLab.com for administration
2019-06-27 13:52:02 -04:00
tasks such as:
2019-06-06 21:00:36 -04:00
2019-06-27 13:52:02 -04:00
- Configuring feature flags.
2019-06-06 21:00:36 -04:00
- Running `EXPLAIN` queries against the GitLab.com production replica.
2019-09-18 10:02:45 -04:00
- Get deployment status of all of our environments or for a specific commit: `/chatops run auto_deploy status [commit_sha]`
2019-06-06 21:00:36 -04:00
2020-12-16 13:10:10 -05:00
To request access to ChatOps on GitLab.com:
2019-06-06 21:00:36 -04:00
2020-12-16 13:10:10 -05:00
1. Sign in to [Internal GitLab for Operations ](https://ops.gitlab.net/users/sign_in )
with one of the following methods:
- The same username you use on GitLab.com. You may have to choose a different
username later.
- Clicking the **Sign in with Google** button to sign in with your GitLab.com email address.
1. Confirm that your username in [Internal GitLab for Operations ](https://ops.gitlab.net/ )
is the same as your username in [GitLab.com ](https://gitlab.com/ ). If the usernames
don't match, update the username at [Internal GitLab for Operations ](https://ops.gitlab.net/ ).
1. Comment in your onboarding issue, and tag your onboarding buddy and your manager.
Request they add you to the `ops` ChatOps project by running this command
in the `#chat-ops-test` Slack channel, replacing `<username>` with your username:
`/chatops run member add <username> gitlab-com/chatops --ops`
2021-02-10 19:08:50 -05:00
```plaintext
Hi < __BUDDY_HANDLE__ > and < __MANAGER_HANDLE__ > , could you please add me to
the ChatOps project in Ops by running this command:
`/chatops run member add <username> gitlab-com/chatops --ops` in the
`#chat-ops-test` Slack channel? Thanks in advance.
```
2020-12-16 13:10:10 -05:00
1. Ensure you've set up two-factor authentication.
1. After you're added to the ChatOps project, run this command to check your user
status and ensure you can execute commands in the `#chat-ops-test` Slack channel:
```plaintext
/chatops run user find < username >
```
The bot guides you through the process of allowing your user to execute
commands in the `#chat-ops-test` Slack channel.
1. If you had to change your username for GitLab.com on the first step, make sure
[to reflect this information ](https://gitlab.com/gitlab-com/www-gitlab-com#adding-yourself-to-the-team-page )
on [the team page ](https://about.gitlab.com/company/team/ ).
2020-03-20 11:09:17 -04:00
2019-06-06 21:00:36 -04:00
## See also
2021-02-08 07:09:20 -05:00
- [ChatOps Usage ](../ci/chatops/index.md )
2019-07-08 20:20:40 -04:00
- [Understanding EXPLAIN plans ](understanding_explain_plans.md )
2021-03-11 16:09:09 -05:00
- [Feature Groups ](feature_flags/index.md#feature-groups )