At the end of this tutorial, you’ll have a nice chat widget to support your customers.
.env.local
CRISP_CHAT_ID={{YOUR_CRISP_CHAT_ID}}
apps/web/app/app/layout.tsx
import { SupportChat } from '@/components/support/chat-widget'
export default function RootLayout({ children, }: { children: React.ReactNode; }): JSX.Element { return ( <html lang="en"> <body className={poppins.className}> <Toaster toastOptions={{ unstyled: true, classNames: { error: 'text-danger', success: 'text-primary', info: 'text-primary', warning: 'text-primary' } }} /> {children} <SupportChart /> {/* <- Add this line */} </body> </html> ); }