Hi @Tobias_Wochinger ,
Thanks for the response! I worked at this for a couple days and think I understand the docker-compose deployment process a little better now. I was able to setup the custom connector on my EC2 instance with the following steps. Do these appear correct? Or is there a better way to go about accomplishing this?
Install Rasa X
curl -sSL -o install.sh https://storage.googleapis.com/rasa-x-releases/0.29.1/install.sh
bash ./install.sh
Create Connectors Directory
Once Rasa X is installed create a module within /etc/rasa to store the custom connection code.
cd /etc/rasa
mkdir connectors
touch connectors/__init__.py
touch connectors/custom_facebook.py
nano connectors/custom_facebook.py
Create docker-compose.override.yml
cd /etc/rasa
touch docker-compse.override.yml
nano docker-compose.override.yml
Within docker-compose.override.yml I’m pointing to the connectors module created above.
version: '3.4'
services:
rasa-production:
volumes:
- ./connectors:/app/connectors
rasa-worker:
volumes:
- ./connectors:/app/connectors
Update credentials.yml
Finally I’m adding the following to credentials.yml to allow my custom connector to be verified by Facebook.
connectors.custom_facebook.FacebookInput:
verify:
secret:
page-access-token:
Done!
Start Rasa-X and verify /webooks/custom_facebook/webhook through Facebook.