Lailiao · 2-minute install · WeChat scan

Lailiao

Website chat.
WeChat in the same inbox.

Copy one snippet onto your site. Scan the Official Account QR. Replies go back to the phone in realtime.

Lailiao

Support from Sent2X

Online · WeChat connected

你好,扫码就能在微信里继续聊吗?
可以。扫右下角二维码,消息会进同一个收件箱。
收到,我现在扫。
输入你的信息...
We run on Lailiao

01

Copy the snippet

Two lines. Paste before </body>. That’s the whole website install.

02

Verify on a plugin page

Open the verify page with your site ID. If the widget loads and a test ping lands in the inbox, you’re live.

03

Scan WeChat

Connect a 公众号 (AppID + AppSecret), paste the webhook once, then scan. Follow or send a message — it appears here.

04

Reply in realtime

Inbox and widget wait for new messages. Agent replies go back to WeChat while the visitor is in the 48-hour window.

Website widget

Crisp-style bubble. One script tag.

WeChat Official Account

Scan QR, talk on WeChat, same thread.

Telegram · WhatsApp · Messenger

Connect a bot or page. Same inbox.

Install on your own website

No login. The site ID in the snippet is your inbox in this browser — not a shared public account.

  1. 01

    Open the sandbox. A cookie creates your site. You do not need to sign in with X.

  2. 02

    Optional: Widget copy — set the agent name and the “from” line (so it is not “Support from Sandbox site”).

  3. 03

    Copy the two-line snippet. RELAY_SITE_ID is your site.

  4. 04

    Paste it on your pages, before </body>.

  5. 05

    Open the verify page with that site ID. If the bubble loads and a test ping hits the inbox, it is live.

  6. 06

    Optional: connect a WeChat Official Account in the sandbox, paste the webhook (public HTTPS), then scan to chat.

The site ID in this snippet is bound to this browser’s inbox, not a shared admin account. Save the snippet if you switch computers — or sign in so the site follows your account.

This is the whole install

<script>window.$relay=[];window.RELAY_SITE_ID="YOUR_SITE_ID";</script>
<script src="https://sent2x.com/relay.js" async></script>

Paste this snippet into your site, before the closing </head> or </body> tag. That’s the whole integration.

Is this personal WeChat?

Official WeChat has no API for a personal chat account. Lailiao connects a WeChat Official Account (公众号). After AppID is verified we generate a QR; visitors scan and messages sync.

Do I need to log in with X?

No. Open the sandbox — a cookie creates your site. No X login. Copy the snippet, paste it on your pages, then verify.

Will localhost receive WeChat?

WeChat requires a public HTTPS webhook. Deploy on sent2x.com, then paste the webhook URL into the Official Account admin.

Do all chats go to one admin?

No. Each snippet has its own site ID. Visitors talk to that site’s inbox. A cookie sandbox is yours in this browser; if you sign in, the site follows your account. Nothing is routed to a shared alexecho inbox.