Quick Start
Add the Crow widget to your website with a single script tag:</body> tag in your HTML.
Find Your Product ID
- Go to Crow Dashboard → Setup → Embed Widget tab
- Copy your Product ID from the embed code shown
- Replace
YOUR_PRODUCT_IDin the script above
Script Attributes
| Attribute | Required | Description |
|---|---|---|
src | Yes | The Crow widget script URL |
data-api-url | Yes | Crow API endpoint |
data-product-id | Yes | Your unique product identifier |
Example Integration
Basic HTML
React / Next.js
For React apps, add the script to yourindex.html or use a script loader:
What’s Next?
Once the widget is embedded, your users can start chatting with your AI agent right away. To enable persistent conversations and personalized experiences for logged-in users, set up Identity Verification.Troubleshooting
Widget not appearing
- Check script placement — Make sure the script is inside the
<body>tag - Check Product ID — Verify your
data-product-idmatches the one in your dashboard - Check console — Look for any JavaScript errors in browser DevTools
- Check network — Ensure the script loads successfully (no 404 errors)
Widget appears but doesn’t work
- Check API URL — Make sure
data-api-urlis set correctly - Check CORS — Your domain might need to be whitelisted
- Contact support — Reach out if issues persist
