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

# LINE

### 開始之前

您需要一個 LINE 官方帳號。如果您還沒有，請由此[註冊](https://manager.line.biz/)。

### 步驟教學

**步驟 1：在LINE 官方帳號管理頁面中設定整合**

1. 登入您的 [LINE 官方帳號管理頁面](https://manager.line.biz/)
2. 點擊右上角的 "Settings"
3. 從左側選單中選擇 "Messaging API"
4. 點擊 "Enable Messaging API"

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

5. 輸入以下資訊，然後點擊 "Agree" 繼續。

<mark style="background-color:yellow;">名稱：Chatalog.ai</mark>\ <mark style="background-color:yellow;">電子郵件：<info@chatalog.ai></mark>

<figure><img src="/files/cZAKCDTU7yt7JCNaeE0A" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/3zG6o2fuIHfDPkOtNNqD" alt="" width="375"><figcaption></figcaption></figure>

6. 您可能會被要求提供 Chatalog 的隱私權政策和服務條款。
   * 隱私權政策 (Privacy Policy)：<https://chatalog.ai/en/privacy-policy/>
   * 服務條款 (Terms of Service)：<https://chatalog.ai/en/terms-and-conditions-brands-influencers/>

<figure><img src="/files/w8HKgP9uygxG9ZGlAlYH" alt="" width="375"><figcaption></figcaption></figure>

**步驟 2：取得您的 Chatalog Webhook URL**

1. 登入您的 Chatalog 帳號
2. 點擊按鈕以連接您的 LINE 帳號

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

<figure><img src="/files/nac9QbOfudxQjPurcIUn" alt="" width="375"><figcaption></figcaption></figure>

3. 回到您的[ LINE 官方帳號管理頁面](https://manager.line.biz/)，前往 "Messaging API" 設定
4. 複製您的 **Channel ID** 和 **Channel Secret**

<figure><img src="/files/wvIltM4iotCm9R3vmhG3" alt="" width="375"><figcaption></figcaption></figure>

5. 將複製的 **Channel ID** 和 **Channel Secret** 貼到 Chatalog 相應的欄位中，然後點擊 「儲存」

<figure><img src="/files/va08aVcQLdfheOai5DvY" alt="" width="375"><figcaption></figcaption></figure>

6. 點擊 「完成」 以完成設定

<figure><img src="/files/NGZvvYllkpZXazacUw80" alt="" width="375"><figcaption></figcaption></figure>

**步驟3：在 LINE 官方帳號管理後台設定 Webhook**

1. 返回你的 [LINE 官方帳號管理後台](https://manager.line.biz/)
2. 將 Webhook URL 貼到「Messaging API」中

<figure><img src="/files/6edSGbya7Nqf7jSVTWNu" alt=""><figcaption></figcaption></figure>

3. 在左側面板的Response settings下，啟用 Webhook 按鈕

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