Chat To ClientsHelp Center

How can we help?

Knowledge base › AI Employee › AI Studio

How to Migrate Existing React Projects to SSR in AI Studio

Existing React projects in Chat To Clients CRM AI Studio can now be migrated to a server-side rendering (SSR) architecture using TanStack Start. The Migrate to SSR feature creates a separate copy of your project, allowing you to add server functions, secure secrets, and other backend capabilities without affecting your published website. 


Your original project, connected domains, and version history remain unchanged throughout the migration. This guide explains how to migrate an existing React project, monitor migration progress, and prepare the new project for publishing.


TABLE OF CONTENTS


What is Migrate to SSR in AI Studio?


Migrate to SSR is an advanced feature in Chat To Clients CRM AI Studio that converts an existing React/Vite project to the TanStack Start architecture. Instead of modifying the original project, AI Studio creates a separate draft and uses AI agents to perform the conversion. This approach lets you explore full-stack capabilities while keeping your existing website live and unchanged.


Server-side rendering (SSR) generates page HTML on the server before delivering it to a visitor's browser. TanStack Start also supports server functions, REST APIs, and secrets, allowing applications to handle backend operations and sensitive credentials outside browser code.


The migration feature is particularly useful for existing projects that need:


Migrating is optional. Existing React projects that do not require these capabilities can continue using their current architecture.


For a detailed explanation of these capabilities, see AI Studio: SSR, Server Functions, REST APIs, and Secrets.


Key Benefits of Migrate to SSR


Migrating an existing React project to SSR gives you access to full-stack functionality while reducing the risks associated with changing a published application. By creating a separate project, AI Studio lets you review the converted application before deciding whether to publish it or connect an existing domain.


Migration Eligibility and Requirements


The migration action is designed for existing React/Vite projects that need the newer TanStack Start architecture. Understanding the eligibility requirements helps you determine whether migration is available and avoids unnecessary changes to projects that already support server-side functionality.


The Migrate to SSR option is available when the following conditions are met:


The option is marked Advanced in Project Settings.


What Happens to Your Original Project?


AI Studio separates migration from publishing to protect your existing website. When you start a migration, the system creates a new project alongside the original rather than converting the live project directly. Understanding what stays with the original and what moves into the copy helps you plan a safe transition.


When migration begins:

  1. AI Studio creates a new project within the same sub-account.

  2. The pages from your original project are copied into the new project.

  3. AI Studio suggests the name {project name} (TanStack), which you can edit before creating the copy.

  4. The new project begins as a draft and is not automatically published.

  5. The original project retains its existing version history.

  6. The new project starts with a separate AI Studio chat.

  7. Your original published site and connected domains remain unchanged.


The following table summarizes the differences between the two projects.

Project ComponentOriginal React ProjectMigrated Project
ArchitectureRemains React/ViteConverted to TanStack Start
Project pagesPreservedCopied into the new project
Project nameUnchangedCustomizable before migration
Publishing statusUnchangedStarts as a draft
Connected domainsRemain connectedNot automatically transferred
Version historyRetainedBegins separately
AI Studio chatExisting chat remainsStarts a new chat
Workflow associationsExisting associations remainRequire review and updates where applicable


Important: Migrating to SSR does not automatically replace your published site or transfer its custom domains. Publishing the converted project and moving an existing domain are separate actions. If you decide not to use the migrated project, the original React project remains available and unchanged.

Migration Status and Available Actions


AI Studio temporarily restricts certain project actions while agents convert the copied application to TanStack Start. These restrictions help prevent conflicting changes during the upgrade, while allowing you to follow progress and interact with the migration through chat.


After migration starts, the new project's dashboard card displays the status Migrating to SSR. While this status is active, the following actions are available:

ActionAvailability During Migration
Preview the projectAvailable
Use AI Studio chatAvailable
Delete the migrated projectAvailable
Publish the projectUnavailable
Save code changesUnavailable
Restore previous versionsUnavailable
Modify domain settingsUnavailable
Change slugsUnavailable
Remix the projectUnavailable


These restrictions apply to the migrated copy while migration is incomplete. They do not modify the original project.


Migration completion


When the migration finishes successfully, the Migrating to SSR status clears and the new project becomes a normal TanStack Start application.


Incomplete migrations


If the migration stops before completing, the migration status remains visible. Open the migrated project's chat and enter: "continue the migration"


AI Studio can resume the conversion using the same copied project.


Important: Starting another migration from the original React project creates an additional copy. To continue an incomplete migration, use the existing migrated project's chat instead.

