> ## Documentation Index
> Fetch the complete documentation index at: https://relevanceai-knowledge-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Snippets

> Store reusable text once and reference it across your Tools and Agents.

Snippets are named text variables you store once and reference anywhere a variable is accepted — Agent prompts, Tool inputs, and more. Update the Snippet in one place and every reference picks up the change, so shared text like a company name, support address, or standard disclaimer stays consistent.

## Create a Snippet

1. Click **Snippets** in the left sidebar.
2. Click **Create new Snippet**.
3. Give it a descriptive name (for example `company_name` or `support_email`) and enter the text.
4. Save.

## Reference a Snippet

Use the `snippets.` prefix with your Snippet name wherever variables are accepted:

```
Thank you for contacting {{ snippets.company_name }}.
For help, email {{ snippets.support_email }}.
```

When you edit the snippet later, every place that references it updates automatically.

## Frequently asked questions (FAQs)

<AccordionGroup>
  <Accordion title="Can Snippets contain Markdown formatting?">
    Yes. Markdown in a Snippet renders when the Snippet is used.
  </Accordion>

  <Accordion title="Is there a size limit for Snippets?">
    There's no strict character limit, but Snippets are meant for reusable text elements rather than entire documents.
  </Accordion>

  <Accordion title="Can I use variables inside a Snippet?">
    Snippets are for static text. You can combine a Snippet with other variables in your Tools and Agents.
  </Accordion>

  <Accordion title="Can I organize Snippets into folders?">
    Snippets are stored in a flat list. Use naming conventions (for example `email_header`, `email_signature`) to group related ones.
  </Accordion>
</AccordionGroup>
