This document helps you to configure Cloudfront as the asset host for Chatwoot. If you have a high traffic website, we would recommend setting up a CDN for Chatwoot.
Step 1: Create a Cloudfront distribution.
Step 2: Select "Web" as delivery method for your content.
Step 3: Configure the Origin Settings as the following.
Step 4: Configure Cache behaviour.
Step 5: Click on Create Distribution. You will be able to see the distribution as shown below. Use the Domain name listed in the details as the ASSETCDNHOST in Chatwoot.
Your Cloudfront URL will be of the format
in the environment variables.