# Chatwoot support
Chatwoot (opens new window) is a customer support tool for instant messaging channels which can help businesses provide exceptional customer support.
# How to use
- Connect as root to your server
- create chatwoot configuration file where
{CONFIG DATA HERE}
is replaced by settings from here (opens new window)
sudo su -
cd btcpayserver-docker
cat >> Generated/chatwoot-config.env <<EOL
{CONFIG DATA HERE}
{CONFIG DATA HERE}
EOL
- Add chatwoot as an option to your BTCPay deployment and set the host to use (point DNS to server as well)
CHATWOOT_HOST="chatwoot.xpayserver.com"
BTCPAYGEN_ADDITIONAL_FRAGMENTS="$BTCPAYGEN_ADDITIONAL_FRAGMENTS;opt-add-chatwoot"
. btcpay-setup.sh -i
- Wait for BTPay to be online and then create the database for chatwoot
docker exec -ti chatwoot sh -c "export DISABLE_DATABASE_ENVIRONMENT_CHECK=1 && bundle exec rails db:reset"
- Go to chatwoot website at https://chatwoot.xpayserver.com and set up.