Interface Integration
Anyone can integrate Treind's Widget into their website
The base URL of the triend widget is “https://plugin.triend.io/static/js/main.js?v=0.5”. You need to wrap this link in the script tag with companyUid and TriendKey.
How to integrate widget into your website
Add CSS link in the tags
To integrate the Triend widget into your website, follow these steps:
Code Snippet
Add Script at the end of the tag
Ensure that the CSS link is placed within the <head> tags, and the script is placed just before the closing </body> tag. This helps ensure that your website content is loaded before the widget script runs.
Make sure to replace the placeholder values in the script (triendKey and company UID) with the actual values you generated. This will allow the widget to connect to the correct Triend account.
Style your widget
} </style>
</head>
Last updated