Embedding Guide

Step-by-step instructions for adding SALESCFG to your website.

Step 1: Get Your Embed Code
  1. Log into your SALESCFG dashboard
  2. Navigate to Embed Script in the sidebar
  3. Copy your unique embed code
Step 2: Add to Your Website

Paste the embed code where you want the configurator to appear:

<!-- SALESCFG Configurator Embed -->
<div id="salescfg-configurator"></div>
<script>
  (function() {
    var script = document.createElement('script');
    script.src = 'https://your-domain.com/embed.js';
    script.setAttribute('data-public-key', 'YOUR_PUBLIC_KEY');
    script.async = true;
    document.body.appendChild(script);
  })();
</script>

Replace YOUR_PUBLIC_KEY with your actual public key from the dashboard.

Step 3: Configure Container

You can style the container div to control sizing and positioning:

<div id="salescfg-configurator"
     style="max-width: 1200px; margin: 0 auto;">
</div>
Testing
  1. Check that the configurator loads correctly
  2. Test all interactive elements
  3. Verify quote submission works
  4. Test on different devices and browsers
Troubleshooting
  • Verify your public key is correct
  • Check browser console for errors
  • Ensure your domain is whitelisted
  • Clear browser cache and reload
Embedding Guide | SalesCFG-Dev