| sidebar_label | title |
|---|---|
Line App |
Setup Line app integration on your local machine |
To work with the Line integration on your local machine, do the following:
-
Start a Ngrok server listening at port
3000or the port you will be running the Chatwoot installation. -
Update the .env variable FRONTEND_URL in Chatwoot with the
httpsversion 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.