LINE Bot Setup Guide
Learn how to create and configure your LINE bot to connect with your custom super agent.
📖 How to Create and Configure a LINE Bot
1
Go to LINE Developers Console
Go to the LINE Developers Console and sign in with your LINE account.
- Click on "Create a new provider" or select an existing provider
2
Create a Messaging API channel
In your provider page, create a new Messaging API channel:
- Click "Create a Messaging API channel"
- Fill in the required information (Channel name, Description, etc.)
- Agree to the terms and create the channel
3
Enable Messaging API and Get Credentials
After creating your channel, go to the channel settings:
- Enter your Channel
- Go to Settings → Messaging API
- Click "Enable Messaging API"
- Select the provider you created in step 1
- After enabling, you can get the credentials you need:
- Channel ID: Found in the Messaging API settings
- Channel secret: Found in the Messaging API settings
- Channel access token: Issue a long-lived channel access token in the same page
Important: Keep these credentials secret! Never share them publicly.
4
Issue Channel Access Token
Go to LINE Developers Console and navigate to your provider → channel → Messaging API:
- Find the "Channel access token" section
- Click "Issue" to create a long-lived channel access token
- Copy this token - you'll need it for registration
Note: The token will only be shown once, so make sure to copy it immediately!
5
Configure Your Agent
Publish your agent to LINE from the Custom Super Agent platform:
- On the Develop page of the agent, click Publish.
- Find the LINE channel and click Configure.
- Enter the Channel ID, Channel Secret, and Channel Access Token, then click Save.
- Select the LINE channel, then click Publish.
Note: The system will automatically configure the webhook URL when you publish your agent.
6
Enable Webhook in LINE
Configure webhook settings in LINE Developers Console:
Note: In the LINE Developers Console, under "Messaging API" tab:
- Turn ON "Use webhook"
- The webhook URL will be automatically set when you publish
- Make sure "Allow bot to join group chats" is enabled if you want to use the bot in groups
7
Start Using Your Bot
Once configured, you can:
- Add bot as friend: Scan the QR code in LINE Developers Console to add your bot
- Private chats: Send any message to your bot
- Group chats: Invite your bot to a group and @mention it to interact
- Use
clearto clear chat history - Use
debugto view conversation details - Use
helpfor command list