> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 通过Line登入

在这个文章里:
1. [LINE 登入设定](#1-1line)    
2. [广播中心的 LINE 消息传递](#1-2-line)


# 1.LINE 登入设定

LINE 是除 Telegram、Whatsapp、Wechat、KaoKao Talk 等之外的通讯应用程序之一。启用 LINE 登录意味着客户无需手动注册帐户即可在您的在线商店获取帐户。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_57qp5u.png)

商户还可以将公司标志设置为LINE登录提供商。
（以下是 EasyStore 与您自己的企业作为 LINE 登录提供商的示例）

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-3_ns5qf2.png)

** 1:** 设定 LINE 登入, 到  [LINE Business Account Manager](https://account.line.biz/login?redirectUri=https%3A%2F%2Fmanager.line.biz%2F) 登录/注册 LINE 帐户。
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1iw8yw4.png)

** 2:** 点击 Settings （设定）>  Messenging API > 开启 Messenging API

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-4_4h5lxg.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-5_1i9h45b.png)

** 3:** 输入 Developer info > 点击 Agree > 点击 OK 来继续

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_8b1f27.png)

** 4:** 创建新的提供商帐户（您的公司名称）> 可以将隐私政策和使用条款留空> 单击“确定”
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_u0tyew.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1qfc520.png)

** 5:** ** 确认帐户名称和提供商名称以继续**，现在将在您的 LINE Business 帐户上启用消息 API。
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_a1iglj.png)

** 6:** 在将频道信息放入 EasyStore LINE 频道之前，我们先点击 **LINE Developers** 进行 LINE 登录频道设置

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-6_17l1kfy.png)

** 7:** 单击个人资料 > 选择 **LINE Developers **

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-7_18hzeyp.png)

**8:** 确保选择专门为连接 EasyStore 而创建的正确提供商

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_eh8ug7.png)

** 9:** 选择 "Create a new channel" 选项 > 点选 LINE Login
 
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1joqx5f.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-8_1u88rw7.png)

** 10:** 确保频道类型为 LINE Login，提供商正确，选择台湾作为地区和所有者国家/地区

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_6rtp1w.png)

** 11:** 确认 Channel name, Channel description, App types 选择 **Web app**

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-9_17yjxmt.png)

* 设置频道图标、名称和描述的示例
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_m9d8dt.png)

* 网上商店登录页面显示的内容

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-10_6ya6uk.png)


||注意：请务必在继续之前勾选协议复选框

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-11_15msxfa.png)

** 12:** 一旦你完成了 LINE login , 可以到 Basic settings > Basic Information > 复制 **Channel ID** > 粘贴到 EasyStore LINE Channel > settings > Line login > customer settings去进行设定

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-12_rrx0h6.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_awch89.png)

** 13:** 往下滑到 **Channel secret** > 复制粘贴到 EasyStore LINE Channel > 设定 > Line login > customer settings

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_10e38ek.png)

|| 注意：放置频道 ID 和频道密码后，请记住在 Easystore 中单击“保存”按钮

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-13_bl76i1.png)

** 14:** 现在回到 LINE Developers Console > 点击 “LINE Login” > 粘贴 **https://easy.co/multipass/line** 到 callback URL section > 点击 update 即可完成

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-14_nmbrim.png)

**15:**  往下滑到 OpenID Connect section，点击 **Apply** > 勾选 **checkbox provide** 以及 **截图** 您的线上商店登录页面 > 单击“提交”

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_8c3iue.png)

* 线上商店的登录页面示例
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_wi7jlw.png)

** 16:**  最后单击“正在开发”弹跳视窗

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-15_1x6uou6.png)

* 弹跳视窗将出现当你单击发布按钮将状态更改为**已发布**
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-16_z24ass.png)

---

# 2. 广播中心的 LINE 消息传递

以下步骤将指导如何设置 LINE 消息传递[ 讯息群发中心](/zh/article/6k6v5ogv576k5yr5lit5bdlw5vasrewknidvq-x8pinb/). 允许客户使用LINE登录在线商店后，当LINE消息功能激活时，会自动弹出“添加好友”功能，这将允许客户添加您的LINE官方帐户为好友。

如果您想在客户群消息功能中启用LINE通道发送群消息，请按以下步骤操作：

** 1:** 登入到  [LINE Developer website](https://developers.line.biz/) > 点击 profile > LINE Developers console

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-17_rzkicx.png)

** 2:** 确保从左侧列表中选择正确的提供商 > 然后选择 Messanging API
![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-18_1c1ax7u.png)

** 3:** 现在转到 Messanging API 选项 > 向下滚动到底部并单击问题按钮

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-19_13zeo38.png)

** 4:** 复制token并将其粘贴到频道 > LINE > LINE 登录 > 广播中心 > LINE messaging Channel access token

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1uvy828.png)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/heimer-20_hy6ybu.png)

** 5:** 现在回到  LINE Developer Console, 到 LINE Login Channel > Basic Settings, 往下滑到 **Linked OA** > 从下拉框中选择 Messaging API Official Account.

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/line-messenging-api_rgmof8.gif)

** 6:** 完成，设置完成。当客户在网上商店使用LINE登录时，会显示**添加朋友**按钮，这将引导客户添加您的官方帐户为朋友，以便他们更轻松地联系您的业务。

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_lptcfu.png)

||注意：无论客户是否添加您的公众号为好友，他们仍然可以登录其帐户。