How to set up chat widget on Freshdesk
Setting up a chat widget on Freshdesk involves enabling Freshchat from your admin panel, customizing the widget appearance, and adding the generated code to your website. The process takes about 10-15 minutes and requires admin permissions.
Prerequisites
- Active Freshdesk account with admin access
- Website where you want to install the chat widget
- Basic understanding of HTML/website editing
Step-by-Step Instructions
Access Freshchat Settings
Enable Chat Widget
Customize Widget Appearance
- Widget theme and color scheme
- Welcome message and offline message
- Widget position (bottom-right, bottom-left, etc.)
- Business hours and timezone
Set Up Chat Routing
- Default agent assignment
- Department-based routing
- Business hours availability
Generate Widget Code
<script src="https://widget.freshworks.com/widgets/[your-widget-id].js"></script>Install Widget on Website
</body> tag. If using a CMS like WordPress, add it to your theme's footer.php file or use a code injection plugin.Test Chat Functionality
- Sending a test message
- Checking message delivery in Freshdesk
- Verifying offline behavior
- Testing on mobile devices
Common Issues & Troubleshooting
Chat widget not appearing on website
Verify the widget code is placed correctly before the </body> tag and check if any ad blockers or firewalls are blocking the Freshworks domain. Clear browser cache and check browser console for JavaScript errors.
Widget appears but messages not reaching Freshdesk
Check your Routing Settings and ensure at least one agent is assigned and available. Verify that business hours are configured correctly and the chat service is enabled in your Freshdesk admin panel.
Widget styling conflicts with website design
Use custom CSS to override widget styling or adjust the widget position in Appearance Settings. Add custom CSS rules with !important declarations to ensure they take precedence over default widget styles.
Chat widget loading slowly
Ensure the widget script is loaded asynchronously and placed at the bottom of your page. Check your website's loading speed and consider using a CDN. Contact Freshworks support if the issue persists across multiple websites.