Prerequisites
- Neon PostgreSQL project
- Access to Neon Console
- Xata account and project setup
- Network access to your Neon database
Install and Configure the Xata CLI
Install the Xata CLI:Get Connection String
Find Your Connection Details
- Go to Neon Console → Your Project
- Click on your database branch
- Copy the connection string from the “Connection Details” section
Connection String Format
Neon connection strings typically look like this:Initialize Xata Project
Set up your Xata project configuration:Configure the Migration
Set up your clone configuration with optional anonymization:Start the Migration
Begin the data transfer:Monitor Progress
Check the migration status:Verification
After migration, verify your data:-
Connect to Xata Branch:
-
Check Data Integrity:
- Test Relationships: Verify foreign key relationships work correctly
Next Steps
- Explore Xata branching for development workflows
- Learn about schema changes with zero downtime
- Set up continuous sync for ongoing replication
- Consider deployment options for your Xata instance