Last updated

Connect a Git provider

Connecting a Git provider establishes a connection between your Redocly project and a Git repository hosting provider. Git is a widely used distributed version control system that allows multiple developers to collaborate on a project by managing changes to source code and other files. Git providers offer online Git hosting services, so teams can collaborate from around the world. If you already have your project files stored in a repository hosted by a Git provider, you can connect either the entire repository or a folder in that repository.

Redocly integrates with popular Git providers such as GitHub and GitLab. When you open a pull request, or commit and push to these services, Redocly is notified automatically and can be configured to perform an action, like rebuild the portal for a preview or production build. The files in your remote Git repository and Redocly are synced, so any changes saved in Redocly or your remote repository are reflected in the published project.

You can connect your Redocly project to the following Git repository hosting providers:

If you have a self-hosted instance of GitLab, or are on GitHub Enterprise you may need to allow certain IP addresses to connect to Redocly. See allow IP addresses for more information.