Ask your database anything.

Connect a MySQL database, choose an AI model, and ask questions in plain English. No SQL needed.

  1. 1Connect your database
  2. 2Choose your AI
  3. 3Ask questions

About 10 minutes. You’ll need Quill installed. Download it here.

1

Connect your database

Quill works with nearly 90 kinds of databases. This guide uses MySQL. The steps are the same for the others.

Choose MySQL

Click New Connection at the top of the window. Choose MySQL, then click Next.

The New Connection window with MySQL selected among database types

Enter your details

Give the connection a name you’ll recognize, like “Shop”. Then fill in the details for your database. Whoever looks after your database, such as your IT team or hosting provider, can give you these.

Host
The address of the database server. On your own computer it’s 127.0.0.1.
Port
Usually 3306 for MySQL.
User and password
Your database login.
Database
Which database to open, for example shop.
The MySQL connection form filled in with the name Shop, host 127.0.0.1, port 3306, user root and database shop

Test, then connect

Click Test. When you see Connection successful, click Save & Connect. Your database now appears in the list on the left.

The bottom of the connection window showing Connection successful next to the Test and Save & Connect buttons

Have a look around

Open your database and its Tables in the list on the left. Double-click a table to see its rows. Nothing you look at changes your data.

Quill showing the orders table of the shop database with its rows
2

Choose your AI

Quill works with the AI service you prefer. Pick one below, or ask your IT team which one your company uses.

Open AI settings

Click the gear in the top-right corner, then AI, then Add Config. Choose your AI service from the Provider list.

The Provider list in Quill's AI settings: Claude, OpenAI, Gemini, DeepSeek, Ollama and others

Claude

Best for accurate answers. Made by Anthropic.

  1. Get a key at console.anthropic.com.
  2. Set Provider to Claude and paste the key into API Key.
  3. Set Default Model to claude-sonnet-5-5.
AI settings filled in for Claude: name Claude, an API key, and the model claude-sonnet-5-5

Test, then apply

Click Test at the bottom. When you see Connection successful, click Apply. You can add more than one and switch between them later.

Connection successful next to the Test button, and the Apply button
3

Ask questions

Now the fun part. Ask the way you’d ask a colleague who knows the data.

Open the assistant

Select your database on the left, then click the robot icon at the top right.

At the bottom of the assistant, choose Agent, then Query Data. In this mode Quill looks up the real numbers instead of guessing.

The assistant's mode menu with Agent selected and the Query Data option

Ask in plain English

Type your question and press Enter. For example:

“Which products made the most money this year?”

Here’s what Quill did with that question:

  1. Found the right tables. It matched “products” and “money” to the products, orders and order items tables.
  2. Checked it was safe. The query only reads data, so it ran straight away.
  3. Answered with real numbers from your database.

The answer is from a small AI model running on a laptop. Larger models give richer answers.

The Quill assistant answering which products made the most money: 4K Monitor 27 inch at $56,917, Ergonomic Chair at $43,928, and more, after the steps search_schema and execute_query

Questions to try

Sales

  • How much did we sell each month this year?
  • What share of orders was refunded?
  • Which sales channel brings in the most revenue?

Customers

  • Who are our 10 best customers?
  • How many customers do we have in each country?
  • Which customers haven’t ordered in 90 days?

Products

  • Which products are almost out of stock?
  • What’s the average review score for each category?
  • Which products get the worst reviews?

Get better answers

Your data stays safe

If something doesn’t work

Test says it can’t connect
Check the host, port, user and password with whoever looks after the database. If the database is on another network, you may need a VPN or the SSH option in the connection window.
The assistant says AI isn’t configured
Add a config in Settings, then AI, and make sure you clicked Apply.
The AI says the key is invalid
Copy the key again, without spaces. Keys from your AI service are different from your database password.
The answer has SQL but no numbers
Switch the assistant to Agent, then Query Data, and ask again.

You’re ready.

Connect your own databases the same way, from PostgreSQL and SQL Server to Snowflake and MongoDB.

Download Quill