This bot is part of the #OBAW Github project - Week 0x0006 - Star Wars
Medium publication project page #OBAW Medium
Medium publication Star Wars page #OBAW Star Wars
A SWAPI-powered bot using Recast.AI NLP and Bot Connector
Follow the instructions below to create your own instance of the bot:
-
Make sure you are logged in to the Heroku Dashboard
-
Click the button below to deploy the Messenger bot on Heroku:
-
Fill in the config variables as described.
- For BC_USER_SLUG blank for now (filled at step 2)
- For BC_BOT_ID blank for now (filled at step 2)
- For BC_USER_TOKEN blank for now (filled at step 2)
- For RE_BOT_TOKEN blank for now (filled at step 3)
-
Make sure you are logged in to your Bot Connector account
-
Click the button New Bot and define the bot as follows
- Bot Name: Star Wars Bot
- Bot URL: enter your Heroku URL + /webhook (MY_HEROKU_URL.heroku.com/webhook)
-
In Settings find your
slug
,token
andbot ID
. Copy paste those values in the Config Variables section of your Heroku app toBC_USER_SLUG
,BC_USER_TOKEN
andBC_BOT_ID
-
Get back to your Bot Connector account and add a Messenger channel. Give it a name and follow step 1 to 4 in order to get your Secret Key & Page Token
- Make sure you are logged in to your Recast.AI account
- Follow this link Star Wars Wiki Bot and fork the bot to your account
- Copy paste your
bot request access token
in the Config Variables section of your Heroku app toRE_BOT_TOKEN
- You're all set !
PE Lieb @pedward_lieb
You can follow us on Twitter at @recastai for updates and releases.