> 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-cn/platform-setup/line.md).

# LINE

### 开始之前

您需要一个 LINE 官方账号。如果您还没有，请由此[注册](https://manager.line.biz/)

### 步骤教学

**步骤 1：在 LINE 官方账号管理页面中设置整合**

1. 登录您的 LINE 官方账号管理页面。
2. 点击右上角的 "Settings"（设置）
3. 从左侧菜单中选择 "Messaging API"
4. 点击 "Enable Messaging API"

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

5. 输入以下信息，然后点击 "Agree"（同意）继续。

* 名称：Chatalog.ai
* 电子邮件：<info@chatalog.ai>

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

<figure><img src="/files/fFJwVJ9YnTauNi9rWZuQ" 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/wHvIBF63gbqPy0nQUE1Y" alt="" width="375"><figcaption></figcaption></figure>

**步骤 2：获取您的 Chatalog Webhook URL**

1. 登录您的 Chatalog 账号
2. 点击按钮以连接您的 LINE 账号

<figure><img src="/files/5jR3sKbrr4KFmJJlz4PX" alt=""><figcaption></figcaption></figure>

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

3. 回到您的 LINE 官方账号管理页面，前往“Messaging API”
4. 复制您的 Channel ID 和 Channel Secret

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

5. 将复制的 **Channel ID** 和 **Channel Secret** 贴到 Chatalog 相应的字段中，然后点击 「储存」

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

5. 点击  「完成」  以完成设定

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

**步骤3：在LINE官方账号管理后台设置Webhook**

1. 返回你的[LINE官方账号管理后台](https://manager.line.biz/)
2. 将Webhook URL粘贴到“Messaging API”中

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

3. 在左侧面板的“Response settings” (回复设置) 下，启用Webhook按钮

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