# Getting started with the Messaging API

There are 2 ways to create a bot using the Messaging API.

# Creating a channel on the LINE Developers Console

This section explains how to create a channel on the LINE Developers Console.

What's a channel?

A channel is a communication path for using the functions provided by the LINE Platform in the services developed by the provider. To use the LINE Platform, create a channel and associate your service with the channel. Channels must have a name, description, and icon image. When a channel is created, a unique channel ID is issued to identify the channel.

Channel

# Step 1: Log in to the LINE Developers Console

Log in to the LINE Developers Console with the email address and password of your LINE account or a QR Code displayed on the login screen.

Note

If you don't have a LINE account, download LINE (opens new window) and create your LINE account.

Log in to LINE Developers Console

LINE Login dialog

# Step 2: Register as a developer (only on first login)

When you first log in to the LINE Developers Console, enter your name and email address to create a developer account.

Developer registration

# Step 3: Create a new provider

  1. From the Console home, click the Create a new provider button.

    If you can't find the Create a new provider button

    If you've already created a provider, the Create a new provider button will not be displayed on the Console home. If you want to create another one, click the Create button in the Providers section on the Console home.

    Create button in the Providers section

  2. Enter any Provider name on the Create a new provider screen, and click the Create button.

    The provider is the entity that offers the service of your app. You can choose to use any name, such as your own name or the name of your company.

    Create a provider

# Step 4: Create a channel

In the Channels tab of the provider page you created, click Create a Messaging API channel.

Channels tab of Sample provider

Enter the required information for your channel. "LINE" or a similar string can't be included in the channel name.

Create a channel

The following information on the Messaging API channel settings is displayed to users:

Basic settings tab:

Items Display
Channel icon (optional) LINE chat screen, Icon (if you have LIFF created)
Channel name LINE chat screen
Channel description LIFF permission consent screen (only if you have LIFF created)
Privacy policy URL (optional) LIFF permission consent screen (only if you have LIFF created)
Terms of use URL (optional) LIFF permission consent screen (only if you have LIFF created)

# Step 5: Confirm a channel

Confirm that a channel has been created.

Sample Channel detail

The channel you've created will also be applied to the LINE Official Account Manager

LINE Official Account Manager (opens new window) also displays the LINE Official Account that corresponds to this channel. You can start to configure the LINE Official Account.

LINE Official Account Manager account list

# Adding a Messaging API channel to a LINE Official account created with LINE for Business or other methods

Enable the use of the Messaging API in the LINE Official Account Manager to use the LINE Official Account created with LINE for Business or other methods in bot mode.

# Step 1: Enable the use of the Messaging API

When enabling the use of the Messaging API in the LINE Official Account Manager (opens new window), a Messaging API channel is created. For more information, see Settings Overview (opens new window).

During the process, you are prompted to select a provider to manage your LINE Official Account. If you plan to link your account to other LINE Login channels or other channels, select the same provider as the channel.

Note

The provider can't be changed later.

# Step 2: Log in to the LINE Developers Console

The created Messaging API channel can be configured in the LINE Developers Console. Log in to your LINE Developers Console with the same LINE account as your LINE Official Account Manager.

LINE Login screen

# Step 3: Register as a developer (only on first login)

When you first log in to the LINE Developers Console, enter your name and email address to create a developer account.

Developer registration

# Step 4: Confirm a channel

Select a provider and confirm that a channel has been created.

Console home

# Next steps

You have now created a channel for your bot. Next, configure your channel to build your own bot or to deploy a sample bot.