Skip to main content

Quickstart

Get OpenFinance up and running on your local machine in under 5 minutes.

Prerequisites

  • Node.js 20+ (download)
  • Yarn 4.0.0 (included via corepack)
  • OpenRouter API key for AI features (get one)

Setup

1

Clone the repository

2

Enable Yarn via Corepack

3

Install dependencies

4

Set up environment variables

Create a .env file in the project root:
.env
Generate a secret for BETTER_AUTH_SECRET:
5

Initialize the database

This creates the SQLite database at prisma/data/openfinance.db and sets up all tables.
6

Start the dev server

Open http://localhost:3000 in your browser.

First Steps

Once the app is running:
  1. Create an account — sign up with your email and password on the login page
  2. Configure settings — go to Settings to set your fiscal year, timezone, and AI model
  3. Upload a bank statement — navigate to Statements and upload a PDF bank statement
  4. Wait for processing — the AI will extract transactions and verify balances automatically
  5. Explore your data — view transactions, check the dashboard, or chat with the AI advisor

Available Commands

Next Steps

Bank Statements

Learn how to upload and process bank statement PDFs.

Self-Hosting

Deploy to your own server with Docker.