Install the Kit
This tutorial shows you how to install the Eventmodelers Build Kit - Java into your project directory.
Prerequisites
Section titled “Prerequisites”Before installing, ensure you have:
- Node.js 18+ installed (Download)
- JDK 17+ installed (Download)
- Claude Code or another Claude-compatible agent (Get Claude)
- Eventmodelers account with at least one board (Sign up)
Installation
Section titled “Installation”Option 1: Direct Git Install (Recommended)
Section titled “Option 1: Direct Git Install (Recommended)”Install directly from this repository:
npx github:Cratis/Eventmodelers-Build-Kit-Java installThis will:
- Copy the Cratis starter app (Java backend with Arc + Chronicle, an example slice, and the shared React frontend) into your project root
- Create a
.build-kit/directory with the agent loop and skills - Install Node.js dependencies for the loop
- Add
.build-kit/to your.gitignore - Create
.eventmodelers/config.jsonin your project root - Configure the MCP server in
.build-kit/.claude/settings.json
Option 2: Upstream CLI with Git Stack
Section titled “Option 2: Upstream CLI with Git Stack”Use the upstream Eventmodelers CLI to install this repository as a git stack:
npx @eventmodelers/cli init --stack cratis-java --git https://github.com/Cratis/Eventmodelers-Build-Kit-JavaThis achieves the same result but uses the upstream CLI’s stack management.
During Installation
Section titled “During Installation”The installer prompts for your Eventmodelers credentials:
🔑 Enter your Eventmodelers credentials (press Enter to skip any field):
Organization ID: Board ID: Token:Get these from app.eventmodelers.ai/account. You can skip any field and configure it later — see Connect a Board.
After Installation
Section titled “After Installation”Start the agent loop:
node .build-kit/ralph-claude.jsOr, using a local Ollama model (run ollama serve first):
OLLAMA_MODEL=qwen3:8b node .build-kit/ralph-ollama.jsVerify the installation:
npx github:Cratis/Eventmodelers-Build-Kit-Java statusYou should see:
.build-kit Status
Kit dir: ✅ installedSkills: ✅ installedConfig (root): ✅ presentConfig (kit): ✅ present
Connected to: https://api.eventmodelers.aiOrganization: <your-org-id>Board: <your-board-id>Build and run the starter app:
docker-compose up -d # Chronicle development kernel./gradlew build # backend./gradlew bootRun # run the backend (http://localhost:8080)npm install && npm run dev # frontend dev server (http://localhost:5173)Next Steps
Section titled “Next Steps”Now that the kit is installed:
- Connect your Eventmodelers board
- Mark a slice as
Plannedon your board - Run the kit to implement the slice
Troubleshooting
Section titled “Troubleshooting”Installation Fails
Section titled “Installation Fails”If installation fails:
- Check the Node.js version:
node --version(should be 18+) - Ensure you’re in a valid project directory
- Check network connectivity
- Try running with elevated permissions if needed
Config Not Found
Section titled “Config Not Found”If the kit can’t find your config:
- Verify
.eventmodelers/config.jsonexists in your project root - Check that the JSON is valid:
cat .eventmodelers/config.json | jq . - Ensure your credentials are correct: app.eventmodelers.ai/account
MCP Server Not Configured
Section titled “MCP Server Not Configured”If MCP server configuration fails:
- Check that
.build-kit/.claude/settings.jsonexists - Verify the
mcpServers.eventmodelersentry is present - Restart Claude Code after installation