Merchant Portal - Manage your chemical products and inquiries
Back to Dashboard

Storefront Widget

Add AI-powered search to your website

Live AI
Widget Configuration
Customize the appearance and behavior of your widget
Embed Code
Copy and paste this code into your website
<!-- ChemAI Storefront Widget -->
<div id="chemai-widget"></div>
<script src="https://chemai.vercel.app/widget.js"></script>
<script>
  new ChemAIWidget({
    containerId: 'chemai-widget',
    supplierId: 'YOUR_SUPPLIER_ID', // Optional: filter to your chemicals
    theme: 'light',
    primaryColor: '#f97316',
    title: 'Find the Right Chemical',
    placeholder: 'Search chemicals, applications, or CAS numbers...',
    maxResults: 5,
    onQuoteRequest: function(data) {
      // Handle quote request
      console.log('Quote requested for:', data.chemicalName);
      // Redirect to your quote form or open a modal
    },
    onResultClick: function(data) {
      // Handle result click
      window.location.href = '/products/' + data.chemicalId;
    }
  });
</script>
Integration Guide

1. Add the widget container

Place a div with the ID "chemai-widget" where you want the widget to appear.

2. Include the widget script

Add the widget.js script from our CDN. This loads the widget functionality.

3. Initialize with your settings

Create a new ChemAIWidget instance with your configuration options.

4. Handle callbacks

Implement onQuoteRequest and onResultClick to handle user interactions.

Live Preview
See how your widget will look on your website

Find the Right Chemical

Powered by ChemAI

Found 3 chemicals matching your requirements for industrial cleaning applications.
Isopropyl AlcoholIn Stock
95% match
67-63-0 - Solvent
AcetoneIn Stock
88% match
67-64-1 - Solvent
EthanolIn Stock
82% match
64-17-5 - Solvent
FDA approved solventsLow VOC alternativesGreen chemistry options
Widget Features
  • AI-Powered Search

    Natural language queries with intelligent matching

  • Fully Customizable

    Match your brand with custom colors and text

  • Lead Generation

    Capture quote requests directly from your site