The Strategist

Platform Migration Guide

Complete Step-by-Step Instructions

Migration to: futureimage.tech

Document Overview

This document provides complete instructions for migrating "The Strategist" AI business intelligence platform from the current Riper Minds app to a new standalone Base44 application on the futureimage.tech domain.

Generated: 10/3/2026 | Version: 1.0

Table of Contents

1. Overview & Prerequisites ....................... 2

2. Domain & Environment Setup .................... 3

3. Entity Schemas Migration ...................... 4

4. Backend Functions Migration ................... 8

5. AI Agent Configuration ........................ 12

6. Frontend Pages Migration ...................... 13

7. Components Migration .......................... 18

8. Testing & Verification ........................ 22

9. DNS & Email Configuration ..................... 23

10. Post-Migration Checklist ..................... 24

1. Overview & Prerequisites

What is "The Strategist"?

The Strategist is an elite AI CEO Advisor platform that provides comprehensive business intelligence, strategic planning, and autonomous execution capabilities. It includes:

  • 17-Module Strategic Consultation: Deep business analysis covering foundation, competition, operations, and growth
  • Intelligence Report Generation: 10-section comprehensive reports with market analysis and strategic recommendations
  • Business Plan Generator: AI-powered business plan creation with financial projections
  • Multi-LLM Research Engine: Parallel research across multiple AI models for comprehensive insights
  • Agent Orchestration: Task delegation to specialized AI agents for execution

Migration Scope

Total Files: 30+

  • • 8 Pages
  • • 12+ Components
  • • 6 Entities
  • • 5 Backend Functions
  • • 1 AI Agent

Estimated Time

  • • Setup: 30 minutes
  • • Migration: 2-3 hours
  • • Testing: 1 hour
  • • Total: ~4 hours

⚠️ Prerequisites

  • Access to Base44 platform account
  • Ownership or access to futureimage.tech domain at Namecheap
  • PDF Monkey API key (for PDF generation functionality)
  • SendGrid account and API key (for email notifications)
  • Basic understanding of Base44 platform navigation

2. Domain & Environment Setup

Step 2.1: Create New Base44 App

  1. Log in to Base44 platform at base44.com
  2. Click "Create New App" button
  3. Enter app name: The Strategist
  4. Configure custom domain: futureimage.tech
  5. Complete app creation and note the app ID

Step 2.2: Configure Namecheap DNS

  1. Log in to Namecheap account

    Navigate to Domain List → futureimage.tech → Advanced DNS

  2. Add Base44 domain records:

    Type: CNAME | Host: www | Value: [Base44 provides]

    Type: A | Host: @ | Value: [Base44 provides]

    Note: Base44 will provide exact DNS values after domain configuration in their dashboard

  3. Preserve email configuration (iPage):

    Ensure MX records still point to iPage mail servers

    ⚠️ Do NOT modify existing MX records - email should remain with iPage

Step 2.3: Set Environment Variables (Secrets)

In Base44 Dashboard → Settings → Environment Variables, add:

Secret NameDescription
PDF_MONKEY_API_KEYFor PDF report generation
SENDGRID_API_KEYFor email notifications

3. Entity Schemas Migration

Create the following 6 entity files in the new app's entities/ directory:

3.1 entities/ConsultationDraft.json

Stores the 17-module consultation responses and progress

