Quick Start
One line of code. Live in 72 hours.
Step 1: Install the SDK
npm install @deway-ai/web-sdk
See the Installation Guide for pnpm, yarn, CDN, and GTM options.
Step 2: Initialize
Add Deway to your app's entry point:
import Deway from '@deway-ai/web-sdk';
Deway.init({
appKey: 'your-app-key' // Get this from Settings > SDK Setup
});
Step 3: Identify Users
After authentication, tell Deway who the user is:
if (user?.id) {
Deway.identify(user.id);
}
Step 4: Connect Integrations (Optional)
In the Deway admin, go to Settings > Integrations to connect your stack:
- Analytics: Mixpanel, Amplitude, Segment, Google Analytics
- Support: Zendesk, Intercom
- Notifications: Slack, Webhooks
- CRM: HubSpot
What Happens Next
Once Deway is installed, it starts learning your product autonomously. No configuration needed.
Hour 0–24: Learning
- Deway observes how users navigate your product
- Maps workflows and identifies key paths
Hour 24–48: Detecting
- Identifies common friction points
- Detects where users get stuck or drop off
Hour 48–72: Guiding
- Starts providing contextual guidance to users in real time
- No rules, no triggers — Deway uses intent to decide when to help
Verify It's Working
Go to Settings > SDK Setup in the admin dashboard. You should see:
- Live status — SDK is connected and receiving events
Then check User Activity to see engagement metrics start populating.
Common Questions
Do I need to track events manually?
No. Deway automatically captures user interactions. No manual event tracking required.
How long until I see results?
Most customers see initial friction detection within 24-48 hours and active guidance by day 3.
Does this work with my existing tools?
Yes. Deway integrates with Zendesk, Slack, Salesforce, Mixpanel, Amplitude, and more. See Integrations.
Next Steps
- SDK Configuration — Full configuration reference
- Jobs — Define user goals
- Agent Training — Configure sensitive topics
- Integrations — Connect your tools