---
updatedAt: 2025-11-03T17:18:08.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Publish Your Bot on Line

## Create your LINE Business account

* Go to  <https://manager.line.biz/>
* Click **Create an account**.
* Click **Sign up with email** and follow the prompts to create an account.
* You will be redirected to the **LINE Official Account Manager** webpage. Click on the **Create LINE official account** button.

<Image title="LINE 2.jfif" alt="Create LINE official account" align="center" border={true} src="https://files.readme.io/2c006d4-LINE_2.jfif">
  Create LINE official account
</Image>

* Provide the required information and submit the application for a LINE business account.
* Once done, your LINE official account will be ready.

<Image alt="LINE business account created" align="center" border={true} src="https://files.readme.io/5804acd-Screenshot_2023-02-15_at_3.54.45_PM.png">
  LINE business account created
</Image>

> 📘
>
> You can copy and save the Basic ID provided by the LINE team. This Basic ID will be used in the future communications.
>
> You can also find this Basic ID in the **[LINE Official Account Manager](https://manager.line.biz/)** page in the top pane.

## Create a LINE Developers account

* Go to [LINE Developers Console](https://developers.line.biz/console/).
* If not already logged in, click **Log in with business account** to log in.
* Enter the **Developer Name** and **Your Email**.
* Click on the checkbox after referring to the **LINE Developers Agreement**.
* Click the **Create my account** button.

### Create a new provider

* Once you create the LINE Developer account, you will be prompted to create a new provider. Click the **Create a new provider** button.

<Image alt="Create a new provider" align="center" border={true} src="https://files.readme.io/7d1bbd7-Screenshot_2023-02-15_at_4.08.56_PM.png">
  Create a new provider
</Image>

* Enter a provider name and click **Create** to confirm.

> 📘
>
> Learn more about **Providers** [here](https://developers.line.biz/en/docs/line-developers-console/overview/).

### Create a LINE Messaging API channel

* Go to the **Providers** drop-down list in the sidebar.
* Click on the newly created provider and go to the **Channels** tab.
* Click on the **Create a Messaging API channel** option.

<Image alt="Creating a Messaging API channel" align="center" border={true} src="https://files.readme.io/906bb90-Screenshot_2023-02-15_at_4.14.17_PM.png">
  Creating a Messaging API channel
</Image>

* Provide the required information and mark the checkboxes after referring to the terms of use.
* Click the **Create** button and verify the information like **Channel name, Official Account name, and Provider**.
* Click the **OK** button in the confirmation popup window.

### Get Webhook URL and Public Key JSON

* Log in to the Gupshup website.
* Go to the **Dashboard** tab > **My Bots** section.
* Select the button under the **Publish** column against the bot you wish to publish.
* A list of channels will appear. Click on the **Publish** button against **LINE**.
* Scroll down the information and click **Configure the channel**.
* Copy the **Webhook URL**.
* Scroll a bit down and you will find an option to **Generate Public Key**
* Click on **Generate Public Key** and copy the JSON public key.

> 👍 Pro Tip
>
> You should save this webhook URL and public JSON key to the clipboard as these will be used in the later procedures.

### Configure the channel

* Go to the channel you created for the bot.
* Go to the **Messaging API** tab.

<Image title="LINE 11.jfif" align="center" className="border" border={true} src="https://files.readme.io/eac4ea2-LINE_11.jfif" />

* Under **Webhook settings**, click the **Edit** button in the **Webhook URL** section.
* Enter the **Webhook URL** copied earlier and click **Update**.
* Scroll down to the **LINE Official Account features** section and click **Edit** against any option.
* You will be redirected to the **Settings** page. Click the **Response settings** in the left sidebar.
* Disable **Greeting messages**, and **Auto-response messages**. Enable **Webhooks** under **Toggle responses**.

<Image alt="Toggle responses" align="center" border={true} src="https://files.readme.io/0e4cf2c-Screenshot_2023-02-15_at_4.32.18_PM.png">
  Toggle responses
</Image>

* Go to the [LINE Developers](https://developers.line.biz/) website. If you are not logged in, log in with your credentials.
* Click the **Console** tab.

<Image alt="Console tab " align="center" border={true} src="https://files.readme.io/96bf32d-Screenshot_2023-02-15_at_4.47.49_PM.png">
  Console tab 
</Image>

* Click and open the **Provider** you created and select the **Messaging API** channel under **Channels** tab.

<Image alt="Selecting messaging API channel" align="center" border={true} src="https://files.readme.io/eb9b787-Screenshot_2023-02-15_at_4.52.52_PM.png">
  Selecting messaging API channel
</Image>

* Under the **Basic settings** tab, scroll down and click the **Register a public key** adjacent to the **Assertion Signing Key** section.
* Enter the JSON for the public key copied earlier and click **Register**.
* Copy the **KID** displayed in the popup for later use.

## Submit credentials to Gupshup

To do so, please follow the steps below:

* Log in to the Gupshup website.
* Go to the **Dashboard** tab > **My Bots** section.
* Select the button under the **Publish** column against the bot you wish to publish.
* A list of channels will appear. Click on the Publish button against **LINE**.
* Scroll down and click **Submit KID and Channel ID**.

> 📘
>
> Channel ID can be found under the **Basic Settings** tab of the [LINE channel](https://developers.line.biz/console).

* Click **Submit**.

## Supported message types on LINE

* Text message
* Sticker message
* Image message
* Video message
* Audio message
* Location message
* Imagemap message
* Template message (Buttons template, Confirm template, Carousel template, Image carousel template)
* Flex Message

> 📘
>
> To know more about supported message types, click [here](https://developers.line.biz/en/docs/messaging-api/message-types/).