Installation
Helpway ships as a script embed for any site, @helpway/react for React apps, and @helpway/react-native for mobile apps.
Script embed #
HTML
<script src="https://api.helpway.ai/widget.js" data-key="pk_live_..."></script>That's it — the widget mounts itself and connects over WebSocket. Pass your public key (pk_live_…) from Settings → API keys.
React #
Bash
npm install @helpway/reactTSX
import { HelpwayWidget } from "@helpway/react";
export default function App() {
return <HelpwayWidget apiKey="pk_live_..." />;
}The React package wraps the same widget core, so behavior is identical to the embed.
React Native & Expo #
Bash
npx expo install react-native-webview
npm install @helpway/react-nativeThere is no floating bubble in a mobile app: your own Help button opens the messenger as a native sheet. See React Native & Expo.
Visitor identity #
The widget keeps a returning visitor's history via a cookie plus an X-Visitor-Id header fallback. To tie a conversation to a logged-in user, see Visitor identity.