Menu

How to Integrate LINE into the Chat Plugin?

1. Introduction

Below, you will learn how to integrate LINE in the chat plugin.

This article mainly discusses:

How to create an official LINE account?
How to create a Messaging API channel?
How to create a Login channel?
How to integrate into the LINE plugin portal?

(Please create LINE's Login channel and Messaging API channel under the same Providers. Create a LINE official account means creating a new account, which is similar to a WeChat official account.)

Note: Only LINE official accounts can be integrated into the plugin portal.

 

2. Step-by-Step Guide

2.1. Create a LINE official account

(1) Please open the LINE official account management: https://manager.LINE.biz

 

(2) Create an account

If you don’t have an official LINE account, select “Create an account” to create an official account.
If you already have an official account, you can enter the official account management background and refer to step ④.
 

(3) Select LINE account or email to register.

Select LINE account or email to register
 

(4) After registration is complete, log in to the official account management page and click "create new" to start creating. (If it has already been created, click the corresponding account to enter the official account)

Enter the creation page and fill in the relevant information. After filling in, the official account is created. Click "Go to LINE Official Account Manager" to enter the official account management (i.e., LINE Official Account Manager).

Go to LINE Official Account Manager

Fill in the required information across three sections
After submitting, click "Go to Official Account Manager" to access the dashboard
 

2.2. Create a Messaging API channel

(1) In LINE Official Account Manager, click “Settings” to enter the “Settings” page.

 

(2) Under the “Settings” module, click “Messaging API”, and then click “Enable Messaging API”.

Enable Messaging API
 

(3) After clicking “Enable Messaging API”, fill in the developer information.

Fill in the developer information
 

(4) Then select a Provider (if there is no existing Provider, select Generate New Provider). This step will automatically generate a Messaging API Channel under the Provider.

New Provider
 

(5) Click https://developers.LINE.biz/console/ to go to the console. Click the Messaging API created under Existing Providers to enter the management page.

Click to access the management page
 

(6) Set up the Messaging channel

On the Messaging channel management page, click “LINE Official Account Manager” in “Basic settingsto start settings.

Click “LINE Official Account Manager”
 

Go to the settings page, click to enter the "Response settings", delete this item ("Response mode" is set to Bot), set "Greeting message" to off, and set "Webhooks" to on.

Enter the "Response settings"
 

2.3. Integrate LINE into SaleSmartly

(1) In the SaleSmartly, click "Settings", select LINE, and select "Add LINE".

Add LINE
 

(2) In the Messaging API channel management page, select “Basic settings”, copy “Channel ID” and “Channel Secret”, and fill them in the Salesmartly.

Select “Basic settings”
 

Copy “Channel Secret”
 

(3) Click to enter the "Messaging API" module and turn on the "Use webhook" switch.

Note: This button will only appear and can be enabled after SaleSmartly is bound . If it does not appear, please refresh the page.

Use webhook
 

2.4. Create a LINE Login channel

(1) Go to LINE’s developer platform https://developers.LINE.biz/ and log in to your LINE account.

 

(2) Go to the console https://developers.LINE.biz/console/, create a login channel under the existing Providers, and click “Create a LINE login channel” to start creation.

Create a LINE login channel

LINE login
 

(3) When creating a channel, you can customize the Channel name as needed, select "Web app" for App type, fill in the remaining required information, and click Finish to automatically enter the channel management page.

 

(4) In the LIFF section, click Create a LIFF app. When creating a LIFF app:

LIFF app name can be customized according to your needs
Select “Full” for Size
Endpoint URL (must be filled in with the URL provided by SaleSmartly, see the picture below)
In Scopes, check profile, openid and chat_message.write
Select On (Normal) for Bot link feature
Scan QR switch is turned on

 Add LIFF

Copy Endpoint URL
 

(5) In the [Channel Management Page - LINE Login] section, enter the Callback URL (fill in the URL provided by SaleSmartly, see below)

Edit Callback URL

Copy Callback URL
 

(6) On the channel management page, click “Developing” and select “Publish” in the pop-up window.“ Publish this channel?

Click “Developing”

Publish this channel
 

(7) In the SaleSmartly, to integrate the LINE portal, please select the required integration plugin, go to the plugin editing page - Portal Integration - Open the LINE portal - Go to integrate

Plugin editing

Portal integration
 

(8) In the [Channel Management Page - Basic settings] section, copy the channel ID and channel secret (visible by scrolling down on the same page) and fill them in the Salesmartly. In the LIFF section, copy the Liff ID and fill it in the Salesmartly. The callback URL and Endpoint URL need to be filled in the LINE. For details, see steps 4.4 and 4.5 above.

Copy channel ID

Scroll down to obtain the Channel Secret

Locate the LIFF ID under the LIFF Module of your new LINE channel
 

(9) In the Messaging API Channel section, select "Existing Messaging Channel" as the association method and select an existing channel.

Select "Existing Messaging Channel"

Previous
How to Integrate LINE Official Account?
Next
Practical Guide
Last modified: 2025-05-20Powered by