# 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>


---

# Agent Instructions: 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.chatalog.ai/zh-hk/line.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.
