> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/features/tong-xun-qu-dao/integrations/wechat-zheng-he-dao-omnichat.md).

# WeChat | 整合到 Omnichat

## 前置作業

若您需要在 WeChat 發送訊息，請務必完成年審認證流程，詳細步驟請參考下方資訊

{% content-ref url="/pages/J2djPrcB19v2nR4B1LOD" %}
[WeChat 年度審核確認方式](/features/tong-xun-qu-dao/integrations/wechat-zheng-he-dao-omnichat/wechat-annualverification.md)
{% endcontent-ref %}

若您已完成前置作業，可再往下完成串接流程

## 步驟一

首先要登入到微信的後台（<https://mp.weixin.qq.com/>）

<figure><img src="/files/XlBZHkCkYpKqWPN26s5k" alt=""><figcaption></figcaption></figure>

## 步驟二

使用被綁定為該**服務號管理員**的微信帳號掃描此 QR Code：

在手機中打開 WeChat 按右上角 `+` 的符號 選「`掃描`」 或 「`Scan`」

<img src="/files/wR7zEazSwtdhV24Vmj5H" alt="" width="267">

請選擇想要登錄的帳號，之後電腦瀏覽器會自動登入到WeChat服務號後台

<img src="/files/W9ePKTWBQ5EEbKpfwiFr" alt="" width="360">

## 步驟三

在左列選單選擇進入「**設置與開發」** 裡的 「**開發接口管理」**

<figure><img src="/files/aR8uDoAVNpF7YZvP4LtD" alt=""><figcaption></figcaption></figure>

點擊「前往使用」，彈出QRcode掃碼視窗（掃描登錄維信開發者平台）

<figure><img src="/files/O31AMkpOdCm1DNwPCZZP" alt=""><figcaption></figcaption></figure>

點擊「**前往控制台**」，進入「**微信開發者平台**」

<figure><img src="/files/bua3jZATVmEGssaabtId" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Pp5LTpNvAQqUXjCJAirJ" alt=""><figcaption></figcaption></figure>

## 步驟四

進入**基本配置頁面**後，複製 **開發者ID（AppID）**&#x548C; **開發者密碼 (AppSecret)** 給Omnichat團隊

<figure><img src="/files/2gLMBxN76nkTsmLXZ30p" alt=""><figcaption></figcaption></figure>

## 步驟五

向Omnichat圖隊索取以下四項資訊：**Outbound IP**、 **URL** 、**Token**、**EncodingAESKey**

1. **API IP白名單**：點擊「**設置名單**」後貼入**Outbound IP**

<figure><img src="/files/nFMLyEDC7Jwi8VuqR4UO" alt=""><figcaption></figcaption></figure>

2. **域名與消息推送配置**：點擊「**設置域名** 」編輯JS安全域名\
   設置後，可在該域名下調用微信開放的 JS 接口能力

<figure><img src="/files/lfdd3uwIq5YEBjUXK0hK" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sxZXs1NjlIC7WWJFORkH" alt="" width="367"><figcaption></figcaption></figure>

2. **域名與消息推送配置**：點擊消息推送「**啟用** 」，並填入 **URL** 、**Token**、**EncodingAESKey** 這三項資訊，及選擇「**明文模式**」

<figure><img src="/files/h5FMmE1aTciB1rhXvNxD" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8G5I3blOowb7prCW6Lre" alt="" width="370"><figcaption></figcaption></figure>

<figure><img src="/files/Z8jXE3mbrw4Bhz6WNVUq" alt=""><figcaption></figcaption></figure>

## 步驟六&#x20;

按 `提交` 後即完成整合


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.omnichat.ai/features/tong-xun-qu-dao/integrations/wechat-zheng-he-dao-omnichat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
