How to Connect Your AI Agent Mini‑Program to a WeChat Official Account – Step‑by‑Step Guide
This article provides a detailed, step‑by‑step tutorial on linking a Tencent Yuanqi AI Agent mini‑program to a WeChat official account, configuring auto‑reply messages, adding menu shortcuts, and publishing the mini‑program in articles and comment sections, complete with screenshots and code snippets.
1. Associate the Official Account with the Tencent Yuanqi Mini‑Program
WeChat official account messages and menu cannot directly launch a mini‑program, so first link the account to the Yuanqi mini‑program.
Log in to the WeChat Official Account backend at https://mp.weixin.qq.com.
Navigate to Ads & Services → Mini‑Program Management and open the page shown.
Click Add to create a new association.
Proceed through the subsequent steps, scanning the QR code with the account administrator’s WeChat to verify.
Open the Yuanqi workbench at https://yuanqi.tencent.com and log in.
In My Creations → Usage , locate the mini‑program ID (AppID) and its path; copy both for later use.
AI Code to Success
Focused on hardcore practical AI technologies (OpenClaw, ClaudeCode, LLMs, etc.) and HarmonyOS development. No hype—just real-world tips, pitfall chronicles, and productivity tools. Follow to transform workflows with code.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
