Setup Line app integration on your local machine
Please follow the steps if you are trying to work with the Telegram integration on your local machine.
- Start a Ngrok server listening at port
3000
or the port you will be running the Chatwoot installation. - Update the .env variable FRONTEND_URL in Chatwoot with the
https
version of the Ngrok URL. - Start the Chatwoot server and create a new Line channel with the below values obtained from Line Developer Console under the "Messaging API" channel.
- Channel Name
- LINE Channel ID
- LINE Channel Secret
- LINE Channel Token
After creating the channel, Chatwoot will provide a webhook URL for the channel. You can configure this webhook url in the Line Developer Console under the "Messaging API" channel.
If the webhook is registered correctly with Line, your Ngork server should receive events for new Line messages, and new conversations will be created in Chatwoot.