Documentation Index
Fetch the complete documentation index at: https://mintlify.com/metabase/metabase/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
This quickstart will get you from zero to running Metabase and asking your first question in about 5 minutes.This guide uses Docker for the fastest setup. If you prefer a different installation method, see the installation guide.
Prerequisites
Before you begin, make sure you have:- Docker installed and running on your machine
- A web browser
- (Optional) A database you want to connect to
Don’t have a database handy? No problem! Metabase comes with a sample database you can use to explore its features.
Step 1: Start Metabase
Open your terminal and run:Wait for initialization
Metabase takes about 30-60 seconds to start up. To watch the progress:Wait until you see
Metabase Initialization COMPLETE in the logs.Step 2: Create your admin account
The first account you create becomes the admin account. This account can:- Add and manage users
- Connect to databases
- Configure settings
- Create and organize content
- First name and Last name
- Email - Used for login and notifications
- Password - Must be at least 6 characters
Step 3: Set your usage preference
Tell Metabase how you plan to use it:- Self-service analytics for my own company
- Embedding analytics into my application
- A bit of both
- Not sure yet
Your choice helps Metabase customize your experience, but you can use any feature regardless of what you select here.
Step 4: Connect a database
You have two options:- Use the sample database
- Connect your database
Click I’ll add my data later to start with Metabase’s sample database.The sample database contains:
- Customer data
- Product information
- Order history
- Review data
Step 5: Configure usage data
Metabase asks if you’d like to share anonymous usage data:- Metabase never collects anything about your data or question results
- All collection is completely anonymous
- You can turn this off anytime in admin settings
Step 6: Ask your first question
Now you’re ready to explore your data!Choose your data
Select either:
- The Sample Database (if you skipped database setup)
- Your connected database
Build your query
Use the visual query builder to:
- Filter your data (e.g., “Orders where Total > 100”)
- Summarize with metrics (e.g., “Count of orders”)
- Group by dimensions (e.g., “by Created At: Month”)
- Sort your results
Visualize your results
Click Visualize to see your data.Try different visualization types:
- Line charts for trends over time
- Bar charts for comparisons
- Tables for detailed data
- Numbers for single metrics
Click the Visualization button to switch between chart types and customize colors, labels, and formatting.
Step 7: Create your first dashboard
Dashboards combine multiple questions into a single view:Add questions
Click Add a question and select the question you just created.Resize and position it however you like.
Add more questions
Create and add more questions to build out your dashboard:
- Total revenue
- Recent orders
- Products by category
- Customer trends
Add filters
Click Add a filter to let viewers filter the dashboard by:
- Date ranges
- Categories
- Locations
- Custom values
Writing SQL queries
If you prefer SQL, you can write native queries:What’s next?
Learn about models
Create reusable models that prepare your data for analysis
Set up email alerts
Get notified when your metrics cross a threshold
Schedule reports
Deliver dashboards to Slack or email automatically
Invite your team
Add team members and set up permissions
Troubleshooting
Metabase won't start
Metabase won't start
Check the logs:Common issues:
- Port 3000 already in use - Use a different port:
docker run -d -p 8080:3000 --name metabase metabase/metabase - Out of memory - Allocate more memory to Docker
Can't connect to database
Can't connect to database
Verify:
- Database is running and accessible
- Hostname and port are correct
- Username and password are correct
- Firewall rules allow the connection
- Docker container can reach your database (use
host.docker.internalfor localhost on Mac/Windows)
Questions are slow
Questions are slow
For large databases:
- Add indexes to frequently queried columns
- Use models to pre-aggregate data
- Enable caching in Admin → Settings → Caching
- Consider syncing only specific schemas
For more help, see the troubleshooting guide or ask on the community forum.