This guide walks you through the complete setup required to send LINE messages from Engage Studio campaigns. Setup involves three steps: preparing your LINE Official Account, registering authentication credentials in Integration Hub, and configuring a LINE Sender Account in Engage Studio.
- An active LINE Official Account with Messaging API enabled
- Channel Secret and Channel Access Token from the LINE Developers Console
- LINE User IDs stored in your Treasure Data CDP profiles (collected via LIFF, LINE Login API, or external import)
- Access to Integration Hub in Treasure Data to create authentication credentials
- A TD Write-only API Key for delivery log writes
If you do not yet have a LINE Official Account with Messaging API enabled:
- Sign in to LINE Official Account Manager.
- Create or select your LINE Official Account.
- Go to Settings > Messaging API.
- Click Enable Messaging API and link to a LINE Developers channel.
From the LINE Developers Console:
- Select your channel (Provider > Channel).
- On the Basic Settings tab, copy the Channel Secret.
- On the Messaging API tab, issue or copy a Channel Access Token (long-lived).
Integration Hub stores your LINE API credentials securely and makes them available to Engage Studio. To create a new Authentication, select LINE OA Streaming Output from the connector catalog.
In Treasure Data, go to Integration Hub.
In the connector catalog, search for LINE OA Messaging.
Select LINE OA Messaging Output and click Add Authentication.
Enter the following:
Field Description Name A recognizable label for this credential (e.g., My Brand LINE OA)Channel Access Token The token obtained from LINE Developers Console Click Save. The credential is now available for selection in Engage Studio.
A LINE Sender Account links an Integration Hub credential to Engage Studio and configures where delivery logs are written.
- In Engage Studio, go to Configurations.
- Click the LINE OA Configurations tab.

Click + Create LINE OA configuration.
Fill in the following fields:
Field Description Notes Name Display name for this configuration Must be unique within your account Linked LINE OA Authentication Select the Integration Hub credential created in Step 2 Click Create LINE OA authentication to create a new one Treasure Data Write-only API Key API key used to write delivery logs to Treasure Data Delivery log database name Enter the suffix for the delivery log database Database name is prefixed with delivery_line_. Use only letters (a-z, A-Z), numbers (0-9), and underscores (_)

- Click Save.
You cannot delete a LINE Sender Account that is referenced by campaigns with the status Planned, Active, or Finished. To delete, first cancel any associated campaigns.
LINE Sender Accounts must be assigned to one or more Workspaces before they can be used in campaigns.
- In Engage Studio, go to Configurations > Workspaces.
- Click Edit on the workspace where you want to enable LINE campaigns.
- In the LINE OA Configurations field, select one or more LINE Sender Accounts.
- Click Save.
Once assigned, users in that workspace can select the LINE Sender Account when creating LINE campaigns.
After completing setup, you are ready to create a LINE campaign: