Documentation
Everything you need to master SQL2.AI for database development.
Quick Start
Get up and running in under 5 minutes.
Install SQL2.AI
Install the CLI tool globally using npm or your preferred package manager.
Configure Your Connection
Set up your database connection using the interactive configuration wizard.
Run Your First Analysis
Analyze your database schema to discover issues and optimization opportunities.
Browse Documentation
Find guides, references, and tutorials for every part of SQL2.AI.
Getting Started
Installation, configuration, and your first analysis.
CLI Reference
Complete command-line interface documentation.
MCP Integration
Using SQL2.AI with Claude and other AI assistants.
SDK & API
Programmatic access for custom integrations.
Features
Deep dives into each SQL2.AI capability.
Tutorials
Step-by-step guides for common workflows.
Database-Specific Guides
Detailed documentation for each supported database platform.
PostgreSQL
Version 9.6 and above
- Analyze PostgreSQL-specific features (CTEs, window functions)
- Optimize EXPLAIN ANALYZE output
- Generate native PL/pgSQL procedures
- Index recommendations for JSONB columns
SQL Server
Version 2016 and above
- Parse execution plans with missing index hints
- Optimize T-SQL stored procedures
- Analyze columnstore index candidates
- Support for temporal tables and CDC
Need Help?
Our community and support team are here to help you succeed.