LINE Bot Configuration
Configure your LINE Official Account's bot settings to enable automated responses, messaging capabilities, and secure webhook communication.
What you'll achieve
A fully configured LINE bot with secure webhook communication, automated responses, and proper API credentials for message handling through Fiko's unified inbox.
Prerequisites
LINE Official Account with Messaging API Enabled
You must have completed the basic LINE Official Account setup and enabled the Messaging API through LINE Manager.
LINE Developers Console Access
Access to LINE Developers Console with admin permissions for your LINE Official Account provider.
HTTPS Environment
The configuration process requires HTTPS or localhost for security key generation. Make sure you're accessing Fiko over a secure connection.
Fiko Admin Access
Admin-level permissions in your Fiko account to configure channel integrations and manage bot settings.
Bot Configuration Process
Follow these steps to configure your LINE bot with secure authentication and webhook communication. Each step builds upon the previous one.
Access LINE Developers Console
Navigate to the LINE Developers Console to manage your bot configuration.
- Open the LINE Developers Console at developers.line.biz
- Log in with your LINE account that has provider access
- Select your provider (created when you enabled Messaging API)
- Find and click on your Messaging API channel
Retrieve Channel Credentials
Collect your Channel ID and Channel Secret for secure API authentication.
- In your Messaging API channel, go to the "Basic settings" tab
- Copy the Channel ID (a long numeric string)
- Scroll down to find the Channel Secret
- Click "Issue" if no Channel Secret is shown, then copy it
- Keep these credentials secure — you'll need them in Fiko
Security Note: Channel Secret is like a password. Never share it publicly or store it in unsecured locations. Fiko encrypts and securely stores these credentials.
Configure Webhook Settings
Set up secure webhook communication between LINE and Fiko.
- Go to the "Messaging API" tab in your channel settings
- Find the "Webhook settings" section
- Copy the webhook URL provided by Fiko (shown during setup)
- Paste it in the "Webhook URL" field
- Enable "Use webhook" toggle
- Click "Verify" to test the webhook connection
Webhook URL Format: Fiko automatically generates a unique, secure webhook URL for your integration. This URL is specifically configured for your company and LINE channel.
Public Key Registration
Register your public key for secure message signature verification.
- Stay in the "Messaging API" tab
- Scroll down to find "Channel access token v2.1" section
- Click "Create" next to "Assertion signing key"
- You'll see a Kid ID — copy this value
- Copy the public key that Fiko automatically generated for you
- Register the public key by pasting it in the LINE console
Automatic Key Generation: Fiko automatically generates a secure RSA-2048 key pair using Web Crypto API. The private key stays securely in Fiko, while you register the public key with LINE.
Generate Channel Access Token
Create the access token that Fiko will use to send messages via LINE API.
- In the same "Channel access token v2.1" section
- Click "Issue" next to "Channel access token"
- Copy the generated access token immediately
- Paste this token into Fiko's setup form
- Fiko will validate the token and complete the integration
Important: The access token is shown only once. Copy it immediately and paste it into Fiko. If you lose it, you'll need to issue a new token and update your configuration.
Testing Your Bot Configuration
Bot Configuration Test Steps
- Complete the setup process in Fiko by entering all credentials
- Wait for Fiko to validate your access token and create the channel
- Go to your LINE Official Account chat (scan QR code or search by ID)
- Send a test message from your personal LINE account
- Check that the message appears in Fiko's unified inbox
- Reply from Fiko and verify it appears in your LINE chat
Success Indicators: Messages flow in both directions within 5–10 seconds, message status updates correctly, and your bot responds through Fiko's interface.
Troubleshooting Common Issues
Webhook Verification Failed
- Ensure you're using the exact webhook URL provided by Fiko
- Check that the URL starts with https:// (HTTP is not supported)
- Verify Fiko's webhook endpoint is accessible and responding
- Try disabling and re-enabling the webhook toggle
Access Token Validation Failed
- Ensure you copied the complete access token without extra spaces
- Check that the token hasn't expired (tokens can expire if unused)
- Regenerate a new access token in LINE Developers Console
- Verify the Channel ID and Channel Secret are correct
Public Key Registration Problems
- Ensure you're using HTTPS or localhost (required for key generation)
- Clear browser cache and regenerate keys if needed
- Copy the public key exactly as shown in Fiko (JSON format)
- Verify the Kid ID matches exactly between LINE and Fiko
Next Steps
Message Management
Learn how to handle LINE conversations, rich messages, and customer interactions.
Learn Management