Platform Integration: LINE

Pre-integration Checklist

Start Integration

1. Go to https://manager.line.biz/ and select the official account you want to integrate

Select MaiAgent Testing:

After selecting, you will enter the official account settings screen:

2. Click 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 selection, click Agree

c. Submit privacy policy documents (optional)

Next, you can submit your company's internal privacy policy document URL. After completion, click "ok" to proceed to the final confirmation.

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 and click on the MaiAgent Testing Channel you just created

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

e. Issue and copy the Channel access token

If you haven't issued a Channel access token yet, click Issue:

Then you'll get your Channel access token and can copy it for use:

5. Go to your MaiAgent chat platform and select LINE

a. Click Connect Chat Platform in the upper right corner

b. Choose LINE as the integration platform

6. Enter name, select 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 to integrate

  • LINE Channel: Enter your "Channel ID", "Channel Secret", and "Channel Access Token"

After completion, click the "Connect Chat Platform" button in the lower right corner, and the chat platform will be ready.

7. Get Webhook URL

Go to the chat platform, select the LINE channel you just created, click operations, and get the Webhook URL in the API section

8. Go to 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 at https://developers.line.biz/console/ to configure chat settings

Click the Edit button under Auto-reply messages

Adjust the response settings as shown in the image below

10. Verify if the integration is successful

You can try adding your own LINE AI Assistant account to start a conversation

If the related conversations can be viewed in both https://manager.line.biz/ and MaiAgent's all conversations, it means the integration is successful!

⚠️ Important Notes

Limitations

  • LINE groups can only add one AI assistant

  • Adding a new AI assistant will automatically remove the previous one

Last updated

Was this helpful?