> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/build/choose-channel.md).

# 發布到對話平台

一張表比較 MaiAgent 可串接的全部對話平台（網站、通訊軟體、企業協作、Email），以及透過通話中心接聽的電話：適合對外客戶還是對內員工、要準備哪些憑證、主要限制，以及各平台的設定說明頁。

Agent 建好之後，要串接到對話平台，客戶或員工才能在他們習慣的地方和 Agent 對話。本頁幫你先決定要串哪些平台、各要準備什麼，再到對應的設定頁完成串接。

{% hint style="info" %}
**方案導覽**：本頁是對話平台設定的其中一步，文字客服的完整上線流程見 [文字客服：從零到上線](/serve/text-service.md)；語音客服見 [語音客服：從零到上線](/serve/voice.md)。
{% endhint %}

* **權限**：需要 <mark style="color:blue;">對話平台權限</mark>，權限說明見 [角色權限管理](/org/roles/role-permission.md)。
* **進入方式**：左側選單 <mark style="color:blue;">客服對話</mark> → <mark style="color:blue;">對話平台</mark>，點右上角的 <mark style="color:blue;">串接對話平台</mark>，在 <mark style="color:blue;">選擇平台</mark> 步驟點選要串接的平台。

## 📋 <mark style="color:blue;">**系統預設平台接口**</mark> <a href="#default-channel-interfaces" id="default-channel-interfaces"></a>

建立 Agent 時，系統會自動為它建立以下三個平台接口，不需要另外串接：

