Quickstart
Connect any SaaS to PAD and send your first event in under 5 minutes.
0. Verify your sending domain
Before you send anything, point PAD at a domain you own. This is what keeps your email out of spam — PAD warms the domain over 14 days, enforces DMARC, and auto-throttles if your reputation ever slips. Go to Dashboard → Domains, paste your domain, and copy the DNS records into your registrar. Verification takes a few minutes; warmup starts automatically. (You can skip this to test from PAD's shared domain, but production sending should always be from your own.)
1. Get an API key
Sign in to PAD, complete onboarding (org + workspace), and copy the API key from Dashboard → API keys. The full plaintext is shown once at creation — store it safely.
2. Install the SDK
pnpm add @pad-ai/sdk
# or: npm install @pad-ai/sdk3. Identify + track
import { PadAI } from '@pad-ai/sdk';
const pad = new PadAI({
apiKey: process.env.PAD_API_KEY!,
workspace: 'your-workspace-slug',
});
// Upsert a profile
await pad.identify({
externalId: 'u_123',
email: 'sarah@example.com',
traits: { plan: 'pro', industry: 'hvac' },
});
// Fire an event — triggers any matching campaign
await pad.track({
event: 'business.signed_up',
externalId: 'u_123',
properties: { business_name: 'Brisk Air' },
});4. Watch it land
The profile + event appear in your dashboard immediately. If a campaign is wired to that event type, it starts running in the background.
Deno / edge runtimes
The SDK is plain fetch. Works in Deno, Cloudflare Workers, Bun, and Supabase Edge Functions. For Supabase edge functions, a thin Deno-native client lives at supabase/functions/_shared/pad.ts.