{
  "name": "ConsultationDraft",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Title of the consultation draft"
    },
    "form_data": {
      "type": "object",
      "description": "All consultation answers from 17 modules",
      "additionalProperties": true
    },
    "current_step": {
      "type": "number",
      "description": "Current module number (1-17)",
      "default": 1
    },
    "status": {
      "type": "string",
      "enum": ["in_progress", "completed", "archived"],
      "default": "in_progress"
    },
    "last_saved_at": {
      "type": "string",
      "format": "date-time"
    },
    "completion_percentage": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "default": 0
    }
  },
  "required": ["title", "status"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

3.2 entities/IntelligenceReport.json

10-section comprehensive business intelligence reports

{
  "name": "IntelligenceReport",
  "type": "object",
  "properties": {
    "consultation_id": {
      "type": "string",
      "description": "Reference to ConsultationDraft entity"
    },
    "business_name": {
      "type": "string"
    },
    "industry": {
      "type": "string"
    },
    "report_title": {
      "type": "string"
    },
    "executive_summary": {
      "type": "object",
      "additionalProperties": true
    },
    "market_architecture_analysis": {
      "type": "object",
      "additionalProperties": true
    },
    "customer_intelligence_demographics": {
      "type": "object",
      "additionalProperties": true
    },
    "competitive_landscape_analysis": {
      "type": "object",
      "additionalProperties": true
    },
    "industry_trends_drivers": {
      "type": "object",
      "additionalProperties": true
    },
    "financial_intelligence": {
      "type": "object",
      "additionalProperties": true
    },
    "operational_assessment": {
      "type": "object",
      "additionalProperties": true
    },
    "risk_analysis_mitigation": {
      "type": "object",
      "additionalProperties": true
    },
    "strategic_recommendations_phased_action_plan": {
      "type": "object",
      "additionalProperties": true
    },
    "performance_dashboard_kpi_framework": {
      "type": "object",
      "additionalProperties": true
    },
    "status": {
      "type": "string",
      "enum": ["generating", "completed", "archived"],
      "default": "generating"
    },
    "confidence_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    }
  },
  "required": ["business_name", "industry"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

3.3 entities/BusinessPlan.json

Generated business plans with financial projections

{
  "name": "BusinessPlan",
  "type": "object",
  "properties": {
    "business_name": {
      "type": "string"
    },
    "industry": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": ["generating", "completed", "archived"],
      "default": "generating"
    },
    "user_inputs": {
      "type": "object",
      "additionalProperties": true
    },
    "executive_summary": {
      "type": "string"
    },
    "company_description": {
      "type": "string"
    },
    "market_analysis": {
      "type": "object",
      "additionalProperties": true
    },
    "products_services": {
      "type": "object",
      "additionalProperties": true
    },
    "marketing_sales_strategy": {
      "type": "object",
      "additionalProperties": true
    },
    "organization_management": {
      "type": "object",
      "additionalProperties": true
    },
    "financial_projections": {
      "type": "object",
      "additionalProperties": true
    },
    "risk_analysis": {
      "type": "object",
      "additionalProperties": true
    },
    "feasibility_assessment": {
      "type": "object",
      "additionalProperties": true
    },
    "implementation_roadmap": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "conversation_id": {
      "type": "string"
    },
    "generated_by": {
      "type": "string"
    }
  },
  "required": ["business_name"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

3.4 entities/BusinessGoal.json

High-level strategic business objectives

{
  "name": "BusinessGoal",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Strategic goal title"
    },
    "description": {
      "type": "string"
    },
    "target_value": {
      "type": "number"
    },
    "current_value": {
      "type": "number",
      "default": 0
    },
    "metric_unit": {
      "type": "string",
      "description": "e.g., 'sales', 'customers', 'revenue'"
    },
    "deadline": {
      "type": "string",
      "format": "date"
    },
    "status": {
      "type": "string",
      "enum": ["active", "completed", "at_risk", "cancelled"],
      "default": "active"
    },
    "priority": {
      "type": "string",
      "enum": ["critical", "high", "medium", "low"],
      "default": "medium"
    }
  },
  "required": ["title", "target_value", "metric_unit"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

3.5 entities/StrategicInitiative.json

Specific initiatives to achieve business goals

{
  "name": "StrategicInitiative",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "business_goal_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": ["planned", "active", "completed", "on_hold", "cancelled"],
      "default": "planned"
    },
    "priority_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "budget_allocated": {
      "type": "number",
      "default": 0
    },
    "projected_revenue": {
      "type": "number",
      "default": 0
    },
    "roi_estimate": {
      "type": "number"
    },
    "timeline_months": {
      "type": "number"
    },
    "assigned_to": {
      "type": "string"
    },
    "dependencies": {
      "type": "array",
      "items": { "type": "string" }
    },
    "success_metrics": {
      "type": "array",
      "items": { "type": "string" }
    }
  },
  "required": ["name", "status"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

3.6 entities/ResearchSession.json

Multi-LLM research session results

{
  "name": "ResearchSession",
  "type": "object",
  "properties": {
    "topic": {
      "type": "string"
    },
    "research_type": {
      "type": "string",
      "enum": ["market_analysis", "competitive_intel", "industry_trends", "customer_research"]
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "object",
      "additionalProperties": true
    },
    "sources_used": {
      "type": "array",
      "items": { "type": "string" }
    },
    "confidence_score": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "related_goal_id": {
      "type": "string"
    }
  },
  "required": ["topic", "research_type"],
  "rls": {
    "read": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    },
    "write": {
      "$or": [
        { "created_by": "{{user.email}}" },
        { "user_condition": { "role": "admin" } }
      ]
    }
  }
}

4. Backend Functions Migration

The following backend functions must be created in the new app's functions/ directory. These are essential for the platform's core functionality.

📋 Migration Instructions for Functions

  1. Navigate to the current Riper Minds app
  2. Go to Dashboard → Code → Functions
  3. For each function listed below, copy the complete code
  4. Create the same function in the new futureimage.tech app
  5. Ensure all imports and dependencies are preserved

4.1 functions/invokeMultiLLMResearch.js

Purpose: Conducts parallel research using multiple AI models for comprehensive market intelligence

Used by: Intelligence report generation, market analysis

Action: Copy complete function code from current app

4.2 functions/generateConsolidatedStrategicReport.js

Purpose: Generates consolidated strategic reports from consultation data

Used by: CEOStrategicReport page

Action: Copy complete function code from current app

4.3 functions/generateBusinessPlanPdf.js

Purpose: Generates professional PDF business plans using PDF Monkey

Used by: Business plan export functionality

Requires: PDF_MONKEY_API_KEY environment variable

4.4 functions/generatePDFMonkeyReport.js

Purpose: Generates PDF reports for intelligence reports

Used by: CEOStrategicReport export functionality

Requires: PDF_MONKEY_API_KEY environment variable

4.5 functions/executeMarketingCampaign.js

Purpose: Executes marketing campaigns through orchestrator agents

Used by: Agent orchestration features

Action: Copy complete function code from current app

5. AI Agent Configuration

5.1 Create agents/consultation_assistant.json

AI assistant for helping users through consultation modules

{
  "name": "consultation_assistant",
  "description": "AI assistant that helps users complete strategic consultation modules",
  "instructions": "You are a helpful AI assistant guiding users through strategic business consultation. Help them think deeply about their answers, provide examples, and offer strategic insights. Be encouraging but challenge them to think critically.",
  "tool_configs": [
    {
      "entity_name": "ConsultationDraft",
      "allowed_operations": ["read", "update"]
    }
  ]
}

5.2 Verify agents/ai_ceo_strategic_advisor.json

Main strategic advisor agent - should already exist in current app

Action Required:

  1. Copy the complete agent configuration from current app
  2. Create agents/ai_ceo_strategic_advisor.json in new app
  3. Paste the complete configuration
  4. Verify all entity permissions and tool configs are correct

6. Frontend Pages Migration

Copy the following 8 pages from the current app to the new app. Each page is a complete React component.

6.1 pages/CEOAgentLanding.js

Main landing page for The Strategist platform

  • • Hero section with "THE STRATEGIST" branding
  • • Feature showcase and benefits
  • • Pricing tiers (Founder, Strategist, Enterprise)
  • • CTA buttons to Strategic Consultation
Dependencies: HeroSection, FeaturesShowcase, LiveDemoPreview, PricingSection components

6.2 pages/StrategicGoalSetter.js

17-module comprehensive strategic consultation interface

  • • Draft selection/resume functionality
  • • 17 strategic consultation modules
  • • AI assistant integration (consultation_assistant agent)
  • • Auto-save progress
  • • Intelligence report generation trigger
Critical: This is the core consultation experience - test thoroughly

6.3 pages/UserDashboard.js

Main user dashboard showing consultations, reports, and business plans

  • • Lists saved consultation drafts
  • • Shows generated intelligence reports
  • • Displays business plans
  • • Quick action buttons
Note: May need to read from current app if not in context

6.4 pages/CEOStrategicReport.js

Displays consolidated strategic intelligence reports

  • • Executive overview and status
  • • Revenue forecast and gap analysis
  • • Prioritized initiatives (Critical, High, Medium)
  • • Risk assessment and dependencies
  • • PDF export functionality

6.5 pages/BusinessPlanGenerator.js

AI-powered business plan creation wizard

  • • Intro screen explaining the process
  • • BusinessPlanQuestionnaire integration
  • • AI generation progress visualization
  • • Completion screen with view plan CTA
Dependencies: BusinessPlanQuestionnaire component, ai_ceo_strategic_advisor agent

6.6 pages/BusinessPlanViewer.js

Professional display of generated business plans

  • • Executive summary display
  • • Market analysis section
  • • Financial projections with charts
  • • Risk analysis and SWOT
  • • PDF export
Note: Needs to be copied from current app

6.7 pages/IntelligenceReportViewer.js

Displays 10-section intelligence reports

  • • All 10 intelligence sections
  • • Market architecture visualization
  • • Competitive landscape display
  • • Strategic recommendations
Note: Needs to be copied from current app

6.8 pages/WarRoom.js

Strategic command center for monitoring initiatives

  • • Real-time initiative tracking
  • • Campaign monitoring
  • • Agent orchestration dashboard
Optional: Advanced feature - can be added later

7. Components Migration

The following components support the pages and must be migrated to components/ directory:

components/HeroSection.js

Landing page hero with "THE STRATEGIST" title

components/FeaturesShowcase.js

Feature cards for landing page

components/LiveDemoPreview.js

Interactive demo visualization

components/PricingSection.js

Pricing tiers display

components/MessageBubble.js

Chat message display for AI assistant

components/ProtectedRoute.js

Role-based access control wrapper

components/businessplan/BusinessPlanQuestionnaire.js

Business plan input questionnaire

Component Migration Steps:

  1. Access current Riper Minds app code editor
  2. Navigate to each component file listed above
  3. Copy the complete component code
  4. In the new futureimage.tech app, create the same file path
  5. Paste the code and save
  6. Verify all imports are correct

8. Testing & Verification

Critical Test Paths

✅ Test 1: Strategic Consultation Flow

  1. Visit CEOAgentLanding page
  2. Click "Begin Strategic Consultation"
  3. Complete Module 1 questions
  4. Test "Save Progress" button
  5. Navigate to Module 2
  6. Refresh page - verify draft is auto-loaded
  7. Test AI Assistant tab - ask a question
  8. Complete all 17 modules
  9. Submit and verify intelligence report generation starts

✅ Test 2: Business Plan Generation

  1. Navigate to BusinessPlanGenerator
  2. Click "Start Business Plan Creation"
  3. Complete questionnaire
  4. Verify AI generation process starts
  5. Wait for completion (2-3 minutes)
  6. View generated business plan
  7. Test PDF export

✅ Test 3: Intelligence Reports

  1. Complete a consultation and generate intelligence report
  2. Navigate to UserDashboard
  3. Verify report appears in list
  4. Click to view report (CEOStrategicReport page)
  5. Verify all 10 sections are populated
  6. Test PDF export functionality

9. DNS & Email Configuration

9.1 Namecheap DNS Configuration

⚠️ Important: Email Configuration

Since your email is with iPage and domain is migrating to Base44, you need to maintain email functionality:

  1. Keep MX Records pointing to iPage - Do NOT change these during migration
  2. Add SendGrid SPF/DKIM records for sending emails from your domain
  3. Test email receiving after DNS changes propagate (24-48 hours)

SendGrid Domain Authentication

  1. Log in to SendGrid account
  2. Navigate to Settings → Sender Authentication
  3. Click "Authenticate Your Domain"
  4. Enter: futureimage.tech
  5. SendGrid will provide DNS records (TXT records for SPF and DKIM)
  6. Add these TXT records to Namecheap Advanced DNS
  7. Verify in SendGrid dashboard (may take 24-48 hours)

Sample DNS Configuration at Namecheap:

TypeHostValuePurpose
A@[Base44 IP]Main domain
CNAMEwww[Base44 CNAME]WWW subdomain
MX@[iPage MX servers]Email receiving
TXT@[SendGrid SPF]Email sending auth
TXT[SendGrid subdomain][SendGrid DKIM]Email signing

10. Post-Migration Checklist

✅ Environment Verification

✅ Frontend Verification

✅ Functionality Testing

✅ DNS & Email Testing

Appendix A: Complete File List

Entities (6 files)

entities/ConsultationDraft.json

entities/IntelligenceReport.json

entities/BusinessPlan.json

entities/BusinessGoal.json

entities/StrategicInitiative.json

entities/ResearchSession.json

Pages (8 files)

pages/CEOAgentLanding.js

pages/StrategicGoalSetter.js

pages/UserDashboard.js

pages/CEOStrategicReport.js

pages/BusinessPlanGenerator.js

pages/BusinessPlanViewer.js

pages/IntelligenceReportViewer.js

pages/WarRoom.js (optional)

Components (7+ files)

components/HeroSection.js

components/FeaturesShowcase.js

components/LiveDemoPreview.js

components/PricingSection.js

components/MessageBubble.js

components/ProtectedRoute.js

components/businessplan/BusinessPlanQuestionnaire.js

Backend Functions (5 files)

functions/invokeMultiLLMResearch.js

functions/generateConsolidatedStrategicReport.js

functions/generateBusinessPlanPdf.js

functions/generatePDFMonkeyReport.js

functions/executeMarketingCampaign.js

AI Agents (2 files)

agents/ai_ceo_strategic_advisor.json

agents/consultation_assistant.json

Appendix B: Quick Reference

Key URLs

New App: futureimage.tech

Base44: base44.com

Namecheap: namecheap.com

SendGrid: sendgrid.com

Support Contacts

Base44: support@base44.com

SendGrid: support.sendgrid.com

Namecheap: support.namecheap.com

Migration Complete!

Once all checklists are complete, The Strategist will be live on futureimage.tech

Document Version 1.0 | Generated 10/3/2026