Documentation
The long version of this guide is
docs/customer-quickstart.md in the rawql
repository. This page is the version you can follow in ten minutes.
1. Create an account
Sign up on the main domain with your email address and a password. You land on
the workspace picker once you are in.
2. Create a workspace
Your workspace is a subdomain of the service domain — for example
https://books.yourdomain.com — and it holds one or more vaults. Open it and
you are in the chat. One login covers the main site and every workspace
subdomain, because the single sign-on cookie is set on the parent domain.
3. Get your data in
Pick whichever fits:
-
Web upload — the upload button in the chat opens the Harvest modal.
Drop in a PostgreSQL dump, PDFs, spreadsheets, text, JSONL, CAD drawings or
an archive, and watch the job run. -
rawql-cli— point the client at your workspace and push a file:rawql-cli config set-server https://books.yourdomain.com rawql-cli login rawql-cli ingest ./data.csv -
Ingestion API — for a pipeline or a CI job, with a per-workspace API key:
curl -sS -X POST https://books.yourdomain.com/api/ingest \ -H "X-API-Key: $RAWQL_INGEST_KEY" \ -F file=@data.csv -F vault=novels -
A crawler URL — paste a site into the Harvest modal, or ask the
assistant “index this site”. It writes one document per page and digests the
PDFs it finds.
4. Ask a question
Ask in your own words: “which orders were invoiced late last quarter”, “what
does the maintenance log say about the pressure loss on line 2”. The assistant
searches the vault, reads the documents, runs read-only SQL when a number is
needed, and answers with the documents it used.
5. Connect the CLI or the read-only API
rawql-cli search "invoice total" --table invoices
rawql-cli ask "What was the top product last quarter?"
rawql-cli stats
Over HTTP, with the session token as a bearer token:
curl -sS "https://books.yourdomain.com/api/search?q=invoice%20total" \
-H "Authorization: Bearer $RAWQL_TOKEN"
curl -sS -X POST https://books.yourdomain.com/api/chat \
-H "Authorization: Bearer $RAWQL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt":"What was the top product last quarter?","vault_only":true}'
6. Set up a dashboard
Open /dashboards from the gear menu and use the guided builder: pick a
table, a metric, a grouping and a filter, and the server compiles the query.
For custom widgets, ask the assistant to build one in chat.
7. Schedule an agent
Open /agents, give the agent a prompt, a cron expression and a timezone, and
turn on email delivery if you want the answer in your inbox. Each run is kept
as a transcript you can read later.
8. Share a read-only link
From any conversation, use the share action and choose how long the link
should live — 7 days by default, 90 days at most. The recipient needs no
account, and you can revoke the link at any time.
Optional: connect an external tool
A workspace administrator can attach an MCP tool server, so the assistant can
call tools in another system alongside your documents. The setup, the scoping
rules and the write-tool confirmation gate are described in the long guide.
If something goes wrong
The full guide ends with a troubleshooting section whose first entry is
“my answer says it found no results — check these five things in order”:
is the document in the vault, are your words in the document, are you in the
right vault, has the index finished rebuilding, and was the document chunked.
Read it in docs/customer-quickstart.md.