# Helpway — Full Documentation > Every published page, one file. Index: https://helpway.helpway.ai/en/llms.txt --- # Getting Started Source: https://helpway.helpway.ai/en/docs/getting-started Set up Helpway and go live. --- # Introduction Source: https://helpway.helpway.ai/en/docs/introduction Helpway is an **AI-native customer support platform**. It pairs an embeddable chat widget with a real-time team inbox and an AI agent that answers from *your* knowledge — your docs, help articles, and past conversations — not a generic model. It runs entirely on Cloudflare's edge (Workers, D1, Vectorize, Durable Objects), so it's fast everywhere and there's no infrastructure to manage. ## What you get - **Widget** — a lightweight chat widget for your site or app. Drop in a script tag, or install the React SDK. - **Inbox** — a real-time, copilot-first inbox where your team handles what the AI escalates. - **AI agent** — grounded answers from your knowledge base, with built-in hallucination guards and automatic escalation. - **Knowledge & content** — a help center, developer docs, API reference, and changelog you publish from one place. - **Channels** — widget, email (your own Gmail), and WhatsApp, unified in one inbox. ## How it works 1. A visitor asks a question in the widget (or emails you). 2. Helpway retrieves the most relevant chunks from your knowledge base and drafts a grounded answer. 3. If the question is in scope, the AI replies in seconds. If not — or if the visitor asks for a human — it escalates with full context. 4. Your team picks up from the copilot inbox, with a suggested draft already written. ## Start here - **[Quickstart](/docs/getting-started/quickstart)** — go live in five minutes. - **[Install the widget](/docs/widget/installation)** — script tag or React SDK. - **[Connect your knowledge](/docs/ai-agent/knowledge-base)** — so the AI can answer accurately. ## Built different Most tools bolt AI onto a legacy ticketing system. Helpway was AI-first from day one: grounded answers, edge-native latency, and a content layer (help center + docs + API reference) that doubles as the AI's source of truth. The same knowledge that powers your public docs powers the agent answering your customers. --- # Quickstart Source: https://helpway.helpway.ai/en/docs/getting-started/quickstart Get Helpway answering questions on your site in about five minutes. ## 1. Create a workspace Sign up at [app.helpway.ai](https://app.helpway.ai) and create a workspace. A workspace is one product or brand — its own widget, inbox, knowledge base, and content site. ## 2. Install the widget Drop this before ``: ```html ``` Your **public key** (`pk_live_…`) is in **Settings → API keys**. Using React? See [React SDK](/docs/widget/installation). ## 3. Connect your knowledge The AI only answers from what you give it. Add at least one source under **Knowledge**: - Point it at your existing docs or help center URLs, or - Write help articles directly in Helpway. Helpway indexes them into a vector store so the agent can ground its answers. See [Knowledge base](/docs/ai-agent/knowledge-base). ## 4. Test it Open your site, ask the widget a question your docs answer, and watch it reply with a grounded answer. Ask something out of scope and watch it escalate to your [inbox](/docs/inbox/overview). ## Next steps - [Customize the widget](/docs/widget/customize) — brand color, position, copy. - [Set up email](/docs/channels/email) — handle support from your own Gmail. - [Invite your team](/docs/settings/team). --- # Core concepts Source: https://helpway.helpway.ai/en/docs/getting-started/concepts A quick map of the pieces you'll work with. ## Workspace The top-level container for one product or brand: widget, inbox, knowledge, content site, and settings. You can belong to many workspaces. ## Conversation A thread with one visitor across any channel (widget, email, WhatsApp). A conversation has a **status** (`open`, `resolved`, `spam`) and may be **escalated** to a human. ## Visitor & contact A **visitor** is an anonymous end user, identified by a cookie + fallback header. When you capture an email, the visitor becomes a **contact** — and contacts roll up into **companies**. ## AI agent The pipeline that reads an incoming message, retrieves relevant knowledge, and either answers (grounded) or escalates. See [How it works](/docs/ai-agent/how-it-works). ## Knowledge base The set of sources — docs, help articles, sites — that the AI is allowed to answer from. Published help-center content is indexed automatically. ## Content site Your public `{workspace}.helpway.ai` (or custom domain): Help Center, Docs, API Reference, and Changelog. The same content grounds the AI agent. --- # Widget Source: https://helpway.helpway.ai/en/docs/widget Install and customize the chat widget. --- # Installation Source: https://helpway.helpway.ai/en/docs/widget/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 ``` 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/react ``` ```tsx import { HelpwayWidget } from "@helpway/react"; export default function App() { return ; } ``` 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-native ``` There is no floating bubble in a mobile app: your own Help button opens the messenger as a native sheet. See [React Native & Expo](/docs/widget/react-native). ## 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](/docs/widget/identity). --- # React Native & Expo Source: https://helpway.helpway.ai/en/docs/widget/react-native `@helpway/react-native` brings Helpway into your mobile app. There is no floating chat bubble: your app opens the messenger from its own **Help** or **Contact support** entry, and it slides up as a sheet. It works in **Expo Go**. The only native module it needs is `react-native-webview`, which Expo already ships. ## Install ```bash tab="Expo" npx expo install react-native-webview npm install @helpway/react-native ``` ```bash tab="React Native CLI" npm install @helpway/react-native react-native-webview cd ios && pod install ``` ## Add the provider Wrap your app once, near the root. Pass your **public key** (`pk_live_…`) from **Settings → API keys**, and whoever is signed in. ```tsx import { HelpwayProvider } from "@helpway/react-native"; export default function App() { const user = useCurrentUser(); // your own auth return ( console.warn("Helpway:", reason)} > ); } ``` ## Open it from your own UI ```tsx import { useHelpway, useHelpwayUnread } from "@helpway/react-native"; function HelpRow() { const helpway = useHelpway(); const unread = useHelpwayUnread(); // null until known return ( Help{unread ? ` (${unread})` : ""} ); } ``` | Call | Opens | |---|---| | `present()` | the messenger's home | | `presentComposer(text?)` | a new conversation, with `text` already typed | | `presentConversation(id)` | one conversation, e.g. from a notification | | `dismiss()` | closes the sheet | ## A badge before the first open Pass `storage` and the SDK keeps this app's visitor on the device. It then asks for the unread count on its own, at launch and whenever the app comes back to the foreground, so the badge is correct before anyone has tapped Help. ```bash npx expo install @react-native-async-storage/async-storage ``` ```tsx import AsyncStorage from "@react-native-async-storage/async-storage"; ``` Without `storage`, `useHelpwayUnread()` is `null` until the sheet has been opened once. Draw no badge on `null`: a 0 that isn't true tells someone their question was answered when it wasn't. ## Props | Prop | | |---|---| | `publicKey` | Your workspace's public key (`pk_live_…`) | | `user` | Whoever is signed in, or `null` when nobody is | | `storage` | Optional. Anything with async `getItem` / `setItem` / `removeItem`, such as AsyncStorage | | `locale` | Optional. Pin a language, for example `"tr"` | | `colorScheme` | Optional. `"light"` or `"dark"` instead of following the phone | | `onError` | Called when the messenger can't open or reports a problem | ## Signing in and out Pass `user` whenever someone is signed in, and `null` when nobody is. When it changes, the SDK forgets the previous person, so the next person on the same phone never sees the last one's conversations. Someone who chats while signed out and then signs in keeps that conversation: it becomes theirs. If the switch can't be made safely (for example, the device is offline), the sheet closes and `onError` is called rather than opening for the wrong person. The fields are the same as the web widget's `identify()`. See [Visitor identity](/docs/widget/identity). ## In your inbox Conversations started from the app say so. The person's page shows **Reached us from · Your mobile app**, and the AI knows it's talking to someone in an app, so it describes what to tap by name, not by position on a page. ## Links and text Links in a conversation that point outside Helpway, such as your docs or a file, open in the system browser, not inside the sheet. The SDK shows no text of its own. The messenger follows your workspace's languages. Failures go to `onError`, so you can explain them in your own words. --- # Customize Source: https://helpway.helpway.ai/en/docs/widget/customize Brand and behavior settings live under **Settings → Widget**. ## Appearance - **Brand color** — the accent for the launcher and message bubbles. - **Position** — bottom-right (default) or bottom-left. - **Launcher** — icon or text label. - **Greeting** — the opener visitors see when they open the widget. ## Behavior - **AI auto-reply** — let the AI answer incoming messages (on by default). - **Email capture** — ask for an email before/after the first message. - **Office hours** — set expectations for human reply time. Changes apply on the next widget load — no redeploy needed. ## Localization The widget renders in the visitor's language. UI strings come from the CDN, so adding a language doesn't require a new build. See [Localization](/docs/content/localization). --- # Visitor identity Source: https://helpway.helpway.ai/en/docs/widget/identity Helpway tracks a returning visitor so their conversation history follows them. ## How it works Two layers, with **cookie > header** priority: 1. An `hw_visitor` cookie (HttpOnly in production), set by the server. 2. An `X-Visitor-Id` header backed by `localStorage`, as a fallback when cookies are unavailable. A returning visitor keeps their thread; a brand-new one gets a fresh identity. ## Identifying logged-in users When you already know who the user is, pass their identity to the widget so conversations attach to the right contact: ```tsx ``` ## Resetting identity To fully reset (e.g. on logout), clear **both** layers: remove the `helpway:visitor-id` localStorage entry and clear the `hw_visitor` cookie. --- # Events & API Source: https://helpway.helpway.ai/en/docs/widget/events Control the widget programmatically from your page. ## Methods ```js window.Helpway.open(); // open the widget window.Helpway.close(); // close it window.Helpway.toggle(); // toggle window.Helpway.sendMessage("Hi"); // start a conversation ``` ## Events ```js window.Helpway.on("open", () => { /* ... */ }); window.Helpway.on("message", (msg) => { /* ... */ }); window.Helpway.on("conversation:resolved", () => { /* ... */ }); ``` Use these to trigger the widget from a custom "Need help?" button, or to fire analytics when a conversation starts. --- # Inbox Source: https://helpway.helpway.ai/en/docs/inbox Handle conversations as a team. --- # Overview Source: https://helpway.helpway.ai/en/docs/inbox/overview The inbox is where your team handles everything the AI escalates — and everything it resolves, for visibility. ## Copilot-first layout Three panels: - **Conversation list** — open, resolved, and spam, filterable by assignment. - **Conversation** — the thread plus a composer that always has an AI-drafted reply ready. - **Insight sidebar** — the visitor, their company, recent activity, and AI context. ## Real time Messages, typing indicators, and status changes stream over WebSocket (Durable Objects), so the inbox stays live without refreshing. ## What lands here - Conversations the AI **escalated** (out of scope, or the visitor asked for a human). - Replies to conversations a teammate has already joined. - Anything you filter to: *mine*, *unassigned*, or *all*. --- # Conversations Source: https://helpway.helpway.ai/en/docs/inbox/conversations A conversation is one thread with a visitor across any channel. ## Lifecycle `open` → `resolved` or `spam`. Reopening a resolved thread sets it back to `open`. **Escalated** is a sub-state of open (`isEscalated: true`) — it happens automatically when the AI detects out-of-scope intent or repeated frustration. ## Replying The composer always has a suggested draft. Edit it and send, or write your own. Sending as a team member pauses the AI on that conversation, so the visitor's next reply routes to humans rather than the agent. ## Statuses & priority Status colors: emerald = open, gray = resolved, red = spam. Priority: red = urgent, orange = high. See [Statuses](/docs/inbox/statuses). --- # Statuses & priority Source: https://helpway.helpway.ai/en/docs/inbox/statuses ## Status | Status | Meaning | |---|---| | `open` | Active thread awaiting a reply | | `resolved` | Closed by the AI or a teammate | | `spam` | Flagged by spam detection | `escalated` is not a separate status — it's an open conversation with `isEscalated: true`. ## Priority | Priority | Color | |---|---| | Urgent | red | | High | orange | | Normal | — | ## Resolving Resolve from the conversation header. The AI auto-resolves a conversation once the visitor's question is clearly answered and there's no follow-up — guarded so it never closes a thread mid-exchange. --- # Assignment & routing Source: https://helpway.helpway.ai/en/docs/inbox/assignment Helpway routes escalations to the right person, not just a shared queue. ## Automatic assignment When the AI escalates, it classifies the conversation by topic and assigns it to the teammate who owns that area — with a short brief (reason, summary, sentiment) so the agent has context before opening the thread. ## Manual Assign or reassign from the conversation header. Filter the list by **mine**, **unassigned**, or **all**. ## AI pause Assigning or replying as a human pauses the AI on that conversation so the two don't talk over each other. The AI resumes only if the conversation is reopened fresh. --- # Copilot Source: https://helpway.helpway.ai/en/docs/inbox/copilot The composer is a copilot: every reply starts from an AI-written draft grounded in your knowledge. ## Drafts Open any escalated conversation and the composer already holds a suggested reply, streamed as a two-phase NDJSON response (primary text + translation when the visitor's language differs). ## Editing The draft is a starting point — edit freely. Your edits are saved locally instantly and synced to the server (debounced), so you never lose a half-written reply when switching conversations. ## Translation If the visitor wrote in another language, the copilot drafts in their language and shows you the original — so you reply correctly without leaving the inbox. --- # AI Agent Source: https://helpway.helpway.ai/en/docs/ai-agent How the AI answers and escalates. --- # How it works Source: https://helpway.helpway.ai/en/docs/ai-agent/how-it-works Helpway's AI agent answers from *your* knowledge, with guardrails against hallucination. ## The pipeline ``` Widget → sendMessage → Queue → AI pipeline → WebSocket → Widget ``` 1. **Retrieve** — the incoming message is embedded and matched against your knowledge base (Vectorize, cosine similarity). 2. **Decide** — a gate checks whether the question is in scope and whether the AI should answer, escalate, or stay quiet. 3. **Answer** — the model drafts a grounded reply citing only retrieved context. 4. **Stream** — the reply streams back to the widget in real time. ## Grounding The system prompt forbids answering beyond retrieved context. If the knowledge base doesn't cover a question, the AI escalates instead of guessing. See [Escalation](/docs/ai-agent/escalation). ## Loop prevention The AI never replies to its own messages, and once a human joins, the agent steps back. --- # Knowledge base Source: https://helpway.helpway.ai/en/docs/ai-agent/knowledge-base The knowledge base is everything the AI is allowed to answer from. Garbage in, garbage out — this is the most important thing to get right. ## Sources - **Help center & docs** — anything you publish in Helpway is indexed automatically. - **External sites** — point Helpway at existing doc URLs to crawl and index. - **Articles** — write knowledge directly in the dashboard. ## Indexing Content is chunked and embedded into a 1536-dim vector store. At query time the agent retrieves the closest chunks and grounds its answer in them. ## Keeping it accurate Because your public content *is* the AI's source of truth, updating a help article updates the agent's answers — no separate training step. Publish good docs and the agent gets better for free. --- # Escalation Source: https://helpway.helpway.ai/en/docs/ai-agent/escalation When the AI shouldn't answer, it hands off to a human — cleanly and with context. ## When it escalates - The question is **out of scope** of your knowledge base. - The visitor explicitly asks for a person. - Repeated **frustration** is detected. - A sensitive topic (billing dispute, account action) is matched. ## The handoff Escalation flips the conversation to `isEscalated: true`, routes it to the right teammate, and attaches an **AI brief**: the reason, a summary, and the detected sentiment — so the agent has context before reading the thread. ## Why grounding matters Escalation is the safety valve that lets the AI be confident when it answers: rather than guess on a thin match, it escalates. Tightening your knowledge base reduces unnecessary escalations. --- # Spam detection Source: https://helpway.helpway.ai/en/docs/ai-agent/spam-detection Helpway scores every inbound message so junk never reaches your inbox or wastes AI calls. ## Scoring A multi-signal model scores each message: | Score | Outcome | |---|---| | < 20 | `clean` — handled normally | | 20–39 | `flag` — watched; may require an email | | ≥ 40 | `spam` — routed to the spam folder | ## Topic gate A separate gate keeps off-topic content (crypto pitches, SEO spam) from being treated as support — without penalizing legitimate questions based on device or country alone. ## Email gate A borderline message (score 20–39) with no email attached can be asked to provide one before the AI engages — a cheap, effective filter. --- # Models Source: https://helpway.helpway.ai/en/docs/ai-agent/models Helpway runs through the Vercel AI SDK over OpenRouter, so you're not locked to one provider. ## Defaults - **Model**: a fast, capable default tuned for grounded support answers. - **Temperature**: low (`0.4`) — favors faithful, on-context replies over creativity. - **Max tokens**: bounded so replies stay concise. ## Why grounded > bigger For support, retrieval quality matters more than model size. A smaller model with good knowledge retrieval beats a frontier model guessing without context — and it's faster and cheaper. Helpway optimizes the retrieval + grounding path first. --- # Channels Source: https://helpway.helpway.ai/en/docs/channels Widget, email, and WhatsApp in one inbox. --- # Widget channel Source: https://helpway.helpway.ai/en/docs/channels/widget The widget is the default channel — embedded chat on your site or app. ## Behavior Messages route over WebSocket in real time. When the visitor isn't live (closed the tab), Helpway falls back to a push notification so they see your reply when they return. ## Identity The widget keeps returning visitors via cookie + header. See [Visitor identity](/docs/widget/identity). ## Install Script tag or React SDK — see [Installation](/docs/widget/installation). --- # Email Source: https://helpway.helpway.ai/en/docs/channels/email Handle support from your own inbox — no domain warming, no shared IP pools, no monthly fees. ## Connect Gmail Connect your existing Gmail under **Settings → Channels → Email**. You send from your own account and your own reputation; Helpway just routes and threads. ## How threading works Inbound emails resolve to a contact and land as a conversation in the inbox. Replies thread back correctly using a `fwd+{inboxId}` routing pattern, so the customer sees one continuous conversation. ## AI on email The same AI agent can draft replies to inbound email, grounded in your knowledge base, with the same escalation rules as the widget. --- # WhatsApp Source: https://helpway.helpway.ai/en/docs/channels/whatsapp Where enabled, WhatsApp Business conversations land in the same inbox as widget and email. ## Setup Connect your WhatsApp Business number under **Settings → Channels**. Once connected, inbound WhatsApp messages create conversations on the WhatsApp channel. ## Sending Outbound replies go through the configured WhatsApp channel. A conversation must already exist on WhatsApp — you reply within the inbox like any other channel. --- # Contacts & data Source: https://helpway.helpway.ai/en/docs/platform Contacts, companies, outreach, and analytics. --- # Contacts & companies Source: https://helpway.helpway.ai/en/docs/contacts/overview Every visitor who shares an email becomes a contact, and contacts roll up into companies. ## Contacts A contact is a known person: email, name, conversation history, and any traits you've attached. Anonymous visitors are promoted to contacts the moment you capture an email. ## Companies Contacts on the same email domain group into a company, giving you an account-level view: who's reached out, what they've asked, and where they're stuck. ## Your data, not scraped lists This is first-party data — it comes from what your customers actually do and ask, not a purchased database. --- # Analytics Source: https://helpway.helpway.ai/en/docs/analytics/overview See what's working: resolution rate, AI vs. human handling, response times, and where conversations stall. ## Metrics - **Resolution rate** — share of conversations closed, and how many by the AI vs. a teammate. - **Volume & channels** — where conversations come from. - **Topics** — what customers ask about most, surfaced from real conversations. ## Knowledge gaps Unanswered questions and frequent escalations point at gaps in your knowledge base — fix those and the AI resolves more on its own. --- # Outreach Source: https://helpway.helpway.ai/en/docs/outreach/overview Send targeted, human-approved outbound messages from your own account. ## How it works Stage outreach (from the dashboard or via an AI agent), review it with a human in the loop, then send. Messages go from your connected Gmail — your domain, your reputation. ## Approval Nothing sends automatically. An AI can draft and stage; a human approves before anything leaves. This keeps tone and targeting under your control. --- # Content site Source: https://helpway.helpway.ai/en/docs/content Help center, docs, API reference, and changelog. --- # Help Center Source: https://helpway.helpway.ai/en/docs/content/help-center Your public help center — articles organized into collections — lives at `{workspace}.helpway.ai`. ## Collections & articles Group articles into **collections** (e.g. Getting Started, Billing). Each article has a title, body (markdown), optional icon, and an author. Published articles are indexed into the AI knowledge base automatically. ## Authoring Write in the dashboard's block editor (Notion-style). Add a per-article or per-collection icon. Toggle whether an article grounds the AI. ## Why it matters The help center is both a self-serve surface for customers and the AI's source of truth — one piece of content, two jobs. --- # Docs Source: https://helpway.helpway.ai/en/docs/content/docs Developer documentation, organized as a nested tree of pages. ## Structure Pages are grouped into sections by their path (e.g. `getting-started/quickstart`). Each page has markdown body, an optional icon, and SEO fields. The on-this-page table of contents is generated from your headings. ## Editing The same block editor as the help center, with code blocks, callouts, tables, and embedded API endpoints (see below). Body is stored as markdown and rendered server-side with syntax highlighting. ## Localization Docs translate per locale — the structure stays shared, only the prose is localized. --- # Changelog Source: https://helpway.helpway.ai/en/docs/content/changelog Publish release notes with versions, dates, and authors. ## Entries Each changelog entry has a title, optional version (e.g. `v1.2.0`), publish date, author, and a markdown body. Entries render newest-first with a jump rail. ## AI & search Published changelog entries are part of your content site, so they're searchable and can ground the AI when customers ask “what changed.” --- # Localization Source: https://helpway.helpway.ai/en/docs/content/localization Publish your content site — and the widget — in multiple languages. ## Languages Set a default locale and add target languages under **Content settings → Languages**. The widget and content site render in the visitor's language. ## How translation works UI strings are served from a CDN, so adding a language never requires a rebuild. Content (articles, doc pages) is translated per locale: the structure is shared, each locale carries its own localized title/body. Structured data like API endpoint metadata stays identical across locales. --- # Custom domain Source: https://helpway.helpway.ai/en/docs/content/custom-domain Serve your content site from your own domain instead of `{workspace}.helpway.ai`. ## Setup Under **Content settings → Domain**, add your subdomain or custom domain and point a CNAME at Helpway. Helpway verifies it over DNS and provisions TLS automatically. ## Subdomain Every workspace gets a free `{workspace}.helpway.ai` subdomain you can publish to immediately while a custom domain is being set up. --- # API Reference Source: https://helpway.helpway.ai/en/docs/content/api-reference Document your API right inside your docs — multiple endpoints per page, as embedded nodes. ## Endpoint nodes Drop an **endpoint** block anywhere in a doc page with `/endpoint`. Each block captures one endpoint's structured metadata — procedure, method (query/mutation), auth, parameters, and an example response — and renders a method badge, parameter table, and request/response samples on the live site. A single page can describe **several** endpoints, so related calls live together instead of one-endpoint-per-page sprawl. ## Language-agnostic The endpoint's structured data (procedure, types, param names) is the same across locales — only surrounding prose and tables are translated. ## Authored by agents, too Because endpoints serialize to a simple `` node in the page body, an AI agent (via [MCP](/docs/mcp/overview)) can add or update API reference pages programmatically. --- # Settings Source: https://helpway.helpway.ai/en/docs/settings Team and integrations. --- # Team Source: https://helpway.helpway.ai/en/docs/settings/team Invite teammates and control what they can do. ## Inviting Invite by email under **Settings → Team**. New teammates join your workspace and appear as assignable agents in the inbox. ## Roles Assign roles to scope access — owners manage settings and billing, agents handle conversations. Assignment routing uses team membership to send escalations to the right person. --- # Integrations Source: https://helpway.helpway.ai/en/docs/settings/integrations Connect Helpway to the tools your team already uses. ## Slack Get notified of new escalations in Slack and reply from there. ## Twilio Connect SMS/voice channels where supported. ## Webhooks Subscribe to conversation and contact events to sync Helpway with your own systems. ## Better i18n Helpway uses Better i18n for translations — connect a project to manage widget and content-site strings from the CDN. --- # MCP Source: https://helpway.helpway.ai/en/docs/mcp Operate Helpway from AI agents. --- # MCP server Source: https://helpway.helpway.ai/en/docs/mcp/overview Operate Helpway from any AI agent over the Model Context Protocol. ## What it is Helpway exposes an MCP server (Streamable HTTP, Bearer auth) so coding agents and assistants — Claude, Cursor, your own — can read and act on your workspace: list and reply to conversations, manage contacts, search the knowledge base, and author content. ## Connecting Generate an MCP key in **Settings → API keys**, then point your agent at the Helpway MCP endpoint with that key as a Bearer token. The key is scoped to one workspace. ## Use cases - Triage and reply to conversations programmatically. - Keep your help center and API reference in sync with your codebase. - Mine contacts and conversations for insight. --- # Available tools Source: https://helpway.helpway.ai/en/docs/mcp/tools The Helpway MCP server groups tools by area. Highlights: ## Conversations & inbox - `list_conversations`, `get_conversation`, `search_conversations` - `send_message`, `create_draft`, `assign_conversation`, `resolve_conversation` - `toggle_ai_pause`, `list_active_visitors` ## Contacts - `list_contacts`, `get_contact`, `search_contacts`, `get_visitor` ## Knowledge & content - `search_knowledge_base` - `list_hc_content`, `get_hc_content`, `create_hc_content`, `update_hc_content`, `bulk_create_hc_content`, `publish_hc_content` - Content bodies can embed `` nodes — so an agent can author your API reference directly. ## Workspaces - `list_workspaces` — every tool takes an optional `workspace` to target a specific one. See the full schema in your MCP client once connected. --- # API Reference Source: https://helpway.helpway.ai/en/api/api The tRPC API, by resource. --- # Contacts Source: https://helpway.helpway.ai/en/api/api/contacts Read and search the people who've contacted you. ## List contacts ## Get contact ## Search contacts --- # Content Source: https://helpway.helpway.ai/en/api/api/content Read your published content site programmatically — the same data that renders the help center, docs, and changelog. ## List doc pages ## List collections ## List articles ## List changelogs --- # Conversations Source: https://helpway.helpway.ai/en/api/api/conversations List, read, reply to, and resolve conversations. ## List conversations Paginated inbox for your workspace. ## Get conversation Full thread with timeline items. ## Send message Reply as a team member. Sending pauses the AI on this conversation. ## Resolve Close a conversation, or reopen it. ## Status reference | Status | Meaning | |---|---| | open | Active thread | | resolved | Closed by agent or AI | | spam | Flagged by spam detection | --- # Knowledge Source: https://helpway.helpway.ai/en/api/api/knowledge Query the same knowledge base the AI agent answers from. ## Search knowledge base Semantic search over your indexed content. Returns the chunks the agent would ground on. --- # Overview Source: https://helpway.helpway.ai/en/api/api/overview The Helpway API is **tRPC-only**. Both the widget and your own integrations call the same typed procedures. ## Base URL ``` https://api.helpway.ai ``` ## Authentication | Key | Used for | |---|---| | **Content key** (`hwc_live_…`) | Read-only access to published content (help center, docs, changelog). | | **Public key** (`pk_live_…`) | Widget calls — visitor-scoped, safe for the browser. | | **Secret key** | Server-side, full workspace access (dashboard operations). | Pass the relevant key in the documented input field for each procedure. ## Conventions - All IDs are sortable (ULID), except conversation IDs (18-char nanoid). - Requests use the tRPC batch format, or the typed client from `@helpway/react` / widget-core. Browse the resources in the sidebar — each endpoint below has its method, auth, parameters, and an example response. --- # What is Helpway? Source: https://helpway.helpway.ai/en/help/getting-started/what-is-helpway Helpway is an AI-native customer support platform. It gives you three things that work together: - A **chat widget** for your site or app. - A real-time **inbox** for your team. - An **AI agent** that answers from your own help content — not a generic model. When a customer asks a question, the AI tries to answer it instantly using your published help articles and docs. If it can't — or the customer wants a person — it hands off to your team with full context. You publish your help center, docs, and changelog in one place, and that same content is what the AI uses to answer. Better content means better answers, automatically. --- # Set up your workspace Source: https://helpway.helpway.ai/en/help/getting-started/set-up-workspace A workspace is one product or brand — its own widget, inbox, knowledge, and help center. 1. Sign up at **app.helpway.ai** and create a workspace. 2. Add a **knowledge source** under Knowledge — point at your existing docs, or write a few help articles. 3. Install the widget on your site. That's enough for the AI to start answering. From there, invite your team and customize the widget to match your brand. --- # Invite your team Source: https://helpway.helpway.ai/en/help/getting-started/invite-your-team Invite teammates under **Settings → Team**. They'll get an email invite and, once they join, appear as assignable agents in the inbox. When the AI escalates a conversation, Helpway routes it to the teammate who owns that topic — so the right person picks it up with context already attached. --- # Install the widget Source: https://helpway.helpway.ai/en/help/widget/install-the-widget **Script tag** — paste this before ``: ```html ``` **React** — install `@helpway/react` and render ``. Your public key is in **Settings → API keys**. The widget mounts itself and connects automatically. --- # Customize the look Source: https://helpway.helpway.ai/en/help/widget/customize-the-widget Under **Settings → Widget** you can set: - **Brand color** — the accent for the launcher and bubbles. - **Position** — bottom-right or bottom-left. - **Greeting** — the opener visitors see. - **Email capture** — ask for an email before or after the first message. Changes apply on the next widget load — no redeploy needed. --- # Identify logged-in users Source: https://helpway.helpway.ai/en/help/widget/identify-users If you already know who the user is, pass their identity so conversations attach to the right contact: ```tsx ``` Returning visitors keep their history via a cookie automatically; identifying users links them to a contact in your inbox. --- # Reply to a conversation Source: https://helpway.helpway.ai/en/help/inbox/reply-to-a-conversation Open any conversation in the inbox. The composer already holds an AI-drafted reply grounded in your knowledge — edit it and send, or write your own. Sending as a team member pauses the AI on that conversation, so the customer's next message routes to you instead of the agent. --- # Assign and resolve Source: https://helpway.helpway.ai/en/help/inbox/assign-and-resolve Assign or reassign from the conversation header, and filter the list by **mine**, **unassigned**, or **all**. Resolve a conversation when it's handled. The AI also auto-resolves once a question is clearly answered with no follow-up. Reopen any resolved thread if the customer replies again. --- # How the AI answers Source: https://helpway.helpway.ai/en/help/ai-agent/how-the-ai-answers The AI answers **only** from your published help content and docs. For each question it retrieves the most relevant passages and writes a grounded reply. If your content doesn't cover the question — or the customer asks for a person, or seems frustrated — it escalates to your team instead of guessing. This is why answer quality tracks your content quality. --- # Improve answer quality Source: https://helpway.helpway.ai/en/help/ai-agent/improve-answer-quality The AI is only as good as your knowledge base. To improve it: - **Fill gaps** — Analytics shows questions that returned nothing. Write articles for those. - **Be specific** — short, focused articles retrieve better than long catch-all pages. - **Publish** — only published content is indexed. Every time you improve an article, the AI's answers improve too — no retraining. --- # Plans and pricing Source: https://helpway.helpway.ai/en/help/billing/plans-and-pricing Helpway bills per workspace. Each plan includes the widget, inbox, AI agent, and content site; higher tiers add seats, volume, and custom domains. See current pricing at **helpway.ai/pricing**, or manage your plan under **Settings → Billing**. --- # Manage your subscription Source: https://helpway.helpway.ai/en/help/billing/manage-subscription Under **Settings → Billing** you can change your plan, update your payment method, and download invoices. Plan changes take effect immediately and are prorated. --- # The widget isn't showing Source: https://helpway.helpway.ai/en/help/troubleshooting/widget-not-showing Check these in order: 1. **Key** — confirm the `data-key` is your live public key (`pk_live_…`). 2. **Placement** — the script must load on the page (before ``). 3. **Content blockers** — some browser extensions block chat widgets; test in a clean profile. 4. **Console** — open the browser console for any Helpway errors. Still stuck? Message us from this help center — the AI can often pinpoint it. --- # The AI gives wrong or vague answers Source: https://helpway.helpway.ai/en/help/troubleshooting/ai-wrong-answers The AI answers only from your content, so wrong or vague replies almost always mean the relevant article is missing, outdated, or hard to retrieve. Fixes: - Add or update the article that should answer the question. - Split long pages into focused ones. - Check Analytics for searches that returned nothing. If the AI should *not* answer a topic at all, make sure no stale content covers it. --- # Emails aren't threading Source: https://helpway.helpway.ai/en/help/troubleshooting/emails-not-threading Helpway threads email replies using a routing address. If replies start fresh threads: 1. Confirm your Gmail is connected under **Settings → Channels → Email**. 2. Make sure replies go to the Helpway routing address (don't change the Reply-To). 3. Check that the original message was sent through Helpway, not your raw inbox. If it persists, reconnect the Gmail channel. --- # v1.4 — Helpway in your mobile app: React Native & Expo SDK Source: https://helpway.helpway.ai/en/changelog Bring Helpway into your iOS and Android app with `@helpway/react-native`. - **Opens from your own UI**: no floating bubble on your screens. Your app's own Help button opens the messenger as a native sheet, either on its home, straight into a new message, or on one conversation. - **Works in Expo Go**: the only native dependency is `react-native-webview`, which Expo already ships. - **Unread badge before the first tap**: pass AsyncStorage and the unread count is right at launch. - **One person per phone**: when the signed-in user changes, the previous person's conversations stay with them. - **Know where they came from**: a contact's page shows **Reached us from · Your mobile app**, and the AI gives mobile users steps by name, not by position on a web page. Also in this release: `@helpway/react` 0.17.1. `shutdown()` now really forgets the visitor on a shared browser. [Get started →](/docs/widget/react-native) --- # v1.3 — Custom domains, end to end Source: https://helpway.helpway.ai/en/changelog Point your own domain at your content site — and trust it to stay up. - **Custom domains, fully provisioned** — connect `docs.yourbrand.com` with a single CNAME. We now issue the edge TLS certificate automatically, so a domain hosted on your own DNS goes live cleanly — no more cross-account setup errors. - **Resilient by default** — when a lookup or the network hiccups, visitors see a branded, retryable page instead of a raw error, and the site auto-recovers. - **Dark mode polish** — consistent theming across the changelog and the inline AI assistant. --- # v1.0 — Smarter routing and security hardening Source: https://helpway.helpway.ai/en/changelog Foundational improvements across the agent and the platform. - **Topic-based assignment** — escalations route to the teammate who owns the topic, with an AI brief (reason, summary, sentiment) attached. - **Geo-based language detection** — the widget and content site render in the visitor's language automatically. - **Security** — authenticated WebSocket connections, org-ownership checks on OAuth and knowledge import, and tightened access controls. - **Spam detection** — multi-signal scoring keeps junk out of your inbox and away from the AI. --- # v1.1 — Your content site: help center, docs, changelog Source: https://helpway.helpway.ai/en/changelog Publish a full content site at `{workspace}.helpway.ai` — and the same content grounds your AI agent. - **Help Center** — collections and articles with a clean, fast reading experience. - **Docs** — nested developer documentation with auto-generated tables of contents. - **Changelog** — versioned release notes. - **Custom domain** — connect your own domain with CNAME + automatic TLS. - **Localization** — publish in multiple languages; structure shared, prose translated. --- # v1.2 — Author your API reference inline Source: https://helpway.helpway.ai/en/changelog You can now document your API **inside your docs** — multiple endpoints per page. - **Endpoint nodes** — type `/endpoint` anywhere in a doc page to drop a structured endpoint block: method, auth, parameters, and an example response, rendered as a method badge + parameter table + request/response samples. - **Multiple per page** — related calls live together instead of one-endpoint-per-page sprawl. - **Agent-authorable** — endpoints serialize to a simple node, so an AI agent over MCP can create and update your API reference programmatically. - **Localization-safe** — the structured metadata stays identical across languages; only prose is translated.