---
title: "Connecting an application to an external Git repo"
date: "2024-02-14T06:18:38+00:00"
summary: "Learn how to connect your Cloud Platform application to external Git repositories like GitHub and Bitbucket. Follow our step-by-step guide to integrate your code and leverage Pipelines for efficient development workflows."
image:
type: "page"
url: "/acquia-cloud-platform/connecting-application-external-git-repo"
id: "5d59af9c-cb1f-491c-b7a2-026c492981df"
---

If you want to use an external Git repository with Pipelines, you must first connect to your external Git repository. Pipelines supports integration with Bitbucket Cloud public and private external repository.

Important

Bitbucket no longer supports default workspaces. Therefore, you cannot connect new Bitbucket accounts to Pipelines. However, you can connect your existing Bitbucket accounts to Pipelines.

Note

If you want to use the internal Git repository included with Cloud Platform, you do not have to complete this step to use Pipelines with your application, and can instead [create your build definition file](/acquia-cloud-platform/features/pipelines/yaml).

### GitHub Compatibility

Pipelines support is determined by the ****repository domain****. The integration requires the standard `github.com` endpoint to trigger webhooks.

GitHub Variant

URL / Endpoint

Supported

GitHub Free / Pro / Team

`github.com`

Yes

GitHub Enterprise Cloud

`github.com`

Yes

GitHub Enterprise Cloud (GHE)

`*.ghe.com`

No

GitHub Enterprise Server

`*.customer-domain.com`

No

Follow these steps to connect your Cloud Platform subscription with your external Git repository, depending on what you use to store your repository:

*   [Connecting Pipelines to your Bitbucket repo](/acquia-cloud-platform/features/pipelines/connect/bitbucket)
*   [Connecting Pipelines to your GitHub repo](/acquia-cloud-platform/features/pipelines/connect/github)

For a more detailed technical explanation of how Pipelines works and its benefits, see [Pipelines](/acquia-cloud-platform/features/pipelines).