Integrations · Next.js Guide

Add live chat to Next.js. DeskCrew support widget

DeskCrew adds AI live chat, an AI support chatbot and ticketing to a Next.js app through the official @deskcrew/next package: one DeskCrewWidget component in app/layout.tsx, App Router and Pages Router, no bundling. A single Script tag works too.

01

An official npm package

Install @deskcrew/next and render one component in your root layout. No script tag to maintain, no bundling step, App Router and Pages Router both supported.

02

AI drafts, humans approve

The AI drafts replies grounded in the knowledge base you publish, and every draft waits in an approval queue until a human sends it.

03

Every conversation is a ticket

Widget chats, emails, and board posts land in one dashboard with full history; visitors who leave get their answer by email.

04

Free plan, no card

The free plan includes the chat widget, a public knowledge base, and ticketing. Start free and upgrade only when you outgrow it.

How to install

How to install DeskCrew on Next.js

1

Install the official package: npm install @deskcrew/next (pnpm add and yarn add work the same).

2

Render it once in app/layout.tsx: import { DeskCrewWidget } from "@deskcrew/next", then <DeskCrewWidget widgetKey="pub_YOUR_KEY" board="your-board" /> inside <body>. On the Pages Router, put the same component in pages/_app.tsx.

3

Deploy. The component loads the widget through next/script on every route, it survives client-side navigation, and it renders in a Shadow DOM so it cannot touch your styles. Your key and board slug are on the dashboard’s Install page.

deskcrew-widget. Next.js
<script src="https://deskcrew.io/desk.js" data-key="pub_YOUR_KEY" data-board="your-board" defer></script>

pub_YOUR_KEY and your-board are placeholders. Your real widget key and board slug are in your DeskCrew dashboard under Install (free signup, no card).

Note: Using the Pages Router? Render the same <Script> in pages/_app.tsx. Plain HTML export? The raw <script> tag below works as-is.

How it compares

DeskCrew vs the usual suspects

DeskCrewTidioCrispZendesk
Free tierYes. Free plan, no cardYes (limited)Yes (basic)Free trial only
AI includedYes. AI drafts on every plan, human-approvedPaid add-onHigher plansPaid add-on
SetupAbout 2 minutes. One script tag or pluginMinutes. Script tagMinutes. Script tagLonger. Full workspace setup
Price floor$0 free plan · paid from $29/moFree plan; paid tiers aboveFree plan; paid tiers abovePer-agent pricing, no free plan

Competitor cells generalize their public pricing pages. Always check current plans.

DeskCrew has a free plan with no card. Chat widget, public knowledge base, and ticketing included. Every new workspace starts with full Team features free for 14 days, and paid plans start at $29/mo. Full details on the pricing page.

Start free. No cardGet it on npmAll integrations