Kulka documentation
React and Vite installation
Install the Kulka widget in a React SPA without coupling it to component rerenders.
Add the script to index.html
For Vite and other client-rendered applications, the simplest integration is the canonical script in index.html.
htmlCopy-ready
<script
src="https://kulka-support-app-widget.vercel.app/v1/widget.js"
data-kulka-widget
data-organization-id="YOUR_ORGANIZATION_ID"
data-agent-id="YOUR_AGENT_ID"
async>
</script>SPA navigation
The loader tracks pushState, replaceState, and popstate navigation. It automatically updates page context as the user moves through the application.