> For the complete documentation index, see [llms.txt](https://docs.oceanprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oceanprotocol.com/user-guides/asset-hosting/google-storage.md).

# Google Storage

How to use Google Storage for your NFT assets

**Google Storage**

Google Cloud Storage is a scalable and reliable object storage service provided by Google Cloud. It allows you to store and retrieve large amounts of unstructured data, such as files, with high availability and durability. You can organize your data in buckets and benefit from features like access control, encryption, and lifecycle management. With various storage classes available, you can optimize cost and performance based on your data needs. Google Cloud Storage integrates seamlessly with other Google Cloud services and provides APIs for easy integration and management.

**Prerequisite**

Create an account on [Google Cloud](https://console.cloud.google.com/). Users might also be asked to provide payment details and billing addresses that are out of this tutorial's scope.

**Step 1 - Create a storage account**

**Go to** [**Google Cloud console**](https://console.cloud.google.com/storage/browser)

In the Google Cloud console, go to the Cloud Storage Buckets page

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-7da505122c87fc7e09021eded21dac403694d504%2FScreenshot%202023-06-15%20at%2015.52.29.png?alt=media" alt=""><figcaption></figcaption></figure>

**Create a new bucket**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-a92499ee6c7d4f26e843f5bd43caf3c227cdce2e%2FScreenshot%202023-06-15%20at%2015.54.21.png?alt=media" alt=""><figcaption></figcaption></figure>

**Fill in the details**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-aa1dac5215bba68b63f15a98849e71407aea1449%2FScreenshot%202023-06-15%20at%2015.55.16.png?alt=media" alt=""><figcaption></figcaption></figure>

**Allow access to your recently created Bucket**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-2b937b34fd59b1675c4af62d20152f287a192322%2FScreenshot%202023-06-15%20at%2015.56.34.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 2 - Upload a file**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-21fbda1900958afbe1a609711ecbd5c16b381d02%2FScreenshot%202023-06-15%20at%2015.58.29.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 3 - Change your file's access (optional)**

**If your bucket's access policy is restricted, on the menu on the right click on Edit access (skip this step if your bucket is publicly accessible)**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-981af7a3480e22645fd5d9161da59a39473852e6%2FScreenshot%202023-06-15%20at%2016.08.42.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-7d71185e3e878be1f9caf055c5b514a7ec988539%2FScreenshot%202023-06-16%20at%2008.15.45.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 4 - Share the file**

**Open the file and copy the generated link**

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-e378dd557cc5961eff8188fe10a269f23cc24a16%2FScreenshot%202023-06-15%20at%2016.12.10.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-1768146fd66974e98091c45b1fac542096081218%2FScreenshot%202023-06-16%20at%2008.16.46.png?alt=media" alt=""><figcaption></figcaption></figure>

**Step 5 - Publish the asset using the generated link**

Now, copy and paste the link into the Publish page in the Ocean Marketplace.

<figure><img src="https://932814818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzQlpIJEeu8x5yl0OLuXn%2Fuploads%2Fgit-blob-3d094c1c386da664ec26863488eedbb2f4d0b7ed%2FScreenshot%202023-06-15%20at%2016.26.56.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.oceanprotocol.com/user-guides/asset-hosting/google-storage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
