{% extends "base.html" %} {% block title %}Setup Wizard - MySQL to Sheets Sync{% endblock %} {% block nav %} {# Use minimal nav for setup wizard #} {% from "macros/nav.html" import minimal_nav %} {{ minimal_nav() }} {% endblock %} {% block page_title %}Setup Wizard{% endblock %} {% block page_subtitle %} v{{ version }} {% endblock %} {% block head %} {% endblock %} {% block content %}
1
Database
2
Google Sheets
3
First Query
4
First Sync

Step 1: Database Connection

Enter your database credentials. We'll test the connection before proceeding.

Try with demo data

No database needed - use sample data to explore the sync features

Or connect your database
?
Supports mysql://, postgres://, sqlite://, mssql://
?
🤔 Not sure which database you have?

Here are some clues to help identify your database:

🐬
MySQL - Most common. Used by WordPress, many web apps.
mysql:// in connection strings
🐘
PostgreSQL - Advanced features, used by Heroku, Railway.
postgres:// or postgresql://
📁
SQLite - Single file database, often .db or .sqlite extension.
No server needed - just a file path
🪟
SQL Server - Microsoft database, enterprise apps.
mssql:// or Server=...

💡 Still unsure? Ask your IT team or check your application's config file for database connection details.

?
?
?

Step 2: Google Sheets Access

Configure access to Google Sheets using a Service Account.

?
📁

Click to upload or drag and drop
service_account.json

📖 Step-by-step: How to get a Service Account JSON
  1. Go to Google Cloud Console
    Open Google Cloud Console →
  2. Create a project (or select existing)
    Click the project dropdown at the top → "New Project"
  3. Enable Google Sheets API
    Direct link to enable Sheets API →
  4. Create Service Account
    Go to Service Accounts →
    Name it anything (e.g., "sheets-sync") → Click "Create and Continue" → Skip optional steps → "Done"
  5. Create JSON Key
    Click the service account → "Keys" tab → "Add Key" → "Create new key" → Choose "JSON" → Download
  6. Upload the downloaded JSON file above ☝️
⏱️ First time? This takes about 5 minutes. You only need to do it once.
?
Find in your sheet URL: docs.google.com/spreadsheets/d/SHEET_ID/edit
?

Step 3: Your First Query

Select data from your database to sync to Google Sheets.

?

Step 4: Run Your First Sync

Review your configuration and run your first sync.

Configuration Summary

Database -
Sheet -
Worksheet -
Query Preview -
{% endblock %} {% block scripts %} {% endblock %}