Creating a bot integration with the LINE channel
Learn how to integrate an IBM RPA chatbot with LINE™ channel if you use the IBM RPA on premises offering. This procedure includes a bot creation on LINE™, and the request of a chatbot instance.
Procedure
Follow the steps to create a LINE bot and request a chatbot instance:
- Creating a channel in the LINE Developers Console
- Getting values from your channel settings
- Configuring LINE webhook settings
- What to do next
Creating a channel in the LINE Developers Console
To create bots with LINE, you need to create a channel in the LINE Developers console. Follow the steps in the documentation below that are relevant to you before proceeding:
- If you already have a LINE Official account, see Adding a channel to your existing LINE Official Account 🡥.
- If you don't have a LINE account, see Creating a channel on the LINE Developers Console 🡥.
Getting values from your channel settings
Follow these steps on your channel's basic settings page:
- Scroll down to find the Channel secret. Copy the value and save it.
- Select the Messaging settings tab.
- Click the Issue button, in the Access Token field, at the bottom of the page.
- Copy and save the access token.
Configure your bot in Azure
- Open the Azure™ portal 🡥.
- Go to your resources and click the Azure Bot you want.
- From the Settings menu, click Channels > LINE button.
- Enter the following data in the displayed fields:
Channel Secret
Channel Access Token
- Select Apply.
- Copy and save the Webhook URL to use in next steps.
Configuring LINE webhook settings
- Log in to LINE Developers console 🡥
- Select the channel that you created.
- Select the Messaging API setting and find Webhook settings.
- Enter the Webhook URL from Azure and select Update.
- Select the Verify button under the URL.
- Enable Use webhook.
- Reload the page and verify that the changes were made.
What to do next
After creating your bot, it is time to test it to see if the creation was successful. Follow the next steps to validate your bot creation.
- Access Messaging API tab to see the bot's QR code.
- Using a mobile device with the LINE app installed, scan the QR code.
- You should now be able to interact with your bot in your mobile LINE app and test your bot.