---
title: "Assistant"
description: "Let readers ask your docs a question and get an answer with sources, on your site and in your own product."
---

The assistant answers readers' questions from your published pages. Each answer shows the pages it used. When the docs
don't have the answer, it says so instead of guessing.

## Turn it on

It's off until you turn it on. Open **Assistant › Settings**, and switch on **Answer readers’ questions on the docs
site**. An admin does this; others can read the page.

Answers start at once. The **Ask AI** button on every page, and the shortcut ⌘I (Ctrl+I on Windows and Linux), appear with your
next deploy. Turn it off and answers stop at once.

> **Note:** Docs that aren't public have no assistant. See [Who can read your docs](/publish/access).

## What readers see

Under **What readers see**, you set two things:

- **Suggested questions**: one a line, up to 6. Readers see them before they type.
- **When it can’t answer, send readers to**: a page (https) or an email address. Leave it empty for no link.

## Put it in your product

Under **In your product too**, copy the script tag and add it to your app. The same assistant opens from a button there:

```html
<script src="https://<slug>.specly.xyz/assistant.js" async></script>
```

Type the addresses of the sites that may load it in **Sites allowed to load it**, like `app.yourcompany.com`, up to 10.
It answers only there and on the docs themselves. `http://localhost` works for testing.

## See what readers ask

**Assistant › Questions** shows, for the last 30 days:

- **Questions**, and how that compares with the 30 days before;
- **Answered from your pages**, each with its sources;
- **Not in the docs**, the questions the assistant said it couldn't answer;
- **Answers this month**, against your organization's monthly limit. At the limit, the assistant says so and shows your
  fallback link until the month turns over.

Questions that weren't in the docs show up as gaps. **See what readers looked for** opens **Analytics › Search**, where
you can write the missing page.
