Connect Next.js to Bento
Connect Next.js to Bento
Ready to dive deeper?
Explore our comprehensive Nextjs Sdk integration documentation and examples to get the most out of your automation.
Everything you need to ship fast
API Routes & Middleware
easy event posting
Server Actions
trigger Flows from mutations
Edge/Serverless
lightweight client
TypeScript
first‑class support
Your Next.js app is already tracking users. Now turn that data into revenue.
Every signup, purchase, and interaction can trigger personalized campaigns that keep customers engaged and drive repeat business. The Bento Next.js SDK makes it happen with type-safe, reliable integration.
to first automation
visual automation builder
higher customer lifetime value
Built for Next.js developers who demand reliability
NPM Package Ready
Install via npm/yarn, works with App Router and API routes out of the box.
Real-time Event Capture
Stream events directly into Bento with server actions and middleware patterns.
TypeScript First
Built with full TypeScript support and comprehensive type definitions.
Edge & Serverless
Works with Vercel Edge functions and serverless deployments with minimal footprint.
Everything you need for Next.js email marketing and automation
API Routes & Middleware
easy event posting
Server Actions
trigger Flows from mutations
Edge/Serverless
lightweight client
TypeScript
first‑class support
npm install @bentonow/nextjs-sdk
Get up and running with our official Next.js SDK in seconds. Full TypeScript support and comprehensive documentation included.
Track custom events
Send custom events like user_signed_up, order_completed, page_viewed with TypeScript interfaces and server actions.
Bento SDK integrates with your Next.js stack
Works beautifully with the frameworks and platforms you're already using in your Next.js applications.
Perfect for Vercel deployments
Seamless React integration
Edge Runtime & Functions
TypeScript support included
Get started in 3 simple steps
Install
npm install @bentonow/nextjs-sdk
Add the official SDK or connect the integration.
Configure
NEXT_PUBLIC_BENTO_SITE_UUID=... BENTO_API_KEY=...
Add your keys and basic settings.
Send your first event
await bento.track({ event: 'user_signed_up', email: 'user@example.com' })
Trigger a Flow and see it live.
Real ways teams use this
Onboarding
Start a welcome series on signup.
event: user_signed_up → welcome
Post‑purchase
Send guides and upsells.
event: order_completed → series
Reactivation
Target inactive cohorts.
segment: inactive_30d → re‑engage
Abandoned cart
Recover revenue from checkouts.
event: checkout_started → rescue
Tired of your current email provider?
No hassle. No surprises. Just better email.
Explore more integrations
Connect Bento with your entire tech stack. Choose from our comprehensive library of SDKs, platform integrations, and framework guides.
Development Kits
.NET SDK
ASP.NET & Web API tracking
Elixir SDK
Phoenix & OTP tracking
Go SDK
High-performance tracking
JavaScript SDK
Client-side tracking
Laravel SDK
Eloquent & Artisan tracking
Node.js SDK
Server-side tracking
PHP SDK
Web application tracking
Python SDK
Django & Flask tracking
Rails SDK
Ruby on Rails tracking
Rust SDK
Systems-level tracking
Supabase SDK
Database event tracking
Swift SDK
iOS & macOS tracking
WordPress SDK
Plugin development tracking
Platform Integrations
Bento Forms
Native form builder
Bubble
No-code app integration
ClickFunnels
Sales funnel automation
Google Tag Manager
Tag management system
Make
Workflow automation
n8n
Open-source automation
Segment
Customer data platform
SendOwl
Digital product sales
Shift4Shop
E-commerce platform
Shopify
E-commerce automation
SMS & WhatsApp (Twilio)
Multi-channel messaging
Stripe
Payment processing events
Tracking Script
Universal web tracking
Webflow
Visual web design
Webhooks
HTTP event callbacks
WooCommerce
WordPress e-commerce
WordPress
CMS integration
Zapier
App automation platform
Don't see your tech stack? We're always adding new integrations. Contact us on Discord to request help with an integration.
Frequently Asked Questions
App Router support?
Yes—API routes, route handlers, and server actions.
Edge?
The SDK works on Edge/Serverless with minimal footprint.
TypeScript?
Full types and IntelliSense.