# How Ask AI and Support Tickets Work in Revdoku Docs

## Overview
Revdoku lets readers search your documentation, ask questions to an AI, and, if needed, creates a support ticket for your team. The AI can read your docs through an MCP server and `llms.txt` files.

## Using Ask AI
- The **Ask AI** widget is available on every documentation page.
- When a reader types a question, the AI answers using content from your docs and lists the pages it referenced.
- Each chat is automatically saved as a ticket.

## When the AI Cannot Answer
1. The reader sees the AI answer.
2. If the answer is not helpful, the reader can **leave a message** and provide an email address.
3. The message opens a **support ticket** that appears in your ticket list.
4. Your support agent can draft a reply using content from the docs, then a person sends the reply.

## Support Ticket Sources
- Ask AI chats (whether answered or not)
- Reader messages left after an AI answer
- Page‑feedback votes marked *No*
- Emails sent to the support address

All of these become numbered tickets that your team can manage.

## Publishing Docs from GitHub
1. Connect a GitHub repository (or a single folder) to Revdoku.
2. Revdoku publishes Markdown, MDX, and OpenAPI files as a docs site.
3. Push to the connected branch to **publish** the site again.
4. Push to a different branch to get a **preview site for 24 hours**.
5. Edits can be made via an AI app; changes are committed back to GitHub as a commit or pull request.

## Using Your Own Domain
- Add a custom domain in the site settings.
- There is an option to hide the site from search engines.

## Where Your Data Is Stored
- Servers, database, and email run on **Amazon Web Services in Northern Virginia, USA**.
- Files and published sites are stored in **Cloudflare R2** in the eastern United States.
- Data in transit uses TLS; stored data is encrypted with AES‑256.

## Frequently Asked Questions
- **Do I need a GitHub repository?** No. You can describe your product and start with a docs template, or upload files. You can connect a repository later.
- **How do AI agents read my docs?** Each public site provides an MCP server at `/mcp` with tools `search_docs`, `read_page`, and `list_pages`. No sign‑in is required.
- **Can I edit docs in Revdoku?** Yes, via an AI app or directly in GitHub. Edits can be published as a commit, a pull request, or kept read‑only.
- **What happens when I push to GitHub?** The site republishes. Pushing to another branch generates a 24‑hour preview, and GitHub shows the link on the commit.

## Managing Tickets
- View tickets in the support dashboard.
- Draft replies using content from your documentation.
- Send the final response manually.

Use the **Ask AI** feature on your own docs at `docs.revdoku.com` to see the flow in action.


---

published with [Revdoku](https://revdoku.com)
