# Prerequisites

When you need to upload files or objects through the gateway, the following conditions must be met:

1. Purchase a territory This operation needs to be completed in [the blockbrowser](https://polkadot.js.org/apps/), as shown in the following figure:

<figure><img src="/files/U4b0rQXv2mJx8gnc9X4Q" alt="Buy Territory"><figcaption><p>Buy Territory</p></figcaption></figure>

2. Authorize your territory to the gateway you use This operation needs to be completed in [the blockbrowser](https://polkadot.js.org/apps/), as shown in the following figure:

<figure><img src="/files/t40EL9FKM9C85sX2kKce" alt="Authorize OSS"><figcaption><p>Authorize OSS</p></figcaption></figure>

When you only need to create a bucket or Delete operation, you only need to meet the second condition above.


---

# 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://doc.cess.network/products/deoss/api_description/prerequisites.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.
