Add the chat widget to your website
Use this guide to install the TechlineHub chat widget on any website, including cPanel-hosted pages.
✅
Webfriendly
Open File Manager, edit the target site page or footer template, and paste the snippet before </body>.
<script>
window.TechlineChatConfig = {
apiUrl: 'https://techlinehub.com',
businessProfileCode: 'YOUR_PROFILE_CODE',
position: 'bottom-right',
theme: 'light',
};
</script>
<script src="https://techlinehub.com/js/techline-chat-embed.js"></script>
<div id="techlinehub-chat-widget"></div>
Replace
YOUR_PROFILE_CODE with your actual profile code from the profile list. This ensures chats are linked to the correct business profile.Quick start steps
- Copy the snippet by clicking the button above.
- Open cPanel and go to File Manager or your site builder editor.
- Edit the page file where you want the widget to appear, or add it to your footer template.
- Paste the code just before the closing
</body>tag. - Save and refresh your website to confirm the widget is visible.
Embed code copied to clipboard.