Skip to main content
This guide walks you through installing IronClaw, running the setup wizard, and having your first conversation.

Before You Begin

Make sure you have:

IronClaw Installed

Follow the Installation Guide to install IronClaw on your system.

Database Ready

PostgreSQL 15+ with pgvector, or libSQL (embedded, no setup needed).

Setup Wizard

IronClaw includes an interactive setup wizard that guides you through configuration.
1

Run the onboarding wizard

The wizard saves progress after each step. If you exit early, re-running ironclaw onboard will resume where you left off.
2

Configure database

Choose your database backend:
Recommended for local development — zero dependencies, no server required.The wizard will prompt:
Press Enter to use the default, or specify a custom path.
  • No (default) — Local file only
  • Yes — Enter your Turso URL and auth token for cloud sync
3

Configure security

IronClaw encrypts secrets (API keys, tokens) with a master key.The wizard will prompt:
4

Select inference provider

Choose your LLM provider:
Select 1 for NEAR AI.The wizard will open your browser to authenticate via GitHub or Google OAuth. After authentication, your session token is saved automatically.
NEAR AI provides access to multiple models (GLM, Claude, GPT) with a single account.
5

Select model

The wizard will fetch available models from your provider and display a list:
Select your preferred model, or choose Custom model ID to enter a specific model identifier.
You can change the model later by re-running ironclaw onboard or editing ~/.ironclaw/.env.
6

Configure embeddings (optional)

Embeddings enable semantic search across your workspace memory.
  • Yes (default) — The wizard will configure embeddings using your LLM provider or OpenAI
  • No — Workspace will use keyword search only
Semantic search lets you find notes and context by meaning, not just keywords. Highly recommended.
7

Configure channels (optional)

IronClaw supports multiple communication channels:
Exposes a REST API for triggering tasks via HTTP.The wizard will prompt for:
  • Host (default: 0.0.0.0)
  • Port (default: 8080)
  • Webhook secret (for request authentication)
Interact with IronClaw via Telegram DMs.The wizard will prompt for:After setup, send /start to your bot in Telegram to pair.
Interact with IronClaw via Signal.Requires a running signal-cli daemon. See Signal Setup for details.
Expose your local IronClaw instance to the internet via Cloudflare Tunnel (ngrok alternative).Requires cloudflared to be installed.
You can skip this step and configure channels later with ironclaw onboard --channels-only.
8

Install extensions (optional)

The wizard can install pre-built WASM tools from the registry:
Select Yes to browse and install tools like GitHub, Gmail, Google Calendar, etc.
You can install extensions later via the CLI or web gateway.
9

Configure Docker sandbox (optional)

The Docker sandbox runs code in isolated containers.
  • Yes — Requires Docker to be installed and running
  • No (default) — Code execution disabled
10

Configure heartbeat (optional)

The heartbeat system runs background tasks on a schedule (e.g., monitoring, maintenance).
  • Yes — The wizard will prompt for interval (default: 30 minutes)
  • No (default) — No background tasks

Your First Conversation

Start the interactive REPL:
You’ll see the IronClaw prompt:

Try these commands:

1

Ask a question

IronClaw will explain its capabilities, including tool use, memory management, and channel support.
2

Use a tool

IronClaw will use the workspace_write tool to create the file.
3

Search your workspace

If you enabled embeddings, IronClaw will perform a semantic search across your notes.
4

Exit the REPL

Or press Ctrl+D.

Running as a Service

To keep IronClaw running in the background:
Create a docker-compose.yml:
docker-compose.yml
Start the services:

Next Steps

Configuration

Learn how to configure LLM providers, channels, and secrets

Tools & Extensions

Explore built-in tools and install extensions

Channels

Set up Telegram, HTTP webhooks, and web gateway

CLI Reference

Explore all available commands

Troubleshooting

Problem: Failed to connect to databaseSolution:
  • Ensure PostgreSQL is running: brew services list (macOS) or systemctl status postgresql (Linux)
  • Verify pgvector is installed: psql -c "SELECT * FROM pg_available_extensions WHERE name = 'vector';" ironclaw
  • For libSQL, ensure parent directory exists: mkdir -p ~/.ironclaw
Problem: Browser doesn’t open or authentication times outSolution:
  • Check your internet connection
  • Manually visit the auth URL printed by the wizard
  • Try API key mode instead: Set NEARAI_API_KEY in your environment
Problem: No models found. Pull one first: ollama pull llama3Solution:
Problem: ironclaw command hangs or crashesSolution:
  • Check logs: RUST_LOG=ironclaw=debug ironclaw
  • Verify database connection: psql $DATABASE_URL
  • Re-run setup: ironclaw onboard