ONLINE
Deliverability Letter

Connect Next.js to Bento

Connect Next.js to Bento

Use the Bento Next.js SDK in API routes, middleware, and server actions for modern React apps.
Bento Logo

Fast Setup • Easy Cancellation • 30 Day Free Trial

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.

5 minutes

to first automation

Zero config

visual automation builder

Real Results

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.

Vercel

Perfect for Vercel deployments

React

Seamless React integration

Edge

Edge Runtime & Functions

TS

TypeScript support included

Get started in 3 simple steps

1

Install

npm install @bentonow/nextjs-sdk

Add the official SDK or connect the integration.

2

Configure

NEXT_PUBLIC_BENTO_SITE_UUID=... BENTO_API_KEY=...

Add your keys and basic settings.

3

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?

We'll help you move from
Klaviyo
to Bento.
No hassle. No surprises. Just better email.

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.