- Ruby
- Ruby on Rails
- Bundler
- ngrok
- Bot Access Token (you can chat with Chatbot Builder in
Jelajahmenu)
- Clone this repository and install dependencies
Gemfile
$ git clone https://gitlab.playcourt.id/iskandarsuhaimi/webhook-kiwaribot-sample-ruby.git
$ cd webhook-kiwaribot-sample-ruby
$ bundle install-
Go to
Jelajahmenu -
chat with
Chatbot Builder -
Create bot and get
access_token -
Copy and Paste to
chat_controller.rbclass -
Run webhook server
$ rake db:create db:migrate
$ rails server- Tunneling your webhook server
$ ngrok http 3000- Register your webhook url by copy your ngrok https url from CLI, then input it into
Chatbot Builder - Enjoy!