Migration Tools
Important
Only users with the Administrator role have access to the Migration Tools.
Migration Tools lets you move artifacts from another environment, called the source environment, to the environment where you are working. You connect the source environment once, and then map each artifact to its counterpart in your current environment. This helps you promote tested work between environments without rebuilding it by hand.
You can access this feature from the Business AI Cloud's home page.

Configuring Source Environment
Click the Admin icon in the left-side panel.
The Admin page opens.
Click the Migration Tools card to open the Settings tab. If no environment is connected yet, this is the first page you see.
Expand the Source Environment section.
Enter a name for the source environment.
Enter the API base URL of the source environment.
Enter the access token.
To get the token, copy it from the source environment's dashboard.
Click Configure.

A message confirms that the environment is configured. The Configure button becomes unavailable. BAIC fetches the artifacts from the source environment and groups them by type
The platform fetches artifacts from the source environment and groups them by type in the Mapping tab.
Review Artifact Mappings
Click the Mappings tab.
The platform fetches the artifacts from the source environment and groups them by type:
Knowledge Bases
Unstructured Workflows
Knowledge Clusters
Pipelines
Dataflows
Select an artifact type to view its artifacts.
The list on the left shows artifacts from the source environment. The dropdown next to each item shows artifacts from your current environment.
Knowledge Bases tab:

By default, the platform suggests a mapping for each knowledge base. You can keep the suggested mapping or select a different artifact from the dropdown.
Expand a knowledge base to view its table mappings.
By default, the platform suggests a mapping for each table. You can keep the suggested mapping or select a different table from the dropdown.
Click Save at the bottom right to apply the changes.
Note
Select the table only to migrate its description and column configuration. Select the knowledge base to also migrate its golden SQL and instructions.
Unstructured Workflows tab:

Notice
The platform does not migrate unstructured workflows. However, you must map them because knowledge clusters and data flows use them.
By default, the platform suggests a mapping for each unstructured workflow. You can keep the suggested mapping or select a different artifact from the dropdown.
Click Save at the bottom right to apply the changes.
Knowledge Clusters tab:

By default, the platform suggests a mapping for each knowledge cluster. You can keep the suggested mapping or select a different artifact from the dropdown.
Expand a knowledge cluster to view its job hooks and knowledge base mappings. Make sure every knowledge base in the cluster is mapped.
Important
You must map all knowledge bases to migrate the data correctly.
If a knowledge base is not mapped, map it on the Knowledge Bases tab.
Click Save at the bottom right to apply the changes.
Pipelines tab:

In the Target Knowledge Cluster dropdown, select the knowledge cluster that you mapped earlier.
Tip
A knowledge cluster that you already mapped has an icon next to its name. Use the
icon to identify it in the list.Review the pipeline mappings. By default, the platform suggests a mapping for each pipeline. You can keep the suggested mapping or select a different pipeline from the dropdown.
Click Save at the bottom right to apply the changes.
Dataflows tab:

In the Target Knowledge Cluster dropdown, select the knowledge cluster that you mapped earlier.
Tip
A knowledge cluster that you already mapped has an icon next to its name. Use the
icon to identify it in the list.Review the dataflow mappings. By default, the platform suggests a mapping for each dataflow. You can keep the suggested mapping or select a different dataflow from the dropdown.
Expand the dataflow to view each node and the mapped artifacts.
Click Save at the bottom right to apply the changes.
Starting Migration
After you complete the mappings, you can migrate multiple artifacts at once for each tab.
Notice
If an artifact has no mapping, the platform creates a new artifact in your current environment during migration. When an artifact with the same name already exists, the platform gives the new artifact a unique name. To use the existing artifact instead, map the source artifact to it before you migrate.
Make sure you have saved the mappings on each tab.
Select the checkbox next to each artifact that you want to migrate.
Click Sync now.

A confirmation dialog box opens.

Read the message, then click Yes, Continue.
The platform migrates the selected artifacts from the source environment to your current environment based on your mappings.
Viewing Migration Runs
You can view the complete history of your migrations on the Runs tab. Use it to check the status of each migration.
Click the Runs tab.
The table lists each migration run, with the most recent runs shown first.
Click View Details on any run to access a comprehensive breakdown of that execution.
The Runs Details panel opens from the right. The following actions are available on this panel:
To copy the unique execution identifier to your clipboard, click the Copy
icon next to Run ID.To download the run's log to your system, click Download.
To copy the run's log to the clipboard, click Copy .
To stop execution while the run is still in progress, click Cancel Run.
Scheduling Migration
You can automate the migration by creating a recurring schedule. The platform then syncs the mapped artifacts from the source environment at the times you set, so you don't need to start each migration manually.
Select the Settings tab.

The Source Environment and Schedule cards appear. The Schedule card lets you configure a recurring sync schedule for the connected source environment.
Enter relevant details in the fields.
Field
Description
Name
Enter a name for this schedule.
Description
Enter additional details about the purpose or scope of the schedule.
Schedule Type
Select how frequently the schedule should run:
Hourly
Daily
Weekly
Monthly
Yearly
Repeat Every
Specify the interval for the recurring schedule.
Hourly schedule - 1 to 23
Daily schedule - 1 to 31
Notice
If the scheduler tries to start a new job while a previous one is still running, the system will cancel the new job to avoid overlapping executions.
Days of the week
Select one or more days of the week to run the schedule.
Available for a Weekly schedule only.
Day of the Month
Select the specific date of the month to run the schedule.
Available for Monthly schedules only (1 to 30).
Day and Month
Select the specific month and date to run the schedule.
Available for Yearly schedules only.
Start Time
Set the time when the schedule should begin.
Timezone
Select your timezone to ensure the schedule runs at the correct local time.
Click Update.
The platform saves the schedule and runs the migration at the times you set.
Tip
Use the Schedules icon on the left navigation panel to view a complete list of schedules and their execution details.
After creating a schedule, add artifacts to the schedule.
Adding/Removing Artifacts to Schedule
After creating a schedule, go back to the Mapping tab.
Click the checkbox next to each artifact that you want to include in the schedule.

To add, click Add to Schedule.
The success message appears for confirmation.
The platform adds the artifacts to the schedule list.
The scheduled migration runs only for these artifacts.
An
icon next to each artifact shows that it is scheduled.
To remove, click Remove from Schedule.
The success message appears for confirmation. The platform removes the artifacts from the schedule list.