Skip to content

Defining the credentials.yml file

Philip Mutua edited this page Jan 13, 2023 · 1 revision

Here's an example of how you might configure the credentials.yml file for a real estate agent bot to integrate with Facebook, WhatsApp, and Slack:

facebook:
  verify: "your_facebook_verify_token"
  secret: "your_facebook_secret_key"
  page-access-token: "your_facebook_page_access_token"

whatsapp:
  account_sid: "your_whatsapp_account_sid"
  auth_token: "your_whatsapp_auth_token"
  phone_number: "your_whatsapp_phone_number"

slack:
  slack_token: "your_slack_token"
  slack_channel: "your_slack_channel"

The facebook section is used to configure the credentials for the Facebook Messenger integration. You will need to provide the verify token, secret key, and page-access-token that you obtained from the Facebook Developers website. The whatsapp section is used to configure the credentials for the WhatsApp integration. You will need to provide the account_sid, auth_token, and phone_number that you obtained from the Twilio website. The slack section is used to configure the credentials for the Slack integration. You will need to provide the slack_token and slack_channel that you obtained from the Slack API website.

Please note that the credentials in the above example are just placeholders, you should replace them with the actual credentials for your bot. Also, you need to configure the channels in the `

Clone this wiki locally