Web Widget Integration
How to Add NIVA Chat Widget to Your Website
The NIVA web widget is a lightweight JavaScript snippet that adds a fully branded AI chat bubble to any website or web app. It works on any tech stack — WordPress, Shopify, React, plain HTML — with no framework dependency. Configure it once in NIVA and your bot is live on your site in under 5 minutes.
Before you begin
NIVA botmaster account with a bot configured and active
Access to your website's HTML (or theme settings for CMS platforms)
Step-by-step setup
Get Your Widget Embed Code
- Log in to your NIVA botmaster dashboard
- Go to Settings → Widget (or Embed)
- Copy the JavaScript snippet shown — it includes your unique bot token
Each bot has its own unique snippet. Make sure you copy from the correct bot if you have multiple.
Paste the Snippet into Your Website
- Open the HTML of the page (or your global layout/template file)
- Paste the snippet just before the closing
</body>tag - Save and publish the page
Placing it before