Getting StartedSolveBuildIntelligenceLearnHelpWhat's New
HELPMigrate to Vercel

Migrate with GitHub Sync

Move your Rocket.new app to your own Vercel account by syncing the task to GitHub, then deploying from that repository.

To migrate your application from Rocket to another hosting provider or account, please follow the steps below. For this demonstration, we're using GitHub and Vercel as examples.

Prefer downloading a ZIP instead of syncing? See Migrate with code download.

Vercel hosting using Git Sync

Step 1: Sync your task/application with GitHub

Open your project in Rocket. Click on the GitHub icon and configure your GitHub account. For the full connect flow, see GitHub Integration.

Once your GitHub account is successfully connected, click the Push Task button. Your project will be synced to your connected GitHub repository.

Locate and edit the .env file in your GitHub repository.

Open the .env file and replace the value of NEXT_PUBLIC_SITE_URL with your domain (e.g., www.yourdomain.com). Then click Commit changes to save the update.


Step 2: Deploy your application on Vercel

Log in to Vercel and click Create Project.

Connect your GitHub account and grant the required permissions. Import the repository that Rocket pushed to.

Before you deploy, open the project Environment Variables settings and add the variables from your Rocket .env file (or env.json for mobile apps). For web apps, set NEXT_PUBLIC_SITE_URL to your domain (for example, www.yourdomain.com).

Click Deploy to start the build.

Once deployment is complete, open your Vercel project.


Step 3: Connect your custom domain

Go to Domains → Add Existing and enter your domain name.

Vercel will provide the required DNS records. Add these records through your domain provider (GoDaddy, Namecheap, etc.).

Remove the existing DNS records pointing to Rocket so your domain points to Vercel.

If you need any assistance during migration, feel free to reach out. We'll be happy to guide you through the process.


On this page