What is AskYourDatabase?
AskYourDatabase is an AI database chatbot and SQL assistant. Connect a supported database, ask questions in natural language, and use generated SQL, query results, and charts to explore your data. Desktop serves analysis in the desktop app; Website Chatbot brings database chat into your website.
Read the getting started guide
Do I need ChatGPT or SQL skills to use it?
The Desktop app and Website Chatbot provide their own chat interfaces; these workflows do not require a ChatGPT subscription. You can ask questions without writing SQL, but someone needs to configure database access and verify business definitions. AI-generated queries and answers can be wrong, so check important results against a trusted report.
See a query example and validation steps
Which databases can I connect?
Supported databases include PostgreSQL, MySQL, Microsoft SQL Server, BigQuery, Snowflake, Oracle, MongoDB, and ClickHouse. Connection requirements and query syntax differ by engine. Check the connection guide and test your actual database configuration before choosing a plan.
Check connection requirements
Should I choose Desktop or Website Chatbot?
Choose Desktop for analysis from your Windows or macOS computer. Choose Website Chatbot when users need a chat interface inside your website or product. They have separate plans. For an embedded chatbot, configure authentication and data access, then test isolation between users before launch.
Compare Desktop and Website Chatbot plans
Where do my credentials, questions, and results go?
Desktop connects to your database locally and keeps database credentials on your computer. Questions and necessary response data can be sent through the AI gateway to a model provider. The hosted Website Chatbot stores encrypted database credentials and conversation records. Local query execution is not a promise of offline AI or zero data transfer; review the data flow for your chosen deployment.
Review product data flows
How should I control AI access to a production database?
For reporting, use database-enforced read-only permissions and expose only approved tables or views. Restrict sensitive fields, test user-level access for embedded chat, and set database-side query limits appropriate to your workload. Treat prompt instructions and query checks as additional controls, not a replacement for database permissions.
Plan chatbot access control
Can it understand a large or unfamiliar database schema?
Schema descriptions, business terminology, and verified question-and-SQL examples provide context for unfamiliar tables. Start with a focused reporting area and a set of questions with known answers, then expand after checking joins, filters, and totals. Table count alone does not establish accuracy, and there is no universal accuracy guarantee.
Add training context
Can AskYourDatabase run on-premise?
Enterprise private deployment is available. Self-hosting the application and self-hosting the language model are different scopes: an application inside your network may still call an external model API. Confirm the model endpoint, outbound traffic, storage, infrastructure, and support requirements before selecting a deployment.
Discuss your deployment requirements