-
Notifications
You must be signed in to change notification settings - Fork 0
Attaching Greenbot to TSG Networks
Thomas Howe edited this page Apr 16, 2016
·
2 revisions
The TSG interface will be enabled when the following environment variables are set on startup:
- TSG_CALLBACK_HOST= like "http://localhost", the root URL or IP address for incoming message POST. Must be public.
- TSG_COBRA_KEY= key required to change URL for incoming messsages
- TSG_SECRET= key required to send outbound messages
On startup, you should see something like
Configuring the TSG Adapter
tsg server listening
Greenbot started
Connected to the DB
Connected to the DB
Package connection to db established
Updated network list
on a successful configuration. You should also see the TSG selection available in the network tab.
To add a number or another network handle to a bot in the portal, go the network tab of the bot, and go to the Add Network Handle section. Select the TSG network, and the phone number you are specifying (you need the one). If you want the bot to respond a particular keyword, specify that as well. If you want the bot to be the default, leave this value blank.