# Option 2: Web Interface

You have the choice to create a new file or upload your existing files through the web interface.

### Create a New File

1\. Start by selecting the **Files and version** tab, and then clicking **Contribute** → **Create a new file.**

<figure><img src="/files/5vOIaqVbRL9F3Cx6WXLe" alt=""><figcaption></figcaption></figure>

2\. And then you can choose a name for your file, add content, and save your file by clicking on "Commit new file".

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

{% hint style="info" %}
When deploying a Space, provide either a **`dockerfile`** or **`deploy.yaml`**, or both. If both are provided, **`deploy.yaml`** takes precedence and will be executed while the **`dockerfile`**&#x77;ill be ignored.
{% endhint %}

### Upload Files

1.Start by selecting the **Files and version** tab, and then clicking **Contribute** → **Upload files.**

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

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

Note that, if you prefer, you can also utilize [**Lagrange-cli**](/spaces/intro/lagrange-cli.md) to upload code files to your Space


---

# 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.lagrangedao.org/spaces/build-space/option-2-web-interface.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.
