> For the complete documentation index, see [llms.txt](https://docs.wonderchat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wonderchat.io/setup-guides/training-your-chatbot/how-to-add-or-delete-pdfs-from-your-chatbot.md).

# Managing Uploaded Files

Sometimes you may want to edit the file information that your chatbot is trained on. This tutorial demonstrates how to delete and add files into your chatbot.

***

## Step 1: Go to the chatbots page and click on the edit button

* You can find the edit button located within the column stated “**Files Indexed**”

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2F6R4oArGB6hBI6TehVvDX%2Fimage.png?alt=media&amp;token=bdee48a2-074d-41ac-b9c3-739d5911d8cb" alt=""><figcaption></figcaption></figure>

## Step 2: To Add or Delete Files

### **Adding Files to Your Chatbot**

1. **Choose the Add Option**:
   * Click on the **Add** button, which allows you to upload new files to your chatbot.
2. **Upload a File**:
   * Select **Upload File** from the options.
   * Click the **Upload File** button.
   * A file browser will open where you can select the file you want to upload from your device. Wonderchat supports various formats, so make sure your document is in a supported format.
3. **Confirm the Upload**:

   * After selecting the file, click the **Confirm** button to finalize the upload (as shown at the bottom right of the first image).
   * The file will now be stored in your chatbot's database and available for use.

   <figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2FZmHxiJvRfbYYCE1bCcpw%2Fimage.png?alt=media&amp;token=42f9ba55-2653-4418-8e57-0a715f9c8999" alt=""><figcaption></figcaption></figure>

### **Deleting Files from Your Chatbot**

1. **Select the Delete Option**:
   * If you wish to remove a file, go to the **Edit Files** section and select the **Delete** option (as shown in the second image).
2. **Choose the File to Delete**:
   * You will see a list of files currently stored in your chatbot. Locate the file you want to remove.
   * Click on the **Trash Bin Icon** next to the file name (highlighted with a red arrow in the second image).
3. **Confirm the Deletion**:

   * Once you’ve selected the file to delete, click the **Confirm** button (at the bottom right of the second image) to remove it from your chatbot’s file list.

   <figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fq4bkOjELiwbPzc2yzn23%2Fimage.png?alt=media&amp;token=c409efd8-8c07-470f-ba3c-024a701dfbfa" alt=""><figcaption></figcaption></figure>

## Summary

* **To Add Files**: Click on the **Add** button, upload the file, and confirm.
* **To Delete Files**: Select **Delete**, choose the file, and confirm the action.

By following these steps, you can efficiently manage the files available to your chatbot in Wonderchat.

***

If you have any more questions, feel free to reach out to us at <mark style="color:purple;">**<support@wonderchat.io>**</mark>