How to Migrate an Existing React Project to SSR


Migrating from Project Settings provides a controlled way to upgrade an existing React application without interrupting your live website. The process creates a separate copy, starts the AI-assisted conversion, and allows you to review the result before publishing.


Step 1: Open Your Existing React Project

  1. Sign in to your Chat To Clients CRM account.

  2. Open the sub-account containing the React project.

  3. Navigate to AI Studio.

  4. Open the existing React/Vite project that you want to migrate.


Step 2: Open Project Settings

  1. Navigate to Project Settings.


  2. Locate Migrate to SSR.



Step 3: Review the New Project Name


AI Studio prompts you to confirm the name of the project that will be created.

  1. Review the suggested name: {project name} (TanStack).

  2. Edit the name if you want to use a different naming convention.

  3. Confirm that the new project will be created separately from the original.


Using a recognizable project name can make it easier to distinguish the converted application from the original React project.



Step 4: Review the Migration Notes


Before starting the conversion, review the migration notes presented by AI Studio. Pay particular attention to the following:


Accept the migration notes to continue.


Step 5: Start the Migration

  1. Click Migrate to confirm.

  2. AI Studio creates a new project within the same sub-account.

  3. The system opens the newly created project.

  4. AI Studio starts the conversion through the project's chat.



Step 6: Monitor the Migration

  1. Follow progress in the migrated project's chat.

  2. Check the dashboard for the Migrating to SSR status.

  3. Use Preview when available to inspect the project.

  4. Allow the AI-assisted conversion to finish before attempting to publish or make restricted changes.


The status clears when the project is ready as a TanStack Start application. If the process stops before completion, enter continue the migration in the migrated project's chat. Do not restart migration from the original project unless you intentionally want to create another copy.


Step 7: Review the Completed Project


After the migration status clears:

  1. Open the converted project.

  2. Preview its pages and navigation.

  3. Review the generated application for missing functionality or unexpected changes.

  4. Test the features that required SSR or server-side functionality.

  5. Use AI Studio chat or supported editing tools to fix any remaining issues.


Important: A completed migration does not guarantee that every part of the application works exactly as before. Review and test the converted project before publishing it.

Review Forms, Calendars, and Workflow Connections


Migrating a project does not automatically redirect workflow triggers from the original project to the new project. Review existing integrations before switching to the migrated website.

  1. Identify the forms and calendars used by the original application.

  2. Confirm that the migrated project's forms and calendars work correctly.

  3. Review any CRM connections used by those components.

  4. Navigate to Automation > Workflows.

  5. Open workflows associated with the original AI Studio project.

  6. Review the trigger filters for project, form, page path, and domain.

  7. Update the relevant filters or connections when transitioning to the migrated project.

  8. After publishing, submit test entries and verify the expected workflow executions.


Existing project-specific workflow triggers remain associated with the original project until their configurations are updated.


For more information, see AI Studio Form Submitted Workflow Trigger.


Review Publishing and Domain Connections


Publishing the migrated project is a separate decision from completing the framework conversion.


Before publishing:


Your original website and connected domains remain unchanged until you make separate publishing or domain configuration changes.


For additional guidance, see AI Studio in Chat To Clients CRM.


Frequently Asked Questions


Q: Should I migrate my React project just because TanStack Start is available?

No. Migration is optional. If your existing React project meets your requirements and does not need server-side rendering or full-stack functionality, you can continue using it without migrating.


Q: Can I migrate the same original React project more than once?

Yes. Starting migration again from the original project creates another separate copy. If you are trying to finish an incomplete conversion, resume the existing migrated project instead of creating another copy.


Q: What if the migrated application looks different from my original website?

Review the differences in Preview and use AI Studio chat or available editing tools after migration to correct them. The AI-assisted conversion may require additional changes before the new application is ready to publish.


Q: How can I tell whether my migration is complete?

The project's Migrating to SSR status clears once the converted application becomes a normal TanStack Start project. You should still test the application's behavior before publishing.


Q: Can I use my existing workflow automations with the migrated project?

Yes, but project-specific workflow configurations may need to be updated. Review the original project's triggers and filters, configure them for the migrated project where appropriate, and test submissions after publishing.


Q: Do I need to recreate my API keys and integrations after migration?

The release does not guarantee that every integration or credential configuration transfers automatically. Review the migrated application's integration requirements and configure any necessary secrets or connections before publishing.


Related Articles

Last updated Thu, 15 Oct, 2026 at 4:28 AM