Fernwise docs
Everything Fernwise and the Hub can do, in the order you'll probably need it. If something here is unclear, ask the chat in the corner. It's a Fernwise assistant, and a person reads what it can't answer.
Your account
The Hub at hub.developers.quietware.bond is one account for every Quietware developer product. Sign in with Google or with a link we email you. Accounts are matched by verified email address, so Google and email sign-in reach the same account. Signing up for Feasible with the same email links it to your Hub account automatically.
Fernwise in five minutes
- In the Hub, click New assistant and enter your website address.
- On Knowledge, click Read my website. You'll see each page as it's read.
- Try it with the chat bubble in the corner of the Hub. It starts on Quietware Free AI, so no key is needed.
- On Install, copy the script tag and paste it into your site.
Before going live, share the test page with your team: hub.developers.quietware.bond/try/YOUR_ID.
Try it without signing up
On the Fernwise home page, enter any website address and click Try it on my site. Fernwise reads up to 8 public pages and opens a chat trained on them. Nothing is added to the website. The preview answers up to 40 questions and is deleted after two days.
To keep it, click Keep it, free and sign in. The assistant moves into your Hub account with everything it has read, and you can then read the rest of the site and install it.
Verify your domain
Verifying proves the website is yours. A verified assistant can read up to 500 pages instead of 150, and no other Fernwise assistant can run on that domain.
- In the Hub, open your assistant and go to Settings. The top panel shows the record to add and, when we can tell, which company runs your DNS, with a link to its settings.
- Add a TXT record named
_fernwisewith the value shown (it starts withfernwise-verify=). Some providers want the full name, like_fernwise.yourbusiness.com. - Save it. Keep the Hub open and it checks every few seconds on its own. New records usually appear within minutes, and occasionally take up to an hour.
Install
Paste this before </body> on every page, or into your site builder's custom code setting for the footer:
<script src="https://hub.developers.quietware.bond/fernwise.js" data-bot="YOUR_ID" async></script>| Attribute | What it does |
|---|---|
data-bot | Required. Your assistant's ID, shown on the Install tab. |
data-open="true" | Opens the chat when the page loads. |
data-mode="inline" | Shows the chat inside an element instead of a bubble. Needs data-target. |
data-target | A CSS selector for the element to put the chat in, like #help. |
data-lang | Forces the language of the chat's buttons and labels, like fr. By default it follows the visitor's browser. |
| Platform | Where to paste |
|---|---|
| WordPress | A header and footer plugin (such as WPCode), footer section |
| Shopify | Online Store, Themes, Edit code, theme.liquid, before </body> |
| Webflow | Site settings, Custom code, Footer code, then publish |
| Squarespace | Settings, Advanced, Code injection, Footer |
| Wix | Settings, Custom code, Body end, all pages |
| Framer | Site settings, General, Custom code, end of body |
| Next.js | <Script src="…" data-bot="…" strategy="lazyOnload" /> in your root layout |
It works on your website's domain and its subdomains. To use it on other domains, add them under Settings, Also allow on.
Inside a page
Good for a help or contact page. Give the element a height.
<div id="help" style="height:600px"></div>
<script src="https://hub.developers.quietware.bond/fernwise.js"
data-bot="YOUR_ID" data-mode="inline" data-target="#help" async></script>JavaScript
Fernwise.open(); // open the chat
Fernwise.close(); // close it
Fernwise.toggle(); // open or close
Fernwise.ask("What are your hours?"); // open and ask
Fernwise.reset(); // start a new conversationThe chat runs inside a Shadow DOM, so your CSS can't break it and its CSS can't touch your page. It sets no cookies. The current conversation is kept in the visitor's browser for seven days.
Look and persona
Under Look & persona you can set the assistant's name, role, photo and tone (friendly, professional, playful, or short and direct), and the chat's colour, theme (light, dark, or match the visitor's device), message shape, launcher icon, launcher label and corner. The bubble in the corner of the Hub updates as you change things, before you save.
Greeting, pop-up and buttons
- Greeting. The big line on the chat's home screen, and the first message in a new chat.
- Suggested questions. Up to four, shown before the visitor types.
- Pop-up message. A short note beside the bubble after a delay you choose, once per visit. Limit it to certain pages with paths like
/pricingor/shop/*. - Buttons. Up to eight. Each one opens a link, asks for the visitor's email, or calls a person. They're listed on the home screen, and the assistant can show one under an answer when it fits.
- Your instructions. Free text about how it should talk or what to suggest. It still only states facts from your knowledge.
Talking to a person
With Let visitors ask for a person on, the chat shows a "Talk to a person" option, and the assistant offers it when someone asks for a human or seems upset. When that happens:
- Your contact email gets a message with a link to the conversation.
- The conversation shows as Waiting at the top of the Inbox.
- When you reply, you take over. The visitor sees your message, with your first name, in the same chat window within a few seconds.
- Click Hand back to assistant when you're done.
Visitors can also leave their email so you can reply after they've gone. Tick Also email it when replying to send your answer to their inbox as well.
Set Usually replies to something honest, like "within a few hours". It's shown under the assistant's name.
Voice and languages
The assistant answers in the language the visitor writes in. The chat's own buttons and labels are translated into English, Spanish, French, German, Portuguese, Italian, Dutch, Hindi, Japanese and Chinese, picked from the visitor's browser.
Voice input adds a microphone in browsers that support speech recognition. Read answers aloud adds a speaker button to answers, and reads the reply automatically when the question was spoken. Both use the browser's built-in speech features.
Pages, files and notes
- Your website. Fernwise looks for
/sitemap.xmlfirst, then follows links from your home page. It stays on your domain, skips images and downloads, and leaves out menus, footers, forms and scripts. Up to 150 pages. - Weekly re-reading. With it on, pages older than a week are read again in the background, about 20 an hour across all sites.
- Files. PDF, Word (.docx), text, Markdown, CSV and HTML, up to 30 per assistant. The text is pulled out in your browser and only the text is uploaded. Scanned PDFs have no text to pull out; paste their contents into Notes instead.
- Notes. Anything that isn't on your website. Fernwise treats notes as true.
- What would it read? Type a question to see what Fernwise would look at, without using any AI.
FernwiseBot follows Disallow rules in robots.txt for * and for FernwiseBot, and skips pages marked noindex. More on the FernwiseBot page.
Exact answers
For questions where the wording matters. Write the question and your answer; when a visitor asks something close, Fernwise gives your answer, keeping its meaning and details. The list shows how often each one has been used. From the Inbox or Analytics, Answer it starts a new exact answer from a question it missed.
How it answers
For each question, Fernwise looks for matching exact answers, then the page the visitor is on, then the rest of your pages, files and notes. It sends the best few excerpts to the AI with instructions to answer only from them, cite them, and say when they don't cover the question. Those "couldn't answer" replies are marked so you can find them later.
AI brain
The AI brain page sets how your agent thinks. Try every change in the test panel on the right before you save.
- Answers: Short (1 to 3 sentences), Balanced, or Detailed (structured, with examples, good for docs and technical products).
- Suggest follow-up questions: after a real answer, up to 3 one-tap questions the visitor is likely to ask next. They're written by the AI from your content, in the visitor's language.
- Check pages live: for things that change often, the agent can read a page of your site at the moment it's asked, instead of the copy it saved. The visitor sees "Checking the website…" while it does.
- Knowledge mode (Developer mode): Strict uses only your content. Balanced uses your content for facts and general knowledge to explain. Open also answers general questions in your field, which suits docs and developer sites. Facts about your business always come from your content.
- Creativity (Developer mode): 0 is the most consistent, 1 the most varied. The default is 0.3.
AI helpers
The AI also works for you, not just your visitors. Each helper drafts something you review before it's used.
- Write with AI on Messages & buttons: drafts your greeting, 4 starter questions and your instructions from what the agent has read.
- Draft with AI on Analytics: for a question it couldn't answer, writes an exact answer from your knowledge. Anything it couldn't find is left in [square brackets] for you to fill in.
- Suggest a reply in the Inbox: drafts your next message in a live chat, using the conversation and your knowledge.
- Summarize in the Inbox: one or two sentences on what the visitor wanted, their mood, whether it was resolved, and the next step.
Helpers use the same AI as your agent. On Quietware Free AI they share a limit of 80 requests every 10 minutes per account.
Developer mode
The Hub starts in Simple mode. Turn on Developer mode at the bottom of the sidebar to add a Developer section (Tools & APIs, Debugger, Webhooks & API) and the advanced settings on the AI brain page. It's saved in your browser, so teammates choose their own.
Tools and APIs
Tools let your agent look things up in your own systems while it chats, like order status, stock, booking slots or account details. You describe each tool, and the agent decides when to use it.
- For every visitor message, a quick planning step reads the conversation and decides whether a tool is needed and with which arguments. Most messages need none.
- If a required argument is missing (an order number, an email), no tool runs. The agent asks the visitor for it instead. It never makes values up.
- Our server calls your URL.
GETadds arguments to the query string,POSTsends them as JSON, and{name}in the URL is replaced with that argument. Up to 2 tools run per message, each with an 8-second time limit. - The response (JSON or text, up to 5,000 characters) becomes live data in the prompt. The agent answers from it and trusts it over older pages.
Name: get_order_status
When to use: Look up an order's status and tracking. Use when someone asks where their order is.
Method: GET
URL: https://api.yourshop.com/orders/{order_number}
Arguments: order_number (string, required) = the order number, like 1042
Header: Authorization: Bearer sk_live_… (encrypted, optional)- Security: the header value is encrypted with a separate key per tool, used only on our server, and never shown again or sent to a browser. Only public
https://addresses are allowed, and redirects aren't followed. - Test runs a saved tool with values you type and shows the raw response, status and timing.
- Every tool call is listed on the message in the Inbox, and sent to your webhook as
tools.used. - Tools work with every AI provider, including Quietware Free AI, because planning is done with a normal request rather than a provider-specific function-calling feature.
- Treat tool endpoints like any public API: return only what a visitor should see, and add your own checks (for example, require the order's email as well as its number).
Debugger
Ask a question like a visitor and see every step: which excerpts it read (with the number it cites), whether it planned any tools and with what arguments, each tool's response and timing, which model answered, and the total time. Set "Visitor is on page" to test answers about a specific page. Debugger runs count toward your AI usage but not your visitors' daily limit.
Your own AI key
On Setup, choose a provider, paste a key, click Load my models to see what your key can use, pick one and send a test message.
| Provider | Notes |
|---|---|
| OpenAI, Anthropic, Google Gemini, Groq, OpenRouter, Mistral, DeepSeek, xAI, Together AI, Z.ai, Cerebras, SambaNova | Paste a key from the provider's console. |
| Feasible | Free key from feasible.bond/console. |
| Custom | Any HTTPS service that uses the OpenAI chat completions format. |
Quietware Free AI
The default for new assistants. It runs on free tiers of AI services that Quietware has accounts with. Fernwise tries them in this order and moves on if one is busy or down:
- Groq: OpenAI's open gpt-oss models
- Cloudflare Workers AI: Llama 3.1 8B
- Z.ai: GLM-4.5 Flash
- OpenRouter: free models, with providers that may train on prompts turned off
We left out free tiers that use your prompts for training or that are only short trials. Free services change their limits without notice, so this list can change. Each assistant on Free AI can give 60 answers a day; for more, use your own key.
Inbox
Every conversation, updated every few seconds while you have it open. Filters: Need a person, Unread, Couldn't answer, Not helpful (a visitor gave a thumbs down) and Left an email. Search covers messages and emails. Each conversation shows the page it started on, the visitor's language and country, sources for every answer, and ratings. Download all as CSV exports everything.
Analytics and reports
For the last 7, 30 or 90 days: conversations, answers, how many were answered from your content, the share rated helpful, answers per day, the most asked questions, questions it couldn't answer, which pages chats start on, and visitors' countries.
The weekly report goes to your contact email on Monday mornings (UTC) and is skipped if there were no conversations. Turn it off, or send one now, in Settings.
Team
The owner can add up to ten teammates by email. They sign in to the Hub with that email and can read and answer conversations and change the assistant. Only the owner can add or remove people or delete the assistant.
Webhooks
Add an HTTPS address under Developer. Fernwise sends a POST with a JSON body for these events:
| Event | When |
|---|---|
lead.created | A visitor left their email. Data: conversation, email, name, question. |
human.requested | A visitor asked for a person. Data: conversation, email if given. |
message.visitor | A visitor wrote while a person is handling the chat. Data: conversation, text. |
message.team | Someone on your team replied. Data: conversation, text, author. |
test | The test button. |
{
"event": "lead.created",
"bot_id": "s3k9...",
"sent_at": 1767225600,
"data": { "conversation": "k2j4...", "email": "sam@example.com", "name": "Sam", "question": "Do you do bulk orders?" }
}Check the X-Fernwise-Signature header: it's an HMAC-SHA256 of the raw request body using your signing secret, encoded as base64url. The event name is also in X-Fernwise-Event. Requests time out after 4 seconds and aren't retried.
import crypto from "node:crypto";
const expected = crypto.createHmac("sha256", process.env.FERNWISE_WEBHOOK_SECRET)
.update(rawBody).digest("base64url");
if (expected !== req.headers["x-fernwise-signature"]) return res.status(401).end();Limits
| Limit | Value |
|---|---|
| Assistants per account | 5 |
| Pages per assistant | 150, or 500 with a verified domain |
| Files per assistant | 30 (25 MB each before text extraction) |
| Exact answers | 300 |
| Notes | 40,000 characters |
| Teammates | 10 |
| Answers per day | 60 on Free AI. With your own key, you choose from 10 to 5,000. |
| Messages per visitor | 30 every 10 minutes |
| Question length | 1,000 characters |
Security
- API keys are encrypted with AES-256-GCM using a separate key for each assistant. They're only decrypted on our server to answer a question, never shown again and never sent to a browser.
- The chat only works on your domain and the domains you allow.
- Fernwise is told to ignore instructions hidden in web pages or visitor messages.
- Sign-in links work once and expire after 20 minutes. Sessions use secure, HTTP-only cookies.
- Webhook requests are signed, and webhook addresses must be public HTTPS addresses.