Below is a step-by-step guide for adding a single repo via HTTPS. If you need to import more than one repo, check out Bulk importing repos via HTTPS .
Adding a single repo
- Starting on your Flow home page, go to the top navigation bar and click Settings. Using the left navigation under Integrations, click Integrations.
- Select the Add Integration button in the top right hand corner of you integrations screen.
On the following page select Generic Repo from the Integration Provider list and click Next.
Enter your Git host username, password and the clone URL for the private repo you want to import.Tip: If you have enabled two-factor authentication, the password will be replaced with a token. Create a personal access token unique for each git host. See a quick example of how to create a token in GitHub.Public repos do not require a username and password:
Click Test connection to make sure you have input your credentials correctly.
If your connection was successful you will see the following message:If your connection was not successful, you will see an error message like the one below.
Here are a few reason why some of your repos might fail to import:
- clone URL is incorrect
- user name and/or password are incorrect
- repo has already been imported
- two-factor authentication is enabled for your Git host. Please use a personal access token.
If your connection was successful, click Next.
On the next screen you will be selecting the services you want turned on for this integration. For HTTPs imports, repo services is your only option. Ensure the repo service is “On” and click Next.
Next, name your integration. Click Create.Tip: If you have other repos that were imported via HTTPS under another integration, you will be able to assign and consolidate all HTTPS Integrations under one. See Managing repositories for more information.
You have successfully created a new integration and imported your repo via HTTPS.
If you need help, please email email@example.com for 24/7 assistance.