--- title: GDG hackthon party tags: GDG, chatbot --- Github: [Bottender](https://github.com/Yoctol/bottender) ```bash= npx bottender dev --console ``` # NLU 1. Bottender dialogflow 標記實體參考 [URL](https://ithelp.ithome.com.tw/articles/10226833) 2. 開放 Dialogflow API 金鑰[網址](https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually) 3. Bottender - dialogflow[說明](https://bottender.js.org/docs/advanced-guides-nlu?utm_source=Facebook&utm_medium=chatbotDeveloperTw&fbclid=IwAR2k6BMspUYWiipG8ZBjbkjyycUvezFvaXCD7XYleSGWqJVOudzWOuB-47I) # Messager [Day 6 Messenger](https://ithelp.ithome.com.tw/articles/10218682) bottender bot need to change for `true` ```bash= // .env MESSENGER_PAGE_ID= MESSENGER_ACCESS_TOKEN= MESSENGER_VERIFY_TOKEN= MESSENGER_APP_ID= MESSENGER_APP_SECRET= ``` ```javascript= npx bottender dev ``` ```javascript= npx bottender messenger webhook set ``` ngrok url: http://127.0.0.1:4040/ ![](https://i.imgur.com/vNUTR7i.png) ![](https://i.imgur.com/sJHi3rn.png) # LINE