# 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 **Google Cloud Storage** option.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FdfdIpojVQu6gHhgd5vwf%2Fgcpset3.png?alt=media&#x26;token=734e66a2-c854-4e23-931d-63d29ce81580" 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 **Google Cloud Storage**, 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**, go to the **Access Keys** tab on **Google Cloud Storage** web platform and create a new access key. Learn more about access keys in [**Google Cloud Storage** official documentation](https://cloud.google.com/storage/docs/authentication/managing-hmackeys).
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-80d7d5a39d4b9ce3ebf0b731dcf7028fbc16d334%2F2.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the **Service URL** field, enter the URL address from the **Request Endpoint** in **Interoperability Settings** (e.g., <https://storage.googleapis.com>). Enter the bucket name in the **Bucket name** field and proceed to the next step.

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

{% step %}
Ensure that the browsing machine—a device with an active license and the **GitProtect** **worker** installed—can access your **Google Cloud Storage** 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%2Fgit-blob-c5d843b228eae7d68acb3df31b53405f86d1cf65%2Fimage%20(351).png?alt=media" 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.

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