Skip to content

Quick Start

This guide assumes you’ve already installed the CLI and set up Firebase. If not, do those first.

Point the CLI at your Firebase project using the two JSON files from the Firebase setup:

Terminal window
code-insights init \
--from-json ~/Downloads/serviceAccountKey.json \
--web-config ~/Downloads/firebase-web-config.js

The CLI reads both files and configures everything automatically. No manual copy-pasting needed.

Terminal window
code-insights sync

This parses all Claude Code JSONL files in ~/.claude/projects/ and uploads them to your Firestore. The first sync may take a moment depending on how many sessions you have.

Terminal window
code-insights connect

This generates a URL to code-insights.app with your Firebase config encoded in the link. Open it in your browser, sign in with Google or GitHub, and you’ll see your synced sessions.

Terminal window
code-insights install-hook

This installs a Claude Code hook that automatically runs code-insights sync -q whenever a session ends. Your dashboard stays up to date without manual syncs.