---
title: "Migrate your app from another app builder"
description: "Export your project as a ZIP, drop it into a Hercules chat and ask for a migration plan. Hercules rebuilds the app on its own database, sign-in and hosting."
---

# Migrate your app from another app builder

To move an app to Hercules, export its code as a ZIP, drop the ZIP into an app's chat, and ask Hercules for a migration plan.

Hercules reads the project, plans the move with you, then rebuilds it on its built-in database, sign-in and hosting. Only the code comes across. Set these up again once it has moved.

- Database records
- Users
- API keys, the credentials that connect the app to other services
- Custom domain

- **Bring one ZIP.** Export the project's code and drop it into chat.
- **Plan first.** Review a migration plan from Hercules before it changes anything.
- **Keep the look.** Keep pages and styling close to the original.

## What does Hercules do with your project?

### Read the code you bring

Hercules reads the code in the ZIP from whichever tool you used. The attach button on Home takes only images, so open an app first. [Migrate to Hercules](https://hercules.app/docs/apps/migrate/overview)

### Keep the pages your users know

The migration prompt asks Hercules to keep existing pages and styling as close to the original as possible. Check the preview against the old app before you publish. [Migrate to Hercules](https://hercules.app/docs/apps/migrate/overview)

### Move onto the built-in database and sign-in

Hercules sets the app up on its built-in database and Hercules Auth instead of the old backend. Add API keys again in Secrets, where they stay out of the code. [Database](https://hercules.app/docs/apps/database)

### Bring your domain

Connect a domain you already own to the migrated app, so users find it at the same address. Connecting a custom domain needs a paid plan. [Connect a domain](https://hercules.app/docs/apps/publish/connect-existing-domain)

## How does a migration work?

### 1. Export the project as a ZIP

Download the code from the tool you used, and zip the folder if the download isn't a ZIP. Leave out `node_modules` (downloaded code libraries), build folders and `.env` files, which can hold passwords or API keys.

### 2. Ask for a migration plan

Open an app, drop the ZIP into its chat, and choose Expert, the most accurate model and the best fit for planning. Then send this prompt.

> Look at the attached project and write a migration plan. Keep the existing pages, components, and styling as close to the original as possible.

Hercules writes the migration plan before it changes anything. Check that it lists every page you rely on and says how people will sign in, and change what you'd do differently.

### 3. Carry out the plan

> Carry out the migration plan.

Send this on Balanced, which you pick in the model selector, and Hercules rebuilds the app from your reviewed migration plan. Then set up what the plan calls for, and publish. [Models](https://hercules.app/docs/ai/how-it-works)

## What could a migration look like?

In this hypothetical example, a commercial cleaning company moves its crew scheduling app to Hercules and stops paying for a separate database and sign-in service. The Expert plan keeps the schedule board and crew pages as they were and moves the shifts table onto the Hercules database. Hercules carries the plan out on Balanced. The operations manager then imports the shift records, invites supervisors to sign in again, and connects the company's domain.

## What should you know before you start?

- A chat attachment can be up to 30 MB on a paid plan and 5 MB without one.
- Choosing Expert or Balanced needs a paid plan. Without one, Hercules runs the migration on a default model. [Models](https://hercules.app/docs/ai/how-it-works)
- See what each plan includes on the [pricing page](https://hercules.app/pricing).

## Related features

- Use [App Builder](/products/app-builder) to change the migrated app when you keep building by chat.
- Use [Database](/features/database) to store your app's records when you bring them over from a spreadsheet.
- Use [Hercules Auth](/features/authentication) to handle sign-in and roles when your old app's users need to sign in.
- Use [Custom domains](/features/custom-domains) to point the domain you already own at the new app when you switch.

## How do you get started?

Export your project as a ZIP and use the prompt in the [migration guide](https://hercules.app/docs/apps/migrate/overview). Start building.

## Frequently asked questions

### How do I bring my records into the Hercules database?

Export the old data as CSV files, then open Database in the sidebar and click Import CSV. Hercules imports into a new or existing table, and you choose whether to append or replace rows. [Import a CSV](https://hercules.app/docs/apps/database)

### Can I import my users with their passwords?

Yes, on a paid plan, and the [pricing page](https://hercules.app/pricing) shows which one. Hercules Auth imports up to 5,000 email and password users at a time from a CSV, and imported users can sign in right away. Delete the CSV after the import, because it holds passwords in plain text. [Import users](https://hercules.app/docs/apps/users-auth/customize-auth-portal)

### Is there a guide for the tool I'm leaving?

The Hercules migration docs include step-by-step guides for six popular app builders and AI coding tools. [Migrate to Hercules](https://hercules.app/docs/apps/migrate/overview)

### Can I get help if the migration gets stuck?

Yes. [Contact Hercules support](https://hercules.app/docs/company/contact) with the project and the plan Hercules wrote.

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How do I bring my records into the Hercules database?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Export the old data as CSV files, then open Database in the sidebar and click Import CSV. Hercules imports into a new or existing table, and you choose whether to append or replace rows. Import a CSV"
      }
    },
    {
      "@type": "Question",
      "name": "Can I import my users with their passwords?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, on a paid plan, and the pricing page shows which one. Hercules Auth imports up to 5,000 email and password users at a time from a CSV, and imported users can sign in right away. Delete the CSV after the import, because it holds passwords in plain text. Import users"
      }
    },
    {
      "@type": "Question",
      "name": "Is there a guide for the tool I'm leaving?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The Hercules migration docs include step-by-step guides for six popular app builders and AI coding tools. Migrate to Hercules"
      }
    },
    {
      "@type": "Question",
      "name": "Can I get help if the migration gets stuck?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Contact Hercules support with the project and the plan Hercules wrote."
      }
    }
  ]
}
```
