Skip to content

Run the local demo

The local stack includes Alcarta, PostgreSQL, Redis, and a deliberately fake GreenMail account. It is the fastest way to see the complete flow without using a real mailbox credential.

From the application repository:

Terminal window
docker compose up -d --wait

Open http://localhost:8080.

  1. Sign up with any local-only email address and password.

  2. Find the verification link in the gateway log:

    Terminal window
    docker compose logs gateway | grep verify
  3. Open the link. Verification unlocks mailbox, agent, and grant creation.

  4. Complete the mock billing step. The local demo does not contact a payment provider.

Go to Mailboxes → Add a mailbox and enter:

Field Value
Display name demo
Address demo@local.test
Login name demo
Backend IMAP + SMTP
IMAP host / port / TLS greenmail / 3993 / implicit
SMTP host / port / TLS greenmail / 3465 / implicit
Authentication password

Save the mailbox, then store a password credential with secret demo-password. Alcarta encrypts it before writing it and never shows it again.

Select Test connection. A successful test discovers the provider folders and changes the mailbox state to active.

Create an agent, grant it the operator role on the demo mailbox, and mint a token. The token is shown once. Continue with Create an agent to connect through MCP or REST.

When you intentionally want to delete the demo database, keys, and mail data:

Terminal window
docker compose down -v

This is destructive and cannot be undone.