Skip to content
This documentation applies to Codacy Self-hosted

For the latest updates and improvements, see the latest Cloud documentation instead.

Configuring GitLab.com with Codacy Self-hosted

Codacy Self-hosted running on Docker stopped being supported on February 16, 2021.

Click here for updated documentation on how to install and configure Codacy Self-hosted on Kubernetes or MicroK8s.

If you are a current customer and have any questions regarding the migration process, please reach out to your CSM or success@codacy.com for more information.

If you have admin permissions on your Codacy self-hosted instance, you can set up or configure your GitLab.com integration by going to the Admin panel on the top navigation bar.

Kapture_2020-03-04_at_14.49.15.gif

When you open the GitLab panel, if you haven't created an application yet, this is the first step you need to take. Just follow the link.

Screenshot_2020-03-04_at_14.52.42.png

Creating a GitLab Application

Follow the link to create an application on Gitlab.com

You need to ensure the "api", "read_user" and "read_repository" scopes are checked. 

You'll also need to add the following 'Redirect URL's. Make sure to update your protocol to use either HTTP or HTTPS and your domain name as well. Keep in mind this field is case sensitive. 

https://codacy.example.com/login/GitLab
https://codacy.example.com/add/addProvider/GitLab
https://codacy.example.com/add/addService/GitLab
https://codacy.example.com/add/addPermissions/GitLab

After this, copy the "application ID" and "secret" and paste those to the GitLab integration panel on Codacy.  

Screenshot_2020-03-04_at_15.02.46.png 

Hit "Test & Save" and you should be good to go! 👍

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified January 14, 2022