Start here

First-run setup

On this page

The one-command installer creates your local owner account and first workspace. Continue in the app it opens, or open the private RER_OPEN link it prints to go straight to Setup. To start again later, run cd run-happytohelp && rer dev. You can finish setup in the app.

Do you need this page?

If you installed locally, you already have an owner account. Go to After setup to see what you can do in the app.

Hosted or scripted setup

For a scripted setup of a fresh checkout, create a private answers file with your website and owner password. From the checkout, run:

rer setup --owner-email you@example.com --answers .seed/local-answers.json
rer dev

Setup uses your website or email domain for the workspace name, your email for your name, and a default colour. For a workers.dev address the default name is My workspace. You can choose these values in the answers file or change them later. Running setup again preserves the existing owner.

For a hosted installation, rer deploy creates the owner named by OWNER_EMAIL. Sign in by email. To recover an empty installation that still needs an owner, open /setup on your hosted HappyToHelp address over HTTPS. Enter your email, password, website and private setup token. After creating the owner, sign in with that password. Keep tokens and passwords out of shell arguments, URLs, recordings and logs. Once the owner is created or restored from a backup, the recovery form closes.

Pressing Create workspace is your explicit action, and it may send you one welcome email at the address you gave. It goes through the same durable send path as every other mail, so it is never sent twice, and a send whose outcome is unknown is reported as unknown and never replayed. Local mail uses rer dev v2; it is suppressed without storage or external sending. Setup succeeds whatever happens to that email.

The widget website origin

The website hosting the widget is separate from the HappyToHelp app origin. Supply an exact HTTP(S) origin: scheme and hostname, with an explicit port when needed, but no path, query, credentials or fragment. The widget is admitted on the saved website origin and always on the HappyToHelp app's own origin. Configure the external website through Settings → Widget → Settings; keep the app address in the installation snippet. Do not expose an operator token or the server verification secret to customer code. See the local widget walkthrough.

After setup

The workspace is already set up when you arrive. Every new workspace (the first owner's, one created while signed in and one created by email-verified registration; never a demo workspace) is provisioned in one step with:

  • a starter assistant, "Support assistant", as the default visitor assistant. It answers visitors by itself from the help articles you publish and from what we read on your website, within the daily AI ceilings, once an AI provider key exists on the installation. With no key, no assistant is assigned to a new conversation, so it stays with your team and nothing fails or pretends to succeed. The AI page and Setup say a key is missing and which secret it needs. The key is an installation secret: add it to .dev.vars locally, or as a Worker secret, as in Install and the README's AI replies section;
  • a reply-by-email mailbox, when the installation holds INBOUND_EMAIL_TOKEN, on in. plus your website's host or on INBOUND_EMAIL_DOMAIN;
  • the installation sender for mail, until your own sending domain is verified, and then your own address;
  • a one-time read of your website that keeps up to eight of its pages as private knowledge your assistant can answer from, and may fill in your name and colour while you have not changed them. It runs once, it is best effort (a site that cannot be read leaves nothing and no error), and it publishes nothing: no article is written and none is public. Existing drafts from earlier reads are left as they are.

Sign-in opens the workspace's Setup page: Needs you lists only what cannot be done for you, widget first (adding the widget to your website), then connecting an AI service and, with a hosted email provider, the DNS records for your sending domain. What we've set lists the rest, each with a Change link. The system runs its own checks while the page is open: observations of mail to you, sender DNS, inbound receipt, model access, spend ceilings, saved widget origin and an authenticated widget visit. A published help article is not one of them: the assistant also answers from your own site, so the article step is hidden and never counts. The page counts what is confirmed against what can be confirmed on this installation ("N of M confirmed"). Defaults, presets and saved configuration do not count; a step is confirmed only when it is observed.

Each item under Needs you has Skip for now, for something you do not want to do yet, such as connecting an AI service. A skipped item moves to Skipped, with Undo, and leaves the count: M shrinks by one, and the heading reads "All set" once nothing is left under Needs you. A skipped item is never shown as confirmed. The skip is kept by the server for the workspace (not in your browser), so it lasts a reload and a new sign-in; only an owner or admin can make it, and it contacts no provider and sends no mail. If you skip something and it is later observed (the widget is seen on your site, a working key is added), it shows as confirmed and counts. A key the provider rejects stays under Needs you, because a problem is not hidden by a skip.

Mail to you is confirmed by using an emailed sign-in link, or by the provider's reported outcome for the welcome email or the test you send from the Email page (Send me a test). Provider acceptance is pending, and suppressed local mail never confirms delivery. GET inspection performs no provider work. The page's own checks read metadata and DNS, never send mail and never request a generation. Only your explicit action sends mail, to your own mailbox; uncertain work is never replayed automatically. See the activation module for the shape of the snapshot and the freshness windows.

Ordinary workspace creation starts with the widget snippet. Advanced holds server secrets and verification examples. Empty inbox actions offer widget installation, a link to Setup and a separate demo; demo content is explicit and never replaces customer data. See Workspace workflows.

Local sign-in and private state

Only trusted local configuration enables rer dev v2 owner entry and mail. Open RER_OPEN to enter as the real local owner. Visitor and teammate mail use the development transport: it validates and suppresses messages, reports development, and keeps no message store or viewer. Production does not expose this local surface, and real mail failures remain failures. Native passwords and permissions remain in force.

Stop dev before reset/export/import. Use Operations for confirmed reset and private backups. Re-running setup preserves existing owners and settings; it never rotates secrets or erases data.

Edit this page on GitHub