> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Import

> Learn how to import projects and designs from other tools into Replit.

Import lets you bring existing code or designs into Replit Apps and continue building with Agent.

## Supported sources

| Source  | What you provide                             | Best for                              |
| ------- | -------------------------------------------- | ------------------------------------- |
| GitHub  | Repository URL or repository picker          | Public and private repository imports |
| Vercel  | GitHub repository behind your Vercel project | Migrating Vercel apps                 |
| Figma   | Frame URL                                    | Turning designs into React apps       |
| Bolt    | GitHub repository exported from Bolt         | Migrating Bolt projects               |
| Lovable | GitHub repository exported from Lovable      | Migrating Lovable projects            |
| ZIP     | `.zip` file upload                           | Importing local project archives      |

<Note>Replit validates compatibility before import starts.</Note>

## Quickstart guides

<CardGroup cols={2}>
  <Card title="Import from GitHub" icon="github" href="/getting-started/quickstarts/import-from-github">
    ⏰ *2 minutes*

    Import a GitHub repository into Replit.
  </Card>

  <Card title="Import from Figma" icon="figma" href="/getting-started/quickstarts/import-from-figma">
    ⏱️ *3 minutes*

    Convert a Figma frame into a React app.
  </Card>

  <Card title="Import from Vercel" icon="triangle" href="/getting-started/quickstarts/import-from-vercel">
    ⏱️ *3 minutes*

    Import the GitHub repository behind a Vercel project.
  </Card>

  <Card title="Import from Bolt" icon="bolt" href="/getting-started/quickstarts/import-from-bolt">
    ⏱️ *4 minutes*

    Export from Bolt, then import in Replit.
  </Card>

  <Card title="Import from Lovable" icon="heart" href="/getting-started/quickstarts/import-from-lovable">
    ⏱️ *4 minutes*

    Export from Lovable, then import in Replit.
  </Card>

  <Card title="Import from ZIP" icon="file-zip" href="/getting-started/quickstarts/import-from-zip">
    ⏱️ *3 minutes*

    Upload a `.zip` archive and continue with Agent.
  </Card>
</CardGroup>

## Standard import flow

1. Open [replit.com/import](https://replit.com/import).
2. Select an import source.
3. Connect any required accounts.
4. Provide a repository URL, frame URL, or `.zip` file.
5. Add requested secrets or environment variables.
6. Select **Import** and review the generated app.

## Source notes

### GitHub

* Use rapid import for public repositories with `https://replit.com/github.com/<owner>/<repo>`.
* Use guided import for public and private repositories.
* If your repository is an exported Agent App, Replit preserves Agent-specific structure during import.

### Figma

* Import a single Figma frame URL.
* Replit generates React code, then Agent helps refine it.
* For better results, use frames, auto layout, and clear layer names.

### Vercel

* Select the GitHub repository behind your Vercel project.
* Replit imports project code and configuration defaults.
* Add environment variable values during import.

### Bolt

* Export your Bolt project to GitHub before importing.
* Replit imports code, UI styles, assets, backend logic (if present), and database schema (if present).
* Supabase data and secret values are not imported.
* After import, ask Agent to add secrets and recreate database data.

### Lovable

* Export your Lovable project to GitHub before importing.
* Replit imports code, UI styles, assets, backend logic (if present), and database schema (if present).
* Supabase data and secret values are not imported.
* After import, ask Agent to add secrets and recreate database data.

### ZIP

* Upload a `.zip` file with a clear project root.
* Replit imports files, dependencies, and common run defaults.
* Existing secret values, domains, and database data are not imported.

## Limitations

* Existing database data is not migrated.
* Some complex or proprietary dependencies may need manual setup.
* Large projects can take longer to process.

## Best practices

* Remove sensitive credentials before import.
* Keep your source project structure clean.
* Verify dependencies and run commands after import.
* Test core flows before publishing.

## Troubleshooting

If import fails, check these areas first:

* **Compatibility errors**: Verify required project files and supported frameworks.
* **Access errors**: Confirm repository or source permissions.
* **Processing errors**: Retry after simplifying project structure or reducing size.

If issues continue, visit the [Replit Community Hub](https://replit.com/community) or [contact Support](https://replit.com/support).

## Billing

Imports that require Agent migration work can consume credits. Credit usage depends on project complexity.
