---
title: Create and analyze a migration project
description: Create a Genie Migrate migration project, add T-SQL, Snowflake, Redshift, Oracle, BigQuery, Teradata, or Informatica files, and analyze complexity and lineage.
canonical_url: https://docs.databricks.com/aws/en/migration/genie-migrate/projects
---

# Create and analyze a migration project

A migration project holds the source files that you migrate with Genie Migrate. Create a project and add your source files to it. Then analyze the project to review code complexity and the dependencies between files, and plan the migration in groups, before you convert. Analysis is optional for SQL projects and required for Informatica projects. For an overview of migration projects, see [What is a migration project?](https://docs.databricks.com/aws/en/migration/genie-migrate/index.md#migration-projects).

## <a id="create-project" />Create a migration project

To create a migration project, upload your source files to your workspace, create the project, and then add the files to it.

### <a id="step-1" />Step 1: Upload source files

Upload your existing SQL files (`.sql`) or ETL exports (`.xml`) using the [workspace file browser](https://docs.databricks.com/aws/en/files/workspace-basics.md#import-file), or use the [Databricks CLI](https://docs.databricks.com/aws/en/dev-tools/cli/index.md) to bulk-upload a directory of scripts.

### <a id="step-2" />Step 2: Choose the source dialect and target framework

Create a migration project from your workspace:

1. Click ![New Icon](https://docs.databricks.com/aws/en/images/icons/create-icon.png) > **Migration project**.
2. Enter a **Name** for the project.
3. Use the drop-down selectors to choose a **Source dialect** and a **Target framework**. For **Target framework**, choose **DBSQL** or **Notebooks** (Beta). See [Supported source dialects and target frameworks](https://docs.databricks.com/aws/en/migration/genie-migrate/convert.md#supported-sources). If you choose **Informatica** as the source dialect, the target framework is set to **Notebooks**.
4. Enter the file path to the target **Destination folder**. Click **Browse** to choose a destination from a list of available workspace folders.
5. Click **Create**.

![New migration project dialog showing the project name, source dialect, target framework, and destination folder fields.](https://docs.databricks.com/aws/en/images/migration/new-migration-project.png)

### <a id="step-3" />Step 3: Add source files to the project

After you create the project, add the files that you uploaded:

1. In the project, click **Add files** > **+ Add files**.
2. Select the source folder or a file from your workspace.

In Informatica projects, only `.xml` files are added. Files of other types are skipped.

The **Files** tab lists each file with its file type, line count, and conversion status. Informatica projects open on the **Inventory** tab, which lists each export with the objects it contains.

![Migration project Files tab showing source files grouped by script type, each with a Not started status and its line count.](https://docs.databricks.com/aws/en/images/migration/uploaded-files.png)

## <a id="analyze" />Analyze code complexity and lineage (Beta)

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Migration Projects Experimental Features** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md).

Analysis shows the complexity of each source file and the dependencies between files and tables, so you can plan which files to migrate together. Analysis is available for every supported source dialect. The steps depend on the project type.

### SQL projects

1. In the project, click **Analyze all**. If the project has no lineage, **Analyze all** is the default action. Otherwise, select **Analyze all** from the button's drop-down menu. Analysis covers every file in the project, even if you select files.
2. Wait for the analysis to finish. To cancel a running analysis, click **Stop**. When the analysis finishes, the button changes to **Convert all**.
3. Click a source file to open its complexity assessment, and click **Lineage** to open a dependency graph that shows interdependent files and tables that you must migrate together.

![Migration project Lineage tab showing a dependency graph that connects source files to the tables they read and write.](https://docs.databricks.com/aws/en/images/migration/project-lineage.png)

### Informatica projects

You must analyze an export before you can convert it.

1. In the project, open the **Inventory** tab.
2. Click **Analyze all**.
3. Wait for the analysis to finish. Analysis splits each export into its workflows, worklets, mappings, and mapplets.

## <a id="groups" />Plan the migration in groups

After analysis, use groups to plan the order of your migration. A group is a set of files that you convert and review together, so you can work through the migration in stages. The **Files** tab lists your groups in order, followed by an **Unassigned** group that holds the files that aren't in a group yet. Groups are available for SQL sources. Informatica projects show files by folder instead.

In projects that target Lakeflow pipelines, each group becomes one pipeline, and the files that you add start in a group. A folder becomes a group named after the folder, individual files go into groups named "Group 1", "Group 2", and so on, and a group holds up to 300 files, so a larger folder is split into numbered groups. Put the scripts that build one set of tables, such as one data mart, in the same group, so that their tables can read each other inside the group's pipeline.

* To create a group, select files, click **Move**, and select **New group…**. To move files to another group, select them, click **Move**, and choose the group. You can also drag files onto a group.
* To rename a group, click its name. To delete a group, hover over its row and click **Delete group**. Its files move to **Unassigned**.
* To convert a group, hover over its row and click **Convert this group**. Files that are already converted or reviewed are skipped, and each run converts up to 500 files. See [Step 1: Run the conversion](https://docs.databricks.com/aws/en/migration/genie-migrate/convert.md#step-1). If a group has files that failed to convert, the row shows **Retry failed** instead. Click it to convert only those files again.
* To see your files by script type instead, such as stored procedures, views, and tables, select **Script type** above the list. Select **Groups** to return to your groups.
* You can also ask Genie Code to group files for you. It can read the project's lineage, create groups, and add files to them. In projects that target Lakeflow pipelines, it can also set a group's catalog and schema, for example when you ask it to set the catalog and schema for a pipeline. Genie Code asks you to approve each change before it makes it.

On the **Lineage** tab, check groups in the side panel to see their lineage. Groups are laid out from left to right, and each group appears after the groups that write the tables it reads, so you can see which groups to convert first.

## Next steps

* [Convert SQL scripts and ETL pipelines with Genie Migrate](https://docs.databricks.com/aws/en/migration/genie-migrate/convert.md)
