To get started with GitLab on Zapier, first you will need to click to connect your GitLab account to use with your Zap.
You'll be asked for connection details about your GitLab instance. If you use GitLab.com you don't need to do anything but click 'Yes, Continue'.
Note that your connected account will require "Maintainer" permissions, as the app uses web hooks and thus needs the "Configure project hooks" privilege. See GitLab's docs for details.
If your team hosts its own instance of GitLab, you must first add Zapier as an application to your GitLab account, In another browser tab or window, log into your GitLab account, go to "Settings", then click on "Applications". From there:
- Enter "Zapier" as an application name.
https://zapier.com/dashboard/auth/oauth/return/GitLabCLIAPI/in the "Redirect URI" field, making sure to include the trailing slash.
- Be sure to select the checkboxes for "api" and "read_user" under "scopes".
When you're done, click "Save application".
You should see a page like the following. Now you have all the info you need to connect your GitLab account to Zapier. Keep this it open so you can cut and paste the values into your Zap connection setup.
Now in your Zapier Connected Account setup window enter the following information:
- For GitLab Hostname, use the host name part from your GitLab URL. Leave off
https:\\. If you logged into GitLab at https://www.example.com, you would just enter
- In the 'Application ID' field, cut and paste the 'Application id' value from the GitLab Application setup page.
- In the 'Secret' field, cut and paste the 'Secret' value from the GitLab Application setup page.
When you're done click 'Yes, Continue'
You’ll now be asked to log into your GitLab account (unless you are already logged in).
Finally, you will be asked to give Zapier permission to access your account. Click “Authorize” to continue.
If all steps were successful your GitLab account will now be successfully connected.