Connect your Pandorabot to a Twilio phone number.
You'll need to sign up for a plan on Chatbots.io to get an application ID and user key. Once you've done this, you'll need to create a bot via the API (more on this here)
You also need a Twilio account and an SMS enabled phone number.
Note: this sets your Heroku app up with a free RedisToGo plan - this is fine for demonstration purposes, but you'll probably need to upgrade if you forsee your bot getting significant attention.
Clone the repository, then:
$ npm install
Create a .env file for configuration variables:
NODE_ENV=development PORT=3000 TWILIO_AUTH_TOKEN= PANDORABOTS_APP_ID= PANDORABOTS_USER_KEY= PANDORABOTS_BOTNAME= PANDORABOTS_URL=
You can use ngrok to tunnel HTTP requests to your localhost. Download the command line tool, and run:
$ ngrok http 3000
This will give you a public URL that will forward requests to localhost:3000. You'll need to make sure your TwiML App's Request URL is set to this.