Documentation
Complete guide to integrating and using SQLChat AI in your applications.
Quick Start Guide
Get up and running with SQLChat AI in minutes
1. Create an Account
Sign up for a free SQLChat AI account to get started. You'll receive 1,000 free API calls per month.
2. Generate API Key
Navigate to the API Keys section and create your first API key. Choose appropriate permissions for your use case.
curl -X POST https://api.sqlchat.ai/v1/keys
-H "Authorization: Bearer YOUR_TOKEN"
-d '{"name": "My First Key", "permissions": ["read", "write"]}'
3. Connect Your Database
Upload a database file or connect to your existing database using our secure connection interface.
Upload File
SQLite, CSV, SQL dumps
Connect Live
MySQL, PostgreSQL, etc.
Cloud Databases
AWS RDS, Google Cloud SQL
4. Make Your First Query
Start asking questions about your data in natural language.
POST /v1/query
{
"database": "my_sales_db",
"query": "Show me the top 5 customers by revenue this year"
}