# Adding new storage

{% stepper %}
{% step %}
Open the **Storages** section and click **Add storage** button.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FfNAadzV0nWqWehTVGg2R%2Fimage.png?alt=media&#x26;token=9f38b4aa-76b3-4da1-9024-37b3c858c467" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
The **Add storage** sidebar will appear—use it to enter the name of your new storage in the **Add storage name** field (step 1), then click the arrow next to the **Storage type** section (step 2) to expand the list of available storage types.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-37efcfd5381d8d21d7dcf10c81b5e39c02b347dc%2Fimage%20(342).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Scroll down the list and select the **S3 storage** option.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FWNaSzlie31UxHaiOsVK5%2Fs33.png?alt=media&#x26;token=017e3474-4e0c-45b6-ab62-ae1026d266d1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After selecting storage option, the system will display additional sections, including: **Authentication data**, **Service URL**, **Bucket name**, and **Optional description**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-9bfc57575fda088974907aa67a7ad2bfddcc8c9b%2Fimage%20(343).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Copy the **access key ID** and **secret access key** from your **S3**-compliant storage provider, paste the **access key ID** to the corresponding field, and click **Select or add secret access key** to open the **Password Manager** menu and add your copied **secret key** to your bucket.

{% hint style="info" %}
To get the **access key ID** and **secret access key**, visit your **S3**-compatible platform and create a new access key.
{% endhint %}
{% endstep %}

{% step %}
In the **Service URL** field, enter the URL provided by your **S3**-compliant storage provider.
{% endstep %}

{% step %}
Enter the bucket name in the **Bucket name** field and proceed to the next step.
{% endstep %}

{% step %}
Ensure that the browsing machine—a device with an active license and the **GitProtect** **worker** installed—can access your **S3** bucket. To use a different device, click **Change** next to the **Browsing machine** at the bottom.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FHJwscrwZCDjapJVr2ebz%2Fs35.png?alt=media&#x26;token=29b3f99c-b417-45b2-b512-1d9ae7cb1177" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Review your settings and click the **Save** button to add the storage to **GitProtect**. Refresh the page to see the newly added storage on your storages list.
{% endstep %}
{% endstepper %}


---

# 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://helpcenter.gitprotect.io/storage/cloud-storage/s3-compliant/adding-new-storage.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.
