C ChatPro AI
Docs Installation

Installation

Embed the ChatPro widget on your website.

Installation

Embed snippet

Add the following script tag to every page where you want the widget:

<script
  src="https://your-domain.com/chatbot.js"
  data-widget-id="wb_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  async
></script>

Allowed origins

For security, the widget only loads on domains you have explicitly allowed. Configure allowed origins in Website → Settings → Allowed origins.

Verifying your domain

ChatPro verifies ownership via a meta tag. Add this to your site's <head>:

<meta name="chatpro-verify" content="your-verification-token">

Then click Verify in the dashboard. The meta tag name is configurable via domain_verification.meta_name if you need a custom name.

Troubleshooting

  • Widget doesn't appear: check the browser console for CORS errors and confirm your origin is in the allowed list.
  • "Widget unavailable": the website may be suspended or the widget disabled.