Welcome to BitPalm Docs
@bitpalm/ai-agents is a drop-in AI chat agent widget for any website. Ships as a single <script> tag, an npm package for React or vanilla JS, and integrates with React, Next.js, Vue, Webflow, Shopify, and any HTML page.
Don't have an agent yet? Create one for free — takes less than 10 minutes.
What you get
- Visitor Intelligence — every page view, scroll, and exit signal feeds context to the AI
- Returning visitor detection — chat history persists across sessions
- SPA support — survives
pushState/replaceStateroute changes without reloading - Trigger bubbles — proactive prompts based on session count, page count, scroll depth, exit intent
- Form identity stitching — captures email, phone, and name on form submit and links them to the visitor profile
- Custom context — pass cart, user tier, listings, or any business data so the AI answers contextually
- Privacy-friendly — respects opt-out, no third-party trackers, GDPR-ready
Pick your integration
If you have an HTML page → Script Tag (30 seconds).
If you use React or Next.js → React / Next.js.
If you bundle with a build tool → Vanilla JavaScript.
What's next
- Configuration options — theme, locale, z-index, auto-identify
- Identify logged-in users — link visitors to your CRM
- Custom Context — feed business data to the AI
- Events — react to lead capture, conversation start, message sent
- Common Errors — troubleshooting guide
License
MIT — built and operated by BitPalm.