> 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="https://2951078474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWgzFJTgbmbm8iaxYNRS%2Fuploads%2Fgit-blob-995ecb223ccca3131ee777fffc6ddedd7c019be7%2Fbuy_territory.png?alt=media" 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="https://2951078474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWgzFJTgbmbm8iaxYNRS%2Fuploads%2Fgit-blob-0e16b1bc79b1a806bbce4642caad5aa268b79ea2%2Fauthorize_oss.png?alt=media" 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.
