Golden path
Connect your first agent
This page gets a real Node or Python agent reporting live actions to your DashClaw deployment.
Your agent only needs DASHCLAW_BASE_URL and DASHCLAW_API_KEY. It never needs DATABASE_URL.
Choose your SDK
Use the Node path below. This page keeps the first-action flow short and only switches the parts that differ by language.
Selected SDK
Node
Install command:
Node install
npm install dashclaw
What the agent needs
Set environment variables
Set the minimum connection values in the agent runtime. The agent only talks to the DashClaw HTTP API.
Node environment
DASHCLAW_API_KEY=<your-workspace-api-key> DASHCLAW_BASE_URL=https://your-dashclaw-instance.example.com
Do not use the marketing site URL. DASHCLAW_BASE_URL must point to your deployed DashClaw app.
Copy the minimal starter snippet
This is the smallest real example that creates a live action in DashClaw.
Node starter
// 1. node --env-file=.env demo.js
import { DashClaw } from 'dashclaw'
const claw = new DashClaw({
apiKey: process.env.DASHCLAW_API_KEY,
baseUrl: process.env.DASHCLAW_BASE_URL,
agentId: 'my-first-agent',
})
await claw.guard({
actionType: "deploy",
riskScore: 85
})Optional: enable verified agents
Basic mode works with an API key only. Verified mode adds signed actions and pairing, but it is not required for your first successful connection.
Node pairing
const privateJwk = JSON.parse(process.env.AGENT_PRIVATE_KEY_JWK);
const { pairing, pairing_url } = await claw.createPairingFromPrivateJwk(privateJwk, {
agentName: 'My Agent',
});
console.log('Approve pairing at:', pairing_url);
await claw.waitForPairing(pairing.id);Validate the connection
This confirms your instance can accept real authenticated SDK traffic and can attach proof back to /setup.
Node validator
node ./dashclaw-platform-intelligence/scripts/validate-integration.mjs \ --base-url https://your-dashclaw-instance.example.com \ --api-key <api-key> \ --full \ --capture-setup-proof
This command assumes you downloaded and extracted dashclaw-platform-intelligence.zip so the validator lives in ./dashclaw-platform-intelligence/scripts/. If you installed it elsewhere, adjust the path.
Successful validation can feed proof back into /setup so the verification surface shows that a live SDK integration worked.
What success looks like
After the snippet and validator run cleanly, DashClaw should start showing live evidence of the connection.
Common mistakes
Next steps
Framework guides
Connect your framework
Step-by-step guides for popular agent frameworks. Each takes under 20 minutes.
Claude Code
Govern Bash, Edit, Write, and MultiEdit tool calls via PreToolUse hooks. Zero SDK code required.
OpenAI Agents SDK
Add guard-record-outcome governance to your OpenAI agent tools with the Node.js SDK.
LangGraph
Add a governance node to your LangGraph StateGraph with the Python SDK. Includes runnable example.
CrewAI
Govern CrewAI tool calls using the @tool decorator pattern with the Python SDK. Includes runnable example.