> For the complete documentation index, see [llms.txt](https://documentation.proto.cx/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.proto.cx/docs/modules/ai-agents/publishing/line.md).

# LINE

{% hint style="info" %}
Publish to LINE with the Total plan and above.
{% endhint %}

{% hint style="warning" %}
Requires a LINE account with access to the LINE Developers Console.
{% endhint %}

Publishing to LINE lets your audience interact with the AI agent — and later a [live agent](/docs/modules/ai-agents/workflows-and-actions/human-handoff.md) — in a LINE thread.

In the agent's **Publish** tab, create a LINE channel or select an existing one to open its settings.

***

## Basic settings

| Setting                   | Description                                                                         |
| ------------------------- | ----------------------------------------------------------------------------------- |
| **Name**                  | Internal name distinguishing this channel from other LINE instances.                |
| **Default chat language** | Set from the agent's [Agent settings](/docs/modules/ai-agents/manage-ai-agents.md). |
| **Icon**                  | The channel's avatar, seen by live agents in the [Inbox](/docs/modules/inbox.md).   |

Select **Save** to confirm edits.

***

## Connect to LINE

Three values are required from the LINE Developers Console: **Channel ID**, **Channel secret**, and **Access token**. You'll also integrate a Proto webhook.

{% tabs %}
{% tab title="Channel ID & secret" %}

1. Log in to the [LINE Developers Console](https://developers.line.biz/console/register/messaging-api/provider/) with your LINE account.
2. On first login, register as a developer.
3. Create a new **provider** or select an existing one — this can't be changed later.
4. Create a **channel** and confirm.
5. In the channel's basic settings, copy the **Channel ID** and **Channel Secret** into Proto's LINE configuration.
   {% endtab %}

{% tab title="Proto webhook" %}

1. In the LINE Developers Console, go to the channel's **Messaging API** tab.
2. Under Webhook, select **Edit** and paste in Proto's Webhook URL.
3. You'll be redirected to LINE Official Account Manager's Response settings. Set:

| Setting          | Value       |
| ---------------- | ----------- |
| Chat             | Enabled     |
| Greeting message | Disabled    |
| Webhooks         | Enabled     |
| Response Hours   | Enabled     |
| Response Method  | Manual Chat |
| {% endtab %}     |             |
| {% endtabs %}    |             |

***

## Voice messages

LINE supports voice via ASR (speech-to-text) and TTS (text-to-speech).

| Direction          | Behaviour                                                                          |
| ------------------ | ---------------------------------------------------------------------------------- |
| **Inbound voice**  | Voice messages are automatically transcribed and processed as standard text input. |
| **Outbound voice** | AI agent text responses can be delivered as audio using TTS.                       |

Voice capabilities require ASR and TTS to be enabled at the workspace level.

***

## Using LINE

In the LINE Developers Console, go to the channel's **Messaging API** tab and scan the QR code to add the AI agent as a friend — share the same QR code with your audience.
