# Video and Audio Files

Enhancing your Wonderchat chatbot with multimedia content like videos and audio files is a simple process. Follow these steps to successfully upload your files:

## **Step 1: Access Your Chatbot’s Settings**

1. After logging into Wonderchat, navigate to the **chatbots page** located on the left sidebar.
2. Find the chatbot you want to edit under the **Personal** or **Shared with me** tab.
3. Click on the three-dot menu on the right side of your chatbot and select **Edit Chatbot** from the dropdown menu.

<figure><img src="/files/ZeLNmLSoqsf0UprljSlb" alt=""><figcaption></figcaption></figure>

## **Step 2: Select the Data Source**

1. Once you're in the chatbot editing view, go to the **Data Source** tab at the top of the screen.
2. Under **Data Source Settings**, select **File & Video** as the **Data Source Type**.
3. Click the **Add** button to proceed.

<figure><img src="/files/GVOyrXEXyhMamuzkUksU" alt=""><figcaption></figcaption></figure>

## **Step 3: Choose Your Upload Method**

You can upload your file in two ways:

* **Upload File**: Directly upload a file from your device.
* **Google Drive**: Link and upload files from your Google Drive.

## **Step 4: Select "Upload File"**

1. Once in the file upload interface, ensure that **Upload File** is selected (as shown in the image above).
2. Click on the **Upload File** button. A file selector window will open, allowing you to browse and choose a file from your computer.

**Supported file types** include:

* **Documents**: PDF, CSV, TXT, DOC, DOCX, PPTX
* **Audio/Video**: MP3, MP4, MPEG, MPGA, M4A, OGG, WAV, FLAC, WEBM
* **Audio/Video Duration Limit**: Files should not exceed 10 minutes in length.

<figure><img src="/files/e8QD7cOZDeJtrnDpg4La" alt=""><figcaption></figcaption></figure>

## **Step 5: Confirm and Save**

1. Once the file is uploaded, click **Confirm** to add it to your chatbot.
2. After confirming, don't forget to hit the **Save** button on the main screen to ensure the changes are applied.

## **File Upload Guidelines**

* Ensure the file formats are supported by Wonderchat.
* Each file should not exceed 10 minutes in length for audio and video content.
* For Youtube links, please ensure that the videos are publicly viewable.

***

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


---

# 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.wonderchat.io/setup-guides/training-your-chatbot/how-to-upload-videos-and-audio-files-into-wonderchat.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.
