An AI chatbot for Next.js and React, with an API you control.
Drop BusinessLyft into your root layout with next/script, then open it from your own buttons, pre-fill questions and identify signed-in users with a small JavaScript API.
- 7-day free trial
- No credit card required
- Live in under 30 seconds
Built for developers
No SDK to install, no components to maintain.
The assistant runs in its own isolated frame from one script, so it doesn’t ship React components, add dependencies or pick up your global styles.
When you want more control, the Businesslyft() API opens, closes or toggles the chat, asks a question on the visitor’s behalf, identifies a signed-in user, and reports route changes in a single-page app.
It learns from your marketing site and docs, cites the page it used, and can call your own API for account or order lookups.
- One script, isolated frame
- Open, ask and identify from your code
- Route-change aware for SPAs
- API actions for live lookups
Add it to Next.js & React in 3 steps
Copy your exact snippet from the Install page in your dashboard. It carries your assistant’s key.
- 1
Open your root layout:
app/layout.tsx(App Router) orpages/_app.tsx. - 2
Import
Scriptand add the tag inside<body>. - 3
Plain React (Vite, Create React App): paste the Any website code into
index.htmlinstead.
import Script from 'next/script';
// Inside <body>:
<Script src="https://businesslyft.pages.dev/loader.js" data-bot="bl_pk_your_key" strategy="afterInteractive" />Good to know before you start
Report route changes
Single-page apps don’t reload between pages. Call Businesslyft('page', { path }) after each route change so page greetings stay in sync.
Identify signed-in users
Businesslyft('identify', { name, email, id }) puts their name on conversations, and lead forms won’t ask for it again.
Content-Security-Policy
If you send a CSP header, allow the BusinessLyft domain in both script-src and frame-src.
Plain React
Vite or Create React App: paste the regular script tag into index.html instead of using next/script.
What it does once it’s live
The features that matter most on Next.js & React.
- AI chatbot Learns your docs and marketing pages, with a citation on every answer. How AI chatbot works
- Actions & integrations API actions call your backend for account, usage or order lookups. How Actions & integrations works
- PageSense Answers from the page in view, including client-rendered content. How PageSense works
Questions, answered
Setup, plans and what to expect on Next.js & React.
Other platforms
The same assistant, one snippet, on whatever your site runs on.
WordPress One snippet in your footer. No heavy plugin, no theme edits. Learn more
Shopify Answers product, shipping and returns questions on every page. Learn more
Webflow Add it in Site settings. Learns your CMS pages too. Learn more
Wix Paste it in Custom code. Answers questions while you work. Learn more
Squarespace One paste into Code injection, live on every page. Learn more
Google Tag Manager Add it as a Custom HTML tag, without touching site code. Learn more
Your next customer is on your site right now.
Let BusinessLyft talk to them, qualify them and hand them to you. Live in under 30 seconds.
- 7-day free trial
- No credit card required
- Set up in 30 seconds