* **API**：提供程式化接口，供開發者整合到自家系統，見 [API 文件](https://docs.maiagent.ai/api)
* **網頁**：內建的網頁對話介面，可直接嵌入網站，見 [Web Chat 介紹總覽](/build/choose-channel/web-chat.md)
* **內部**：供企業內部人員使用的問答平台，成員從左側選單的 <mark style="color:blue;">Agent 市集</mark> 進入，見 [與 Agent 對話（Agent 市集）](/work/explain.md)

## 全部對話平台一覽 <a href="#channel-comparison" id="channel-comparison"></a>

下表的「平台」欄括號內是 <mark style="color:blue;">選擇平台</mark> 畫面上的卡片名稱。

| 類別    | 平台                         | 適用對象                 | 需要準備的憑證                                                                                                                                                                                                                                                                     | 主要限制                                                 | 設定說明                                                  |
| ----- | -------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ----------------------------------------------------- |
| 網站    | 網站（Website）                | 對外：官網訪客              | 不需第三方憑證；建立後取得嵌入碼放到網站                                                                                                                                                                                                                                                        | 需要能修改網站程式碼來放入嵌入碼                                     | [網站](/build/choose-channel/web-chat/website.md)       |
| 通訊軟體  | LINE                       | 對外：LINE 官方帳號的使用者     | <mark style="color:blue;">Channel ID</mark>、<mark style="color:blue;">Channel Secret</mark>、<mark style="color:blue;">Channel Access Token</mark>                                                                                                                           | 官方帳號只能設定一個 Webhook 網址；一個群組只能加入一個 Agent               | [LINE](/build/choose-channel/line.md)                 |
| 通訊軟體  | FB Messenger（Messenger）    | 對外：粉絲專頁的訪客           | 不需手動填憑證，以 Facebook 帳號授權；需有商家資產管理組合的完整控制權限                                                                                                                                                                                                                                   | 一個粉絲專頁只能串接一個對話平台                                     | [FB Messenger](/build/choose-channel/fb.md)           |
| 通訊軟體  | Instagram                  | 對外：Instagram 私訊      | 不需手動填憑證，透過連結的 Facebook 粉絲專頁授權                                                                                                                                                                                                                                               | 只支援專業帳號；一個 Instagram 帳號只能串接一個對話平台                    | [Instagram](/build/choose-channel/instagram.md)       |
| 通訊軟體  | Telegram                   | 對外為主：Telegram 使用者與群組 | 從 BotFather 取得的 <mark style="color:blue;">Bot Token</mark>                                                                                                                                                                                                                  | Bot Token 建立後不能在編輯頁修改                                | [Telegram](/build/choose-channel/connect-telegram.md) |
| 通訊軟體  | WhatsApp                   | 對外：WhatsApp 使用者      | 不需手動填憑證，以 Facebook 帳號授權後選擇 WhatsApp Business 帳號與電話號碼                                                                                                                                                                                                                        | 需先有 Meta Business 帳號，以及已綁定電話號碼的 WhatsApp Business 帳號 | [WhatsApp](/build/choose-channel/whatsapp.md)         |
| 通訊軟體  | Viber（Beta）                | 對外：Viber 使用者         | 向 Viber 官方或合作夥伴申請的 <mark style="color:blue;">Bot Token</mark>                                                                                                                                                                                                               | Beta 版；只能一對一對話，不能加入群組；Bot Token 建立後不能修改              | [Viber](/build/choose-channel/viber.md)               |
| 企業協作  | Microsoft Teams（Azure Bot） | 對內：使用 Teams 的員工      | Azure Bot 的 <mark style="color:blue;">App ID</mark>、<mark style="color:blue;">App Password</mark>、<mark style="color:blue;">Tenant ID</mark>                                                                                                                                | 需要組織等級的 Microsoft 365 帳號；在團隊頻道中須 @ 提及 Bot 才會回應       | [Microsoft Teams](/build/choose-channel/teams.md)     |
| 企業協作  | Slack                      | 對內：Slack 工作空間成員      | <mark style="color:blue;">Bot User OAuth Token</mark>、<mark style="color:blue;">Signing Secret</mark>                                                                                                                                                                       | 需要工作空間管理員權限；在頻道中以 @Bot 名稱呼叫                          | [Slack](/build/choose-channel/slack.md)               |
| 企業協作  | LINE WORKS                 | 對內：LINE WORKS 成員     | <mark style="color:blue;">Bot ID</mark>、<mark style="color:blue;">Bot Secret</mark>、<mark style="color:blue;">Client ID</mark>、<mark style="color:blue;">Client Secret</mark>、<mark style="color:blue;">Service Account</mark>、<mark style="color:blue;">Private Key</mark> | 憑證建立後不能修改；聊天室不顯示 Markdown 格式                         | [LINE WORKS](/build/choose-channel/line-works.md)     |
| 企業協作  | Team+                      | 對內：Team+ 成員          | <mark style="color:blue;">頻道編號 / Channel ID</mark>、<mark style="color:blue;">Channel Secret</mark>、<mark style="color:blue;">Channel Access Token</mark>                                                                                                                    | 只支援一對一對話；憑證建立後不能修改                                   | [Team+](/build/choose-channel/team-plus.md)           |
| Email | Email                      | 對外：寄信到指定信箱的客戶        | <mark style="color:blue;">電子郵件地址</mark>、IMAP／SMTP 伺服器設定、<mark style="color:blue;">使用者名稱</mark> 與 <mark style="color:blue;">密碼</mark>（Gmail、Yahoo Mail 須用應用程式專用密碼）                                                                                                           | 以輪詢方式收信，可設定 <mark style="color:blue;">輪詢間隔</mark>    | [Email](/build/choose-channel/email.md)               |

{% hint style="info" %}
所有對話平台的對話都會集中在 <mark style="color:blue;">客服對話</mark> → <mark style="color:blue;">所有對話</mark>，見 [所有對話](/serve/daily-operations/reply.md)。串接完成後的共通設定（功能設定、轉真人、權限等）見 [對話平台設定總覽](/build/conversation-settings/platform-settings.md)。
{% endhint %}

{% hint style="info" %}
**LINE、FB 粉專或 Instagram 已接在其他客服系統？** 切換時間、事前準備清單、操作順序與退回方法見 [從其他客服系統搬到 MaiAgent](/build/choose-channel/migrate-from-other-platform.md)。
{% endhint %}

## <mark style="color:blue;">對外公開上線</mark> <a href="#public-channels" id="public-channels"></a>

讓 Agent 成為企業對外溝通的第一線窗口。依客戶最常出現的地方挑選：

### 🖥️ 網站 <a href="#channel-website" id="channel-website"></a>

在官網嵌入對話視窗，即時回應訪客的產品、服務與常見問題。可以限制只允許嵌入在指定網域，也可以要求訪客登入後才能對話，見 [串接對話平台：網站](/build/choose-channel/web-chat/website.md)。

### 💬 LINE <a href="#channel-line" id="channel-line"></a>

整合企業的 LINE 官方帳號，觸及熟悉 LINE 的一般消費者。若官方帳號已串接其他 LINE 後台服務，因為 Webhook 網址只能設定一個，切換前請先看 [與其他 LINE 後台服務共用官方帳號](/build/choose-channel/line.md#share-line-official-account-with-other-services)，搬家步驟見 [從其他後台搬到 MaiAgent](/build/choose-channel/line.md#migrate-from-other-line-service)。

### 📘 FB Messenger <a href="#channel-facebook-messenger" id="channel-facebook-messenger"></a>

回覆 Facebook 粉絲專頁的 Messenger 訊息，例如訂單諮詢與活動問答。授權時需要有該粉專所屬商家資產管理組合的完整控制權限，見 [串接對話平台：FB Messenger](/build/choose-channel/fb.md)。粉專已接其他客服系統時，還要把 Meta 的「對話轉送」預設 app 改成 MaiAgent，見 [設定對話轉送](/build/choose-channel/fb.md#conversation-routing)。

### 📷 Instagram <a href="#channel-instagram" id="channel-instagram"></a>

回覆貼文與限時動態帶來的 Instagram 私訊。授權流程與 FB Messenger 相同，Instagram 帳號須為專業帳號並已連結粉絲專頁；Messenger 與 Instagram 要分別建立對話平台，可以綁定同一個 Agent，見 [串接對話平台：Instagram](/build/choose-channel/instagram.md)；Meta 的「對話轉送」也要兩邊各設一次，見 [Instagram：設定對話轉送](/build/choose-channel/instagram.md#conversation-routing)。

### 📱 Telegram <a href="#channel-telegram" id="channel-telegram"></a>

建立 Telegram Bot，支援個人對話與群組，適合技術社群與海外客戶，見 [串接對話平台：Telegram](/build/choose-channel/connect-telegram.md)。

### WhatsApp 與 Viber <a href="#channel-whatsapp-viber" id="channel-whatsapp-viber"></a>

服務使用 WhatsApp 或 Viber 的海外客戶。WhatsApp 以 Facebook 帳號授權後選擇商業帳號與電話號碼，見 [串接對話平台：WhatsApp](/build/choose-channel/whatsapp.md)；Viber 目前為 Beta，Bot 需另向 Viber 申請，見 [串接對話平台：Viber](/build/choose-channel/viber.md)。

### Email <a href="#channel-email" id="channel-email"></a>

讓 Agent 讀取寄到指定信箱的郵件並自動回信，適合以 Email 為主要客服管道的團隊，見 [串接對話平台：Email](/build/choose-channel/email.md)。

### 📞 電話 <a href="#channel-phone" id="channel-phone"></a>

電話不在 <mark style="color:blue;">選擇平台</mark> 的卡片中，而是在 <mark style="color:blue;">通話中心</mark> 把電信商或 PBX 的 SIP 線路接上 MaiAgent，再把號碼綁定到已開啟語音的 Agent。組織需先開通通話中心，見 [電話客服（通話中心）](/build/choose-channel/call-center.md)；完整上線步驟見 [語音客服：從零到上線](/serve/voice.md)。

## <mark style="color:blue;">僅對內使用</mark> <a href="#internal-only-channels" id="internal-only-channels"></a>

讓員工在平常使用的工具裡查詢內部知識與流程：

### 🔒 內部問答 <a href="#internal-qa" id="internal-qa"></a>

Agent 僅供組織成員使用，成員從左側選單的 <mark style="color:blue;">Agent 市集</mark> 進入對話，不需要另外串接。適合串接內部文件、制度與 SOP，支援員工查詢與新人訓練，見 [與 Agent 對話（Agent 市集）](/work/explain.md)。

### 企業協作平台 <a href="#workplace-channels" id="workplace-channels"></a>

員工已經在使用 Microsoft Teams、Slack、LINE WORKS 或 Team+ 時，把 Agent 串進去，員工不必另外開啟 MaiAgent。在群組或頻道中，Teams、Slack 與 LINE WORKS 可以用 @ 提及 Bot 來呼叫；Team+ 只支援一對一對話。

### 🔧 API 整合應用 <a href="#api-integration" id="api-integration"></a>

透過系統預設的 API 接口，把 Agent 整合到 ERP、CRM 或內部工作流程平台，或開發客製化應用程式，見 [API 文件](https://docs.maiagent.ai/api)。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maiagent.ai/build/choose-channel.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
