Integrate Chat Platform: LINE
Pre-Connection Checklist
You have already created an "AI Assistant" on the MaiAgent Platform
You have already created a "Provider" and a LINE Official Account on the LINE Developers console platform

Start Connection
1. Go to https://manager.line.biz/ and select the Official Account you want to connect
Click on MaiAgent Testing:

After clicking, you will enter the Official Account settings screen:

2. Click on Settings in the upper right corner

Then enter the following screen and click on the Messaging API list on the left:

3. Enable Messaging API Service
a. After entering, click Enable Messaging API

b. Select the Provider you just created (if you haven't created one yet, you can still create a Provider on this page)
After making your selection, click Agree

c. Submit privacy policy and other documents (optional)
In the next step, you can enter the URL of your company's internal privacy policy and other documents. After completion, click "ok" to proceed to the final confirmation.

Before clicking ok, please confirm again that the Provider you are connecting to is correct. Once you click ok, it cannot be undone

4. Obtain Channel ID, Channel Secret, Channel Access Token
a. After clicking OK, you can obtain the Channel ID and Channel secret for the Messaging API service:

b. Return to the LINE Developers page to obtain the Channel Access Token
Enter the MaiAgent Provider you just created

c. Find the MaiAgent Testing Channel you just created and click to enter

d. Switch to the Messaging API page and scroll down to the Channel access token section

e. Issue and copy the Channel access token
If you haven't issued a Channel access token yet, please click Issue:

Then you can obtain and copy your Channel access token:

5. Go to your MaiAgent chat platform and select LINE
a. Click on Connect Chat Platform in the upper right corner

b. Select LINE as the connection platform

6. Enter the name, select the assistant, and paste the Channel ID, Channel Secret, and Channel Access Token you just obtained
Name: The AI assistant name you want to display on the website
AI Assistant: Select the AI assistant you want to connect
LINE Channel: Enter your "Channel ID", "Channel Secret", "Channel Access Token"
After completion, click the "Connect Chat Platform" button in the lower right corner, and the chat platform will be ready.

7. Obtain Webhook URL
Go to the chat platform, select the LINE channel you just created, click on operations, and obtain the Webhook URL in the API section

8. On https://manager.line.biz/, click "Settings/Messaging API" and paste the Webhook URL you just obtained

9. Return to the Messaging API channel you just created on https://developers.line.biz/console/ to configure chat settings
Click the Edit button under Auto-reply messages

Adjust the response settings as shown below

10. Verify successful connection
You can try adding your own LINE AI Assistant account for a conversation

If the related conversations can be viewed on https://manager.line.biz/ and in all MaiAgent conversations, it means the connection was successful!

⚠️ Important Notes
Restrictions
A LINE group can only add one AI assistant
Newly added AI assistants will cause the previous one to be automatically removed
Last updated
Was this helpful?
