The Data Migration page (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/settings/data-migration) provides a guided, multi-step workflow for importing data from external database sources, including connection management, source exploration, field mapping, and migration run history.
Overview
The page is gated bysystem.organizations.admin at the route level and wrapped in a RouteErrorBoundary. It uses a MigrationStepper component to guide the user through four sequential tabs: Connections (manage external DB connections via useDataMigrationConnections), Explore (browse the source database schema via SourceExplorer), Mappings (configure field-level mappings via useDataMigrationMappings and MappingsTab), and Runs (view past migration execution history via useDataMigrationRuns and RunsTab). The stepper tracks progress by whether connections, mappings, and runs exist.
Who it’s for
Requires permissionsystem.organizations.admin.
Before you start
- You must hold
system.organizations.admin. - External database credentials must be available before adding a connection.
- Review field mapping requirements with your data team before running a migration.
Steps
Open Data Migration
Navigate to
/settings/data-migration. The stepper shows the current progress across all four stages.Explore the source
Switch to Explore to browse the source database tables and columns. This helps plan your mappings.
Configure mappings
On the Mappings tab, define how source fields map to target fields in the platform.
Key concepts
Stepper state
Stepper state
The
MigrationStepper tracks whether hasConnections, hasMappings, and hasRuns are true and visually indicates progress through the workflow.RouteErrorBoundary
RouteErrorBoundary
This route is wrapped in a
RouteErrorBoundary scoped to the settings module, so unhandled errors during migration operations display a contained error UI rather than crashing the full page.Related
Platform Foundation
Platform Foundation overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/settings/pages/data-migration/DataMigrationPage.tsx
- src/platform/settings/pages/data-migration/hooks/useDataMigrationConnections.ts