# Setting Up Yappy GitLab
Follow the following steps to set up Yappy with any repo on GitLab.
# Discord
- Go to the channel you want events in for a repo
- Say
GL! init REPO
, whereREPO
can beusername/repo
, a GitLab url... see more usage info atGL! help init
- If the repository is private, make sure you tell Yappy that with
GL! init REPO private
- If the repository is private, make sure you tell Yappy that with
# GitLab
- Go to the GitLab repo you want to have events for
- Click Settings > Integrations
- Set
URL
to https://www.yappybots.tk/gitlab (opens new window) - Select the events you want to emit to the channel
- Click "Add Webhook"
# Testing
Now you can test the webhook.
- Go to Settings > Integrations
- Scroll down to "Webhooks (#)"
- Find the webhook pointing to the url mentioned above
- Click Test and choose an event to simulate.
- Not all are supported by Yappy GitLab.
push
should always work.
- Not all are supported by Yappy GitLab.