> For the complete documentation index, see [llms.txt](https://help.webhash.com/webhash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.webhash.com/webhash-docs/how-to-edit-every-component-on-your-website/standard-blocks-the-foundation-of-your-website/file.md).

# File 📁

{% embed url="<https://youtu.be/1GemI89ZlOE>" %}

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

* **Add File Block:**
  * Click on the "Add Block" button within the editor.
  * From the list of available blocks, choose "Add File."

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

* **Upload the File:**
  * A pop-up window will appear, featuring an "Choose File" button.
  * Click on this button to select the file you want to add from your device.
* **Provide a Name:**
  * Below the file submission area, there will be a text field labeled "Name."
  * Enter a name or title for the file. This will serve as a label for the file on your website.
* **Submit:**
  * After selecting the file and providing a name, click the "Submit" button in the pop-up window.
* **Confirmation and Display:**
  * After submitting, you'll be returned to the editor.
  * To see the added file, preview your website. The file should now be displayed in the designated section.

By following these steps, you can effortlessly integrate files into your decentralized website, allowing visitors to access and download the files you've provided.

Before uploading, ensure the file is in a compatible format and that you have the necessary rights to share it on your website.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.webhash.com/webhash-docs/how-to-edit-every-component-on-your-website/standard-blocks-the-foundation-of-your-website/file.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
