Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 920 Bytes

File metadata and controls

40 lines (29 loc) · 920 Bytes

ChatAja! Bot Webhook Sample with Ruby

Requirements

How to run

  • 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 Jelajah menu

  • chat with Chatbot Builder

  • Create bot and get access_token

  • Copy and Paste to chat_controller.rb class

  • 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!