@conversokit/integrations
v0.1.2
Published
Real and mock integrations for ConversoKit: Stripe, HubSpot, Resend, Cloudflare Email, and Supabase persistent stores.
Downloads
238
Maintainers
Readme
@conversokit/integrations
Real and mock integrations for ConversoKit: Stripe, HubSpot, Resend, Cloudflare Email, and Supabase persistent stores.
Part of ConversoKit — a boilerplate for building ChatGPT Apps (Apps SDK / MCP) in <30 minutes.
Install
pnpm add @conversokit/integrations
# or
npm install @conversokit/integrationsUsage
import {
StripeProvider,
MockPaymentProvider,
HubspotProvider,
MockCrmProvider,
SupabaseCartStore,
} from '@conversokit/integrations';
const payments = StripeProvider.fromEnv() ?? new MockPaymentProvider();
const crm = HubspotProvider.fromEnv() ?? new MockCrmProvider();
const cart = SupabaseCartStore.fromEnv() ?? undefined;Real providers return null from fromEnv() when their env vars are missing, so callers can fall back to mocks. Stripe checkout sessions are signed with idempotency keys and verified webhooks; HubSpot CRM v3 does create-or-PATCH on email conflict.
Documentation
Full docs and runnable examples live in the main repo.
License
Apache-2.0 © Martín Aberastegue
