---
title: "Importing a repo via HTTPS"
canonical: "https://support.appfire.com/space/FD/1801879609/Importing%20a%20repo%20via%20HTTPS"
format: markdown
---
> Macro (aura-html)

This is a step-by-step guide for connecting a single repo to Flow via HTTPS. Flow only has access to commit data for repos connected to Flow through the Generic Repo HTTPS integration. No ticket, PR, or merge data shows in Flow for these repos.

Learn more about [Bulk importing repos via HTTPS](https://appfire.atlassian.net/wiki/spaces/FD/pages/1802305660) to add multiple repos at once via HTTPS.

> ⚠️ Use a service account when importing repos via HTTPS. Learn more about [creating a service account](https://appfire.atlassian.net/wiki/spaces/FD/pages/1801977900).

To import a repo via HTTPS:

1. Click **Settings** in Flow's top navigation bar.
2. In the left navigation under **Integrations**, click **Integrations.**
3. Click **Add Integration** in the top right of the Integrations page.
4. Click **Generic Repo** from the Integration Provider list.
5. Click the HTTPS tab.
6. For private repos, enter your Git host username, password, and the Clone URL for the private repo you want to import. If you enabled two-factor authentication in your vendor, the password is replaced with a token. Create a personal access token unique for each git host. For an example, see [how to create a token in GitHub (external site, opens in new tab)](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
  Public repos don't require a username and password. Check the **public repo **box and add your Clone URL to connect to a public repo.
7. Click **Test connection** to verify your credentials and Clone URL.
8. If your connection is successful, you'll see a success message.
  If your connection wasn't successful, you'll see an error message.
  Here are a few reasons your repos might fail to import:
  - Clone URL is incorrect
  - User name or password are incorrect
  - Repo is already imported
  - Two-factor authentication is enabled for your Git host. Use a personal access token
9. If your connection is successful, click **Next**.
10. Ensure the Repo service is toggled **on** and click **Next**.
11. Name your integration so you can find it more easily in Flow. Click **Create**.

> ✅ If you imported other repos via HTTPS under another integration, you can assign and consolidate all HTTPS Integrations under one integration for easier management. Learn more about [Managing repositories](https://appfire.atlassian.net/wiki/spaces/FD/pages/1802109221).