Example Project: Conversation Translation bot for Drift.
Note this project is no longer actively maintained.
Requires a Google API key with access to the Google Cloud Transation service. You can create one from here: https://cloud.google.com/translate/.
You can find your Drift OAuth Access token by following the quick start here.
Once you create the Drift app, you should set the new_message
and button_action
webhooks and point to your deployed Heroku (or other service) instance of the babel-bot server with endpoint /api
.
-
heroku create
-
git push heroku master
-
heroku addons:create heroku-postgresql:hobby-dev
-
heroku config:set BOT_API_TOKEN={OAuth Access token}
-
heroku config:set GOOGLE_API_KEY={Google Api Key}