# Paste Text

> The sheet on the Knowledge tab's Upload card that adds pasted text to a knowledge base as one source, with a name of your choosing.

Source: https://air.build/docs/screens/knowledge/paste-text/

Paste Text adds text you paste, such as an FAQ copied from a web page, to the knowledge base on the [Knowledge](https://air.build/docs/screens/knowledge/knowledge/) tab. The text becomes one source, listed under **Files** like an added file.

## Open it

On the [Knowledge](https://air.build/docs/screens/knowledge/knowledge/) tab, tap **Paste Text** on the **Upload** card. It's dimmed while a publish is running. The same on iPhone, iPad and the Mac.

## What's on it

| Item | What it does | Default |
| --- | --- | --- |
| Title | **Paste Text**. | — |
| **Name** | What the source is called under **Files**. | Empty; shows "Pasted text" as a hint |
| **Text** | A large field for the text. Paste or type into it. Return here starts a new line. | Empty |
| **Add** | Adds the text and closes the sheet. Off until the text has something other than spaces and line breaks. | — |
| **Cancel** | Closes the sheet; nothing is added. | — |

On iPhone and iPad, **Cancel** is at the top left and **Add** at the top right; **Add** is dimmed until it can be tapped. Swiping the sheet down also closes it without adding. On the Mac they're at the bottom right. On the Mac, Return in **Name** presses **Add**.

## Add pasted text

1. Tap **Paste Text** on the **Upload** card.
2. Type a **Name**, or leave it empty to call the source "Pasted text".
3. Paste the text into the large field.
4. Tap **Add**.

The text is added like a file: it shows on the **Upload** card while it's read, then under **Files** with the kind **Pasted text**, marked **New**. It's saved by itself and goes into your app's answers once you publish (see [Publish or discard](https://air.build/docs/screens/knowledge/knowledge/#publish-or-discard)).

If the name is already used by another source on the page, a number is added after it: "Pasted text 2", "Pasted text 3", and so on. Each paste is a source of its own.

## Messages

The sheet itself shows no messages. If the text can't be used, the reason shows on the **Upload** card; see [Add documents](https://air.build/docs/screens/knowledge/knowledge/#add-documents).
