Skip to content

kiwari-engineering/chataja-samplebot-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatAja! Bot Webhook Sample with Phyton

Requirements

How to run

  • Clone this repository and install dependencies requirements.txt
$ git clone https://gitlab.playcourt.id/iskandarsuhaimi/webhook-kiwaribot-sample-python.git
$ cd webhook-kiwaribot-sample-python
$ pip3 install -f requirement.txt
  • Go to Jelajah menu

  • chat with Chatbot Builder

  • Create bot and get access_token

  • Copy and Paste to controller.py

  • Run webhook server

$ export FLASK_APP=index.py
$ export FLASK_ENV=development
$ flask run
  • Tunneling your webhook server
$ ngrok http 5000
  • Register your webhook url by copy your ngrok https url from CLI, then input it into Chatbot Builder

  • Enjoy!

About

develop with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages