Neo4j Database Setup
Multiforum uses Neo4j as its database. You can either use the managed cloud service (AuraDB) or self-host Neo4j.
Option A: Neo4j AuraDB (Recommended for Production)
AuraDB is Neo4j's fully managed cloud service. It handles backups, scaling, and maintenance automatically.
- Create an account at Neo4j AuraDB
- Create a new database instance
- Select a region close to your deployment
- Choose an appropriate size (Free tier available for testing)
- Save the connection credentials:
- Connection URI (e.g.,
neo4j+s://xxxxxxxx.databases.neo4j.io) - Username (typically
neo4j) - Password (generated during creation)
- Connection URI (e.g.,
Option B: Self-Hosted Neo4j
For more control or to reduce costs, you can run Neo4j yourself.
Using Docker
docker run -d \
--name neo4j \
-p 7474:7474 -p 7687:7687 \
-e NEO4J_AUTH=neo4j/your-secure-password \
-v neo4j_data:/data \
neo4j:5
Direct Installation
- Download Neo4j from neo4j.com/download
- Install and start the Neo4j service
- Access the Neo4j Browser at
http://localhost:7474 - Set a password for the
neo4juser on first login - Note your connection URI (typically
bolt://localhost:7687)
Required Environment Variables
You'll need these values when configuring the backend:
NEO4J_URI=bolt://your-neo4j-host:7687 # or neo4j+s:// for AuraDB
NEO4J_USER=neo4j
NEO4J_PASSWORD=your-password
Next Steps
Continue setting up the other prerequisites: