Documentation
Learn AI for Database
Everything you need to connect your database, ask questions in plain English, build dashboards, and automate workflows.
Get started quickly
Getting Started
Set up your account, connect a database, and run your first query.
Quickstart Guide
beginnerGet up and running with AI for Database in under five minutes. Connect your first database, ask a question, and see results.
Your First Query
beginnerLearn how to write effective natural-language questions and understand how AI for Database translates them into SQL.
Connect Your Database
beginnerA general overview of how database connections work, including security, permissions, and supported databases.
Database Connections
Detailed guides for every supported database and troubleshooting.
PostgreSQL
intermediateStep-by-step guide to connecting PostgreSQL, including user creation, permissions, SSL configuration, and SSH tunnels.
MySQL
intermediateConnect MySQL or MariaDB to AI for Database with read-only access, SSL, and SSH tunnel support.
MongoDB
intermediateConnect MongoDB and MongoDB Atlas. Learn how AI for Database translates natural language into aggregation pipelines.
SQL Server
intermediateConnect Microsoft SQL Server, Azure SQL, or Amazon RDS SQL Server with Windows or SQL authentication.
Google Sheets
beginnerUse Google Sheets as a data source. AI for Database reads your spreadsheets and lets you query them with natural language.
Connection Troubleshooting
intermediateDiagnose and fix common connection issues including timeouts, SSL errors, permission denied, and firewall blocks.
Querying
Master natural language queries and get the most out of your data.
Natural Language Queries
beginnerDeep dive into how AI for Database converts plain English into SQL, including tips, examples, and advanced techniques.
Query History
beginnerAccess, search, and manage your past queries. Re-run, favorite, or share any previous question.
Query Results
beginnerUnderstand result formats including tables, charts, and single values. Export data as CSV, JSON, or to dashboards.
Advanced Queries
advancedPower-user techniques: parameterized queries, variables, cross-database joins, and scheduled queries.
Dashboards
Build, customize, and share live dashboards with your team.
Create a Dashboard
beginnerBuild your first live dashboard by combining multiple queries into a visual overview. Customize layout and refresh schedules.
Widgets
intermediateAll widget types: metric cards, tables, bar charts, line charts, pie charts, and text blocks. Configuration and styling options.
Sharing Dashboards
beginnerShare dashboards via links, embeds, email digests, or Slack. Manage viewer permissions and access controls.
Workflows
Automate tasks with triggers, conditions, and actions.
Create a Workflow
intermediateBuild automated workflows that run queries, check conditions, and take actions based on your database data.
Triggers
intermediateAll trigger types: scheduled (cron), webhook, database change, and manual triggers. Configuration and examples.
Actions
intermediateAvailable workflow actions: email, Slack, webhooks, and more. Templating with query results and configuration.
Workflow Templates
beginnerPre-built workflow templates for common automation patterns: alerts, reports, data syncs, and notifications.
Alerts
Monitor your data and get notified when conditions are met.
Setup Alerts
beginnerCreate data-driven alerts that notify you when database conditions are met. Step-by-step setup guide.
Alert Channels
intermediateConfigure notification channels: email, Slack, webhooks, PagerDuty, and more. Test and manage channel settings.
Alert Conditions
intermediateAll condition types: thresholds, change detection, anomaly detection, and compound conditions. Examples for each.
Security
Encryption, permissions, audit logs, and self-hosting.
Security Overview
intermediateHow AI for Database protects your data: encryption, read-only access, network security, and compliance certifications.
Permissions
intermediateRole-based access control: admin, editor, and viewer roles. Custom roles and fine-grained permissions on Enterprise.
Audit Logs
intermediateTrack who did what and when. Search audit logs, export for compliance, and set up log forwarding.
Self-Hosting
advancedRun AI for Database in your own infrastructure. Docker, Kubernetes, and bare-metal deployment guides.
API
Integrate AI for Database into your own applications.
API Overview
intermediateIntroduction to the AI for Database REST API. Base URLs, versioning, rate limits, and response formats.
Authentication
intermediateAPI key management, OAuth flows, token scopes, and security best practices for API authentication.
API Endpoints
advancedComplete API reference: queries, dashboards, workflows, connections, and team management endpoints.
Ready to get started?
Connect your database and start asking questions in minutes.