Skip to content

kiwari-engineering/chataja-samplebot-ruby

Repository files navigation

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!

About

develop with ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •