Skip to main content
This guide walks through running the Attexra stack locally and completing the end-to-end flow: creating an agent, issuing a signed grant, verifying an action, and reconciling sandbox evidence.

Prerequisites

  • Go 1.24+
  • Node.js 22+
  • PostgreSQL 17+ (infra/docker/compose.yml or a managed Postgres DATABASE_URL)
1

Start PostgreSQL and the Go API

On startup, the API applies SQL migrations from apps/api/migrations/ and listens on :8080 with /healthz, /readyz, /docs, /openapi.yaml, and /metrics.
2

Start the Developer Console and Landing Page

From the repository root:
Open http://localhost:3000 and create an account or sign in to create agents, issue grants, and mint scoped X-API-Key credentials.
3

Bootstrap an API key and run the payment sandbox

Pass the returned apiKey to the sandbox example:

Minimal TypeScript SDK call