- 2025 © CometChat
+ 2026 © CometChat
diff --git a/sdk/flutter/send-message.mdx b/sdk/flutter/send-message.mdx
index 961f90b6..fc2b812b 100644
--- a/sdk/flutter/send-message.mdx
+++ b/sdk/flutter/send-message.mdx
@@ -115,6 +115,7 @@ When a text message is sent successfully, the response will include a `TextMessa
To set a quoted message for a message, use the `setQuotedMessageId` and `setQuotedMessage` method of the TextMessage class. This method accepts the ID of the message to be quoted.
+
```dart
textMessage.quotedMessageId = 0
diff --git a/widget/html/integration.mdx b/widget/html/integration.mdx
index 0f6e86dc..156c8a53 100644
--- a/widget/html/integration.mdx
+++ b/widget/html/integration.mdx
@@ -160,12 +160,16 @@ Add the CometChat Widget by pasting one small HTML snippet. It drops in like any
**Use this when:**
-- People sign in to your product through your own backend
-- You can create a CometChat auth token on the server after they sign in
-- Here is how you can create users:
- - API: https://www.cometchat.com/docs/rest-api/users/create
-- Here is how can create auth tokens:
- - API: https://www.cometchat.com/docs/rest-api/auth-tokens/create
+- People sign in through your backend, and you generate their CometChat auth token server-side.
+
+**Server-side flow (auth token login):**
+1) Authenticate the user in your app.
+2) If it’s their first time, call **Create User** (https://www.cometchat.com/docs/rest-api/users/create) — you can also request an auth token in that call.
+3) For returning users, call **Create Auth Token** (https://www.cometchat.com/docs/rest-api/auth-tokens/create) to issue a fresh token.
+4) Send the token to the browser and place it in the widget config below.
+5) The same token works for the CometChat Widget, UI Kit, or SDK.
+
+Full walkthrough: [How to properly log in and create users in CometChat](https://community.cometchat.com/t/how-to-properly-log-in-and-create-users-in-cometchat/31).
### Copy this into ``
diff --git a/widget/shopify/integration.mdx b/widget/shopify/integration.mdx
index b4d09ef9..2ed25d87 100644
--- a/widget/shopify/integration.mdx
+++ b/widget/shopify/integration.mdx
@@ -1,108 +1,206 @@
---
-title: "Add CometChat UI Kit Builder Widget to Shopify"
+title: "Add CometChat Widget to Shopify"
sidebarTitle: "Integration"
-description: "Learn how to embed the CometChat UI Kit Builder widget into your Shopify store using Liquid templates, theme settings, or Online Store 2.0 app blocks."
+description: "Drop the CometChat Widget into your Shopify store and pick the sign-in flow: guest, Shopify customer IDs, or backend auth tokens."
---
+import { CardGroup, Card } from "mintlify";
import AdvancedJSAPIs from "/snippets/widget/advanced-js-apis.mdx";
-You can integrate the **CometChat UI Kit Builder widget** directly into your Shopify store to enable real-time chat. Once installed, it will:
+Add the CometChat Widget with a single snippet inside your Shopify theme. Choose the sign-in flow that matches your store: guests, auto-created users from Shopify customers, or backend-issued auth tokens.
-- Load the UI Kit Builder bundle on page load
-- Initialize CometChat with your App ID, Region & Auth Key
-- Automatically log in each visitor (using their Shopify `customer.id` or “guest”)
-- Launch a docked chat UI on every page
+**Choose how shoppers sign in:**
+
+
+
+ - Visitors can chat without accounts.
+ - Fastest, friction-free setup.
+
+
+ - Auto-create CometChat users from Shopify customers.
+ - Falls back to guests when no one is logged in.
+
+
+ - Use your backend to issue auth tokens.
+ - Keep your Auth Key off the storefront.
+
+
---
-## What You’ll Build
+## Where to paste the snippet in Shopify
-A persistent, docked chat widget in your Shopify theme—fully configurable via Theme Settings or a snippet/app block.
+1) In Shopify Admin, go to **Online Store → Themes → … → Edit code**.
+2) Open **layout/theme.liquid** (or a section where you want the widget).
+3) Scroll near `` and paste the snippet from the option you choose.
+4) Save and refresh your storefront to confirm chat loads.
+5) For page-specific placement, paste the snippet into a section or template instead of the global layout.
---
-## Quick Steps to Embed CometChat Widget
-
-
+## 1. Anonymous Chat (Guest Mode)
-
-Before you start, sign up at the [CometChat Dashboard](https://app.cometchat.com/) and create an app. Copy:
-- **App ID**
-- **Region**
-- **Auth Key**
-
+**Use this when:** you want anyone to chat without signing in.
-
-1. In Shopify Admin, go to **Online Store → Themes → … → Edit code**.
-2. Open **layout/theme.liquid** (or the snippet/section where you want the widget).
-3. Near `