Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Mercaline2024/Ecomdrop-ia-connector-2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This quickstart guide will get your Ecomdrop IA Connector app up and running in under 10 minutes. For more detailed configuration options, see the comprehensive Environment Setup and Database Setup guides.Before starting, ensure you have completed the Installation prerequisites: Node.js 20.19+, Shopify CLI, MySQL 8.0, and a Shopify Partner account.
Quick Setup
Configure Environment Variables
Create a Add the following configuration to
.env file in the project root:.env:Don’t worry about the Shopify API credentials yet - we’ll update them after running the dev server.
Initialize Database
Generate Prisma Client and run database migrations:This command will:
- Generate the Prisma Client based on your schema
- Apply all database migrations to create tables
- Set up the following tables:
Session- Shopify app sessionsShopConfiguration- Store-specific settingsProductAssociation- Product mappingsAIConfiguration- AI assistant configuration
Start Development Server
Start the development server with Shopify CLI:The Shopify CLI will:
- Detect that you don’t have an app configured
- Prompt you to create a new app or link to an existing one
- Automatically update your
.envfile with API credentials - Start the development server with a tunnel URL
The CLI will automatically configure
SHOPIFY_API_KEY, SHOPIFY_API_SECRET, and SHOPIFY_APP_URL in your .env file.Verify Installation
Check App Installation
Verify the app is installed in your Shopify admin:
- Go to your development store admin:
https://admin.shopify.com/store/your-store - Navigate to Apps in the left sidebar
- You should see Ecomdrop IA Connector listed
- Click on it to open the embedded app
Verify Database Connection
Check that the app successfully connected to MySQL:
- Prisma Studio will open in your browser at
http://localhost:5555 - Click on the Session table
- You should see at least one session record from your app installation
What’s Next?
Now that your app is running, explore these next steps:Configure Ecomdrop Integration
Set up your Ecomdrop API key and flow configurations
Configure Dropi Integration
Connect your Dropi store and configure product imports
AI Configuration
Set up the AI assistant with company information and FAQs
Development Guide
Learn about the development workflow and codebase structure
Development Workflow
Hot Reload
The development server supports hot reload for instant feedback:- Frontend changes: React components update automatically
- Backend changes: Server routes restart automatically
- Database changes: Update schema and run
npx prisma migrate dev
Making Changes
- Frontend
- Backend
- Database
- Styles
Edit React components in Changes will reflect immediately in your browser.
app/components/ or app/routes/:Common Development Commands
Troubleshooting
Port 3000 Already in Use
If you see an error that port 3000 is already in use:Database Connection Failed
If the app can’t connect to MySQL:Shopify CLI Errors
If Shopify CLI commands fail:App Won’t Load in Shopify Admin
If the app shows a blank page or error:- Check browser console for errors
- Verify the tunnel URL is accessible
- Check that your app has the correct permissions
- Ensure
SHOPIFY_APP_URLmatches the tunnel URL
Database Tables Missing
If you get “table does not exist” errors:Support
Need help? Here are some resources:- Documentation: Browse the full documentation for detailed guides
- Shopify Dev Docs: shopify.dev/docs/apps
- Prisma Docs: prisma.io/docs
- React Router Docs: reactrouter.com