Help Center
Help center allows you to create a portal and add articles from the chatwoot app dashboard. You can point to these help center portal articles from your main site and display them as your public-facing help center.
How to get SSL certificate for your custom domain
Create a Portal in Chatwoot's dashboard
Follow these step to create your Portal. Refer to this guide.
Point your custom domain to your Chatwoot domain
-
Go to your DNS provider and add a new CNAME record.
- For the above example, add docs as a CNAME record and point it to the your selfhosted chatwoot domain(FRONTEND_URL).
-
This will ensure that your CNAME record points to the selfhosted Chatwoot installation. For your custom domain, we have your portal information. In this case,
docs.example.com
Setting up SSL
- Use certbot to generate SSL certificates for your custom domain.
certbot certonly --agree-tos --nginx -d "docs.example.com"
-
Create a new nginx config to route requests to this domain to Chatwoot. Make a copy of
/etc/nginx/sites-available/nginx_chatwoot.conf
and make necessary changes for the new domain. -
Restart nginx server.
sudo systemctl restart nginx
Voila!
docs.yourdomain.com
is live with a secure connection, and your portal data is visible.
How does this work?
These are the engineering details to understand How does docs.yourdomain.com
gets the portal data with SSL certificate.
docs.yourdomain.com
resolves by customers nameserver and redirects to your Chatwoot domain.- Chatwoot check for the portal record with custom-domain
docs.yourdomain.com
- Redirects to the portal records for the domain
docs.yourdomain.com
Yaay!!
Now you can have your own help-center, product-documentation related portal saved at Chatwoot dashboard and served at your domain with SSL certificate.