Get up and running with Open Notebook in just a few minutes! This guide will get you from zero to your first AI-powered notebook quickly.
Before starting, ensure you have:
-
Docker Desktop installed and running
- Download for Windows/Mac
- Linux:
sudo apt install docker.io docker-compose
-
OpenAI API Key (recommended for beginners)
- Go to OpenAI Platform
- Create account → API Keys → Create new secret key
- Add $5+ credits to your account for API usage
Are you installing on:
- 🏠 The same computer you'll use to access Open Notebook? → Use Local Setup
- 🌐 A remote server (Raspberry Pi, NAS, cloud server, Proxmox)? → Use Remote Setup
Create a new folder called open-notebook and add these files:
docker-compose.yml:
services:
open_notebook:
image: lfnovo/open_notebook:v1-latest-single
ports:
- "8502:8502" # Web UI
- "5055:5055" # API (required!)
env_file:
- ./docker.env
pull_policy: always
volumes:
- ./notebook_data:/app/data
- ./surreal_single_data:/mydata
restart: alwaysdocker.env:
# Replace YOUR_OPENAI_API_KEY_HERE with your actual API key
OPENAI_API_KEY=YOUR_OPENAI_API_KEY_HERE
# Database connection (required for single-container)
SURREAL_URL="ws://localhost:8000/rpc"
SURREAL_USER="root"
SURREAL_PASSWORD="root"
SURREAL_NAMESPACE="open_notebook"
SURREAL_DATABASE="production"docker-compose.yml:
services:
open_notebook:
image: lfnovo/open_notebook:v1-latest-single
ports:
- "8502:8502" # Web UI
- "5055:5055" # API (required!)
env_file:
- ./docker.env
pull_policy: always
volumes:
- ./notebook_data:/app/data
- ./surreal_single_data:/mydata
restart: alwaysdocker.env:
# Replace YOUR_OPENAI_API_KEY_HERE with your actual API key
OPENAI_API_KEY=YOUR_OPENAI_API_KEY_HERE
# CRITICAL: Replace YOUR_SERVER_IP with your server's actual IP address
# Example: API_URL=http://192.168.1.100:5055
API_URL=http://YOUR_SERVER_IP:5055
# Database connection (required for single-container)
SURREAL_URL="ws://localhost:8000/rpc"
SURREAL_USER="root"
SURREAL_PASSWORD="root"
SURREAL_NAMESPACE="open_notebook"
SURREAL_DATABASE="production"
⚠️ Finding Your Server IP: On the server running Docker, use:
- Linux:
hostname -Iorip addr show- Windows:
ipconfig(look for IPv4 Address)- Mac:
ifconfig | grep inet
Open terminal/command prompt in your open-notebook folder and run:
docker compose up -dThat's it! Open Notebook is now running.
Access at:
- Local setup: http://localhost:8502
- Remote setup: http://YOUR_SERVER_IP:8502 (replace with your actual IP)
- Check Services: Visit http://localhost:8502 - you should see the Open Notebook interface
- API Health: Visit http://localhost:5055/docs - you should see the API documentation
- No Errors: Run
docker-compose logsto ensure no error messages
- Click Models in the sidebar
- Set these recommended models:
- Language Model:
gpt-5-mini - Embedding Model:
text-embedding-3-small - Text-to-Speech:
gpt-4o-mini-tts - Speech-to-Text:
whisper-1
- Language Model:
- Click Save
- Click "Create New Notebook"
- Name: "My Research"
- Description: "Getting started with Open Notebook"
- Click "Create"
- Click "Add Source"
- Choose "Link" and paste:
https://en.wikipedia.org/wiki/Artificial_intelligence - Click "Add Source"
- Wait for processing to complete
- Go to the Notes column
- Click "Create AI Note"
- Enter prompt: "Summarize the key concepts of artificial intelligence"
- Click "Generate Note"
- Watch as AI creates a comprehensive summary!
- Go to the Chat column
- Ask: "What are the main applications of AI mentioned in the source?"
- Get instant answers with citations from your content
Now that you have Open Notebook running:
- 📁 Content Support - Learn what file types you can add
- 🔍 Search - Master full-text and vector search
- 🎙️ Podcast Generation - Create multi-speaker podcasts from your research
- ⚙️ Transformations - Extract insights and summaries
- 🔧 Development Setup - Run from source code
- ☁️ Deployment - Deploy to cloud services
- 🤖 AI Models - Add more AI providers beyond OpenAI
- 💬 Discord Community - Get help and share ideas
- 📖 Full Documentation - Complete feature guide
- 🐛 Report Issues - Found a bug?
This is the #1 issue! The frontend can't reach the API.
Quick Fix Checklist:
-
Are you accessing from a different computer than where Docker runs?
- ✅ Yes → You MUST set
API_URLin yourdocker.env(see Remote Setup above) - ❌ No → Skip to step 2
- ✅ Yes → You MUST set
-
Is port 5055 exposed?
docker ps # Should show both: 0.0.0.0:8502->8502 AND 0.0.0.0:5055->5055- ❌ Missing 5055? Add it to your
docker-compose.ymlports section
- ❌ Missing 5055? Add it to your
-
Restart after changes:
docker compose down docker compose up -d
Still not working? See the complete troubleshooting guide.
- Double-check your API key in
docker.env - Ensure you have credits in your OpenAI account
- Verify no extra spaces around the key
- Key should start with
sk-
docker compose down
docker compose up -ddocker compose down -v
docker compose up -d- Ensure Docker Desktop is running
- Check firewall isn't blocking ports 8502 and 5055
- Try:
docker compose restart
To stop:
docker-compose downTo start again:
docker-compose up -dCongratulations! You now have Open Notebook running and ready for your research workflow. Start by adding your own documents and see how AI can enhance your note-taking and research process.
Next recommended read: Basic Workflow Guide to learn effective research patterns.