> For the complete documentation index, see [llms.txt](https://docs.genvibe.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.genvibe.pro/connecting-other-services/import-repo.md). Agents can also search and read this documentation through its [MCP server](https://docs.genvibe.pro/~gitbook/mcp).

# Import a GitHub repository

Import a GitHub repository into GenVibe as a new project, by a public repository's link or from your connected GitHub account, then keep building on it in the chat.

If you already have a project on GitHub, made by you, a developer or another tool, you can import it into GenVibe as a new project and keep building on it in the chat. GitHub keeps code in repositories: one project folder each.

Importing uses no AI and no credits, and it works on every plan.

## Open the import window

1. Go to the GenVibe home screen.
2. In the box where you describe your app, press the **+** button and choose **Clone a Git Repo**.

<figure><img src="https://1947807689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTr5AwLbe5x8taDRBW8yK%2Fuploads%2Fgit-blob-cc280c099bf28d68e9b6929b50d8c7db07aa29ec%2Fhome-plus-menu.png?alt=media" alt="The message box on the home screen with its plus menu open: Attach, Import from Figma, Clone a Git Repo, Model, Skills and Connectors"><figcaption><p>The plus button in the message box holds Clone a Git Repo.</p></figcaption></figure>

The **Import GitHub Repository** window opens. It gives you two ways to name the repository.

<figure><img src="https://1947807689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTr5AwLbe5x8taDRBW8yK%2Fuploads%2Fgit-blob-3e5df93d1bdbc887207b9c86c331debf9e315e5d%2Fimport-github-window.png?alt=media" alt="The Import GitHub Repository window: a field named Open a public repository by its link with an Open button, and under it a list of repositories, each with an Import button"><figcaption><p>Paste a public repository's link, or choose one from your list.</p></figcaption></figure>

## A public repository: paste its link

1. Copy the repository's address from GitHub. It looks like `https://github.com/owner/name`.
2. Paste it into **Open a public repository by its link** and press **Open**.
3. A short overview shows the repository's files and size. Press **Import Repository**.

You do not need to connect GitHub for this. The address of a branch or of a file inside the repository works too.

## One of your own, private or public: choose it from your list

1. In the same window, press **Connect GitHub Account** and allow GenVibe on GitHub's page. You can also connect it beforehand: open **Settings** from your account menu, then **Connected accounts**, and press **Connect** beside **GitHub**.
2. The window lists the repositories that account can reach, private ones included. Choose one.
3. Under **Select Branch**, keep the main branch unless you need another.
4. Press **Import** and the repository's name.
5. Check the overview and press **Import Repository**.

A private repository does not open by its link alone. Choose it from the list.

## What happens next

GenVibe copies the code into a new project and installs what it needs. When the project says how it starts, it runs in the preview, usually in a minute or two.

## When the project does not say how it starts

Some projects have no instruction for starting them, such as a project made only of server functions. Then the chat says that the packages are installed and nothing is running yet, and offers two buttons:

* **Get this project running**: GenVibe reads the code and sets it up.
* **Explain what this project does**: GenVibe describes the project in plain words.

Pressing one sends it as your next message, like any other, and uses credits like any other message. You can also tell GenVibe in your own words how the project starts.

## Then build as usual

An imported project works like any other. Describe the change you want, for example "add a contact page" or "make the header dark", point at a part of the preview, publish, or push your changes back to GitHub with **Push to GitHub** (see [GitHub](https://docs.genvibe.pro/connecting-other-services/github.md)).

## Good to know

* Web projects work best when they are built the usual way, with a `package.json` file that names how they start.
* A project that keeps its data in your own Supabase stays on it: it cannot be moved onto the built-in backend. See [Your own Supabase](https://docs.genvibe.pro/connecting-other-services/supabase.md).
* A large repository takes longer to copy and install.
* In the project panel, **Git** has an **Import from GitHub** button as well. It opens GenVibe in a new tab, where you start from the home screen as above.

## Related

* [GitHub](https://docs.genvibe.pro/connecting-other-services/github.md)
* [Your own Supabase](https://docs.genvibe.pro/connecting-other-services/supabase.md)
* [The AI builder](https://docs.genvibe.pro/building/ai-builder.md)
* [Guide: when something breaks](https://docs.genvibe.pro/guides/fixing-errors.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.genvibe.pro/connecting-other-services/import-repo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
