> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatref.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Training with Text

> Paste a title and content to teach your bot a quick FAQ, policy, or fact.

Sometimes the answer isn't on your site or in a file yet. Text training lets you
type it straight in. You give it a **Title** and **Content**, and your bot can
answer from it right away. It's perfect for a quick FAQ, a policy, or anything
you haven't published.

## How to add text

<Steps>
  <Step title="Open the Sources tab">
    Open your agent and go to the **Sources** tab.
  </Step>

  <Step title="Choose Add Text">
    From the add menu, pick **Add Text**.
  </Step>

  <Step title="Write a title and content">
    Give it a clear **Title** (like "Refund policy") and paste your **Content**
    below. Write it the way you'd explain it to a customer.
  </Step>

  <Step title="Add tags (optional)">
    Add **tags** as a comma-separated list to help you organize sources – for
    example, `refunds, policy, shipping`.
  </Step>

  <Step title="Save and train">
    Save it. Chatref trains on the text in the background. Watch the status until
    it shows **Trained**.
  </Step>
</Steps>

## Example: a refund policy

A coffee store could add a source like this:

**Title:** Refund policy

**Content:** We accept returns within 30 days of purchase. Items must be
unopened and in their original packaging. To start a return, email
[orders@example.com](mailto:orders@example.com) with your order number. Refunds go back to your original
payment method within 5 business days.

**Tags:** refunds, returns, policy

Now when a visitor asks "Can I get my money back?", your bot answers from this
text instead of saying it doesn't know.

<Tip>
  Keep each source focused on one topic. A short, clear "Refund policy" source is
  easier for your bot to match than one long page covering ten different things.
</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Add a website" icon="globe" href="/knowledge-base/training-with-websites">
    Crawl content you've already published.
  </Card>

  <Card title="Add files" icon="file" href="/knowledge-base/training-with-files">
    Upload manuals, price lists, and policies.
  </Card>

  <Card title="Track training" icon="bolt" href="/knowledge-base/training-status">
    See when your text finishes training.
  </Card>

  <Card title="Test your bot" icon="robot" href="/agents/playground">
    Ask the question your new text answers.
  </Card>
</CardGroup>
