---
title: "Quickstart Guide - Documentation"
description: "Get up and running with AI for Database in under five minutes. Connect your first database, ask a question, and see results."
canonical: "https://www.aifordatabase.com/docs/quickstart/"
---

# Quickstart Guide

beginner 5 min read

## Welcome to AI for Database

AI for Database is an intelligent layer that sits on top of your existing databases and lets anyone on your team ask questions, build dashboards, and automate workflows -- all without writing SQL.

This quickstart walks you through the core setup in under five minutes.

### Step 1: Create Your Account

Head to [app.aifordatabase.com](https://app.aifordatabase.com/) and sign up with your email or SSO provider. You will land on the onboarding wizard automatically.

AI is managed for every account. Choose Pro ($10 per user/month) or Team ($30 per user/month), or add a top-up in Settings > Billing. Payments add non-expiring credits to your individual user balance; AI usage pauses when the balance runs out.

### Step 2: Connect a Database

Click **Add Connection** in the sidebar. Choose your database type -- PostgreSQL, MySQL, MongoDB, SQL Server, or Google Sheets are all supported.

Enter your connection credentials. AI for Database uses **read-only** access by default. We recommend creating a dedicated database user with `SELECT`-only privileges:

```sql
-- PostgreSQL example
CREATE USER aifordb_reader WITH PASSWORD 'your-secure-password';
GRANT CONNECT ON DATABASE your_db TO aifordb_reader;
GRANT USAGE ON SCHEMA public TO aifordb_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO aifordb_reader;
```

Click **Test Connection** to verify, then **Save**.

### Step 3: Ask Your First Question

Navigate to the **Ask** page. Type a plain-English question like:

*   "How many new users signed up last week?"
*   "What are the top 10 products by revenue this month?"
*   "Show me all orders that are overdue"

AI for Database translates your question into a SQL query, runs it against your live data, and returns the result as a table or chart.

### Step 4: Save and Share

Click **Save to Dashboard** to pin the result. You can share the dashboard with your team by inviting them via email or generating a shareable link.

### Next Steps

*   Read [Your First Query](https://www.aifordatabase.com/docs/first-query/) for tips on getting better answers
*   Learn about [Connecting Databases](https://www.aifordatabase.com/docs/postgresql/) for production setups
*   Explore [Dashboards](https://www.aifordatabase.com/docs/create-dashboard/) to build live reports

Source: https://www.aifordatabase.com/docs/quickstart/
