GLChat Widget Setup
This guide explains how to configure and embed the GLChat Widget on a client website, including required environment variables, guest mode setup, and web component integration.
GLChat side Configuration
Allow IFrame Embedding
FRONTEND_NEXT_HEADERS_X_FRAME_OPTIONS=trueEnable Login Popup
NEXT_PUBLIC_FEATURE_LOGIN_POPUP_WINDOW=trueCross-Site Cookie Policy
FRONTEND_COOKIE_SAMESITE_POLICY=noneContent Security Policy (CSP)
Widget Guest Mode Configuration (Optional)
Client-Side Configuration (Client Website)
GLChat Web Components Integration
Microphone Permission Policy (Optional)
Widget Implementation Guide
Step 1: Add the Script to <head>
<head>Step 2: Add the Custom Widget Tag to <body>
<body>Example Full HTML Integration
Last updated