> For the complete documentation index, see [llms.txt](https://doc.cess.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cess.network/products/deoss/api_description/prerequisites.md).

# 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.
