Documentation
Install guide
Add Replyly to any website or web application with a single script tag.
1. Install the widget
In your dashboard open Websites → Install and copy your snippet. It looks like this:
<script src="https://chatbot.precisiontechfiji.com/widget/chat-widget.js"
data-site="YOUR_LICENSE_KEY" defer></script>
Paste it just before the closing </body> tag on every page where the chat should appear.
2. Platform guides
- WordPress: Appearance → Theme File Editor →
footer.php, or use any “insert headers and footers” plugin. - Shopify: Online Store → Themes → Edit code →
theme.liquid, before</body>. - Webflow / Wix / Squarespace: Site settings → Custom code → Footer code.
- Laravel / CodeIgniter / Django / Rails: add it to your main layout template.
3. Single-page apps (React, Vue, Angular)
Add the tag to index.html, or load it once at runtime:
useEffect(() => {
const s = document.createElement('script');
s.src = 'https://chatbot.precisiontechfiji.com/widget/chat-widget.js';
s.dataset.site = 'YOUR_LICENSE_KEY';
s.defer = true;
document.body.appendChild(s);
}, []);
4. Domains & license
Each website has its own license key. For security the widget only loads on the domains listed in Websites → Settings → Allowed domains:
example.comalso allowswww.example.comand other subdomains.*.example.comallows subdomains only.- Add
localhostwhile developing.
If a key leaks, click Regenerate key and update your snippet. The old key stops working immediately.
5. JavaScript API
Once loaded, the widget exposes window.Replyly:
Replyly.open(); // open the chat window
Replyly.close(); // close it
Replyly.identify({ name: 'Ada', email: 'ada@example.com' }); // prefill visitor details
Replyly.send('I need help with my order'); // send a message as the visitor
6. Knowledge base tips
- Short, focused documents work better than one giant file.
- Write questions the way customers ask them (“How do I reset my password?”).
- Use Knowledge base → Test to see which passages are found for a question.
- Re-import web pages after you change them.
7. Usage limits
Your plan includes a monthly word allowance covering bot replies and visitor messages. When it runs out, AI answers pause until the 1st of the next month and visitors can still reach live agents. Buy a top-up anytime from Plan & billing.