# Your First Chat

## Chat with a single file

1. Go to the **Library** tab
2. Click on any file to open it
3. Type a question in the chat input at the bottom
4. Hit Enter or click the send button

Knowbase will return an answer with **source citations** — clickable references that take you to the exact section of the document.

## Chat with your entire library

1. Go to the **Chat** tab in the top navigation
2. Type any question — Knowbase searches across **all your files** at once
3. The answer will include citations from whichever files are most relevant

{% hint style="info" %}
**Tip:** You can also drop specific files into the chat to narrow the search to just those documents.
{% endhint %}

## Follow-up questions

Knowbase remembers the conversation context. Ask follow-up questions naturally — no need to repeat yourself.

## Next steps

* Learn about [Chat All](/chat/chat-all.md) for library-wide search
* Try [Thinking Mode](/chat/thinking-mode.md) for complex questions
* Organize your files with [Channels](/knowledge-base/channels.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.knowbase.ai/getting-started/your-first-chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
