LINE

Connecting your space to LINE.

LINE is a popular messaging app in Asia, with over 800 million users. It's the main messaging app Japan and incredibly popular in Taiwan, Thailand, Turkmenistan and Indonesia. This integration with the LINE platform will allow you to manage your company account directly from the Rocketbots platform.

Line Logo

For a detailed list of features against the other channels, you can take a look at the comparison table.

Setting Up LINE

In order to connect LINE to your Space, you will need the following:

As soon as a LINE user gets in contact with your channel they will be added to your Rocketbots Space.

Create a LINE Provider

First, you will have to create a new LINE Channel to connect your Space to. Navigate to the LINE Developers Console.

Go ahead and press on "Add new provider" button if a provider doesn't exist yet. The provider in LINE facilitates the connection between Rocketbots and your Space.

Just name your provider, confirm and create.

You can name your provider anything you want. It will not be public.

Create a LINE Channel

If you already have a LINE Channel, you can skip this step. Just scroll down until you find the "Connecting to LINE" section.

If you don't own any LINE Channels yet, you will have the option to create one know. The process is quick simple.

1. Select Messaging API

Messaging API will skip the unnecessary parts of the channel creation

2. Give your LINE Channel a name, image, description, etc. Note: Select the "Developer Trial" plan if you are just looking to test the functionalities in private, select the "Free" plan if you are looking for this Channel to be public to all LINE users.

3. Confirm and verify the information. Done, you have a new LINE Channel.

Connecting to LINE

To add a new channel to an existing Space, navigate to Settings and select the blue "Add Channel" button under Manage Channels.

On the Rocketbots Platform, select the LINE Logo under the Channel Connection menu. Enter a suitable name for the channel (this name is private and will only visible to other Rocketbots' users.)

Once you have done so, you will need to add the LINE Channel ID, Channel Secret and Channel Access Token. All this information can be found in the LINE Developers Console, after selecting one LINE Channel.

LINE Channel ID and Channel Secret

Both the LINE Channel ID and Channel Secret can easily be found in the Channel Settings page of the LINE developers Console. Just copy them and paste them in the Rocketbots platform dialog.

This is how the ID and Secret look like in the Developers Console

LINE Channel Access Token

If you navigate a little bit down in the Channel Settings page of you LINE Developers Console you will find a section called "Messaging Settings", right next to the title there is an item called "Channel access token (long-lived)". Here is where will create the Access Token we need to complete the integration.

1. Click on the "Issue" button on the right.

2. Select 24 hours from the dropdown and click on "Issue".

3. Copy and paste the newly created Access Token to the Rocketbots Platform.

Finish Setup

Once you have collected all the information from your LINE Channel and pasted in the respective field of the integration dialog on Rocketbots, you have to click on "NEXT" to get the webhook URL we need to finished the integration. Copy the URL (we will need it) and click on "DONE" to finalize the Rocketbots part of this integration.

This is an example of how the webhook URL would look like.

Now just the final steps. Navigate back to the LINE Developers Console and in the Channel Setting go back to the "Messaging Settings" section, and follow this steps:

1. Enable Webhook in the "Use webhooks" item.

2. Paste the URL you just copied in the "Webhook URL" item.

3. Click on the "Verify" button on the right. You should get a "Success" Message.

4. Disable the "Auto-reply messages" and "Greeting messages" items. (optional)

.

Excellent, you did it! Any messages sent to your LINE Channel will now be received on your space on the Rocketbots Platform.