# How do I set up a Google Cloud bucket?

**1. Sign up for a Google Service Account**

To use Google Cloud buckets, you will first need a Google service account. To sign up, go to the[Google Cloud](https://cloud.google.com/) page and click the "Get started for free" button.

**2. Locate your credentials**

To locate the credentials for your account, you will need to:

* While creating a new[Google service account](https://cloud.google.com/storage/docs/authentication), set role as "Storage Object Creator"
* Select "JSON" as the key format file
* Download to your computer and take note of the **JSON Key File** (`YOUR_JSON_KEY_FILE`)
* Proceed to the [API Library](https://console.cloud.google.com/apis/library)
* Search for "Google Cloud Storage JSON API" and enable the feature
* Wait approximately ten minutes for the action to be processed by the Google network

Now you can set up the storage.objects.create and storage.objects.delete permissions. The latter is optional and only required if you intend to overwrite existing paths.

**3. Create a bucket**

To create a Google Storage bucket, use the [Google Cloud Console](https://console.cloud.google.com/)online, or use a local client that supports the Google Cloud API. We recommend any of the following:

* OSX: [Transmit](https://panic.com/transmit/) using the Interoperability API provided by Google
* Windows: [CloudBerry Explorer](https://www.cloudberrylab.com/explorer/windows/google-cloud.aspx)
* Linux: [Cloud SDK](https://cloud.google.com/sdk/docs/quickstart-linux)

Make sure to take note of your **Bucket Name** (`YOUR_GOOGLE_STORAGE_BUCKET`) and Google **Project ID**(`YOUR_GOOGLE_PROJECT_ID`) after you create the bucket.

**4. Use the bucket with Transloadit Templates**

Assuming you have signed up for Transloadit, proceed to[Template Credentials](/c/template-credentials/). Then under "Adding new Credentials", select "Google Storage" and input the relevant information from the earlier steps.

The following is an example of a simple Template for testing the connection to your Google Storage account.

![](/_next/static/media/copy.04p1cju9qekk_.svg?dpl=dpl_4oZuCDMSVRc4TpVAXTjjeEKNLFAH)

```json
{
  "steps": {
    ":original": {
      "robot": "/upload/handle"
    },
    "exported": {
      "robot": "/google/store",
      "use": ":original",
      "credentials": "YOUR_GOOGLE_CLOUD_CREDENTIALS"
    }
  }
}

```

To see if it works, in the created Template's testing section, click "Toggle Testing Area" and upload an item.

### More

* For more details about Templates and security, see our[Template documentation](/docs/topics/templates.md).
* For more information on saving to Google Cloud, e.g., how to customize file names, see the[🤖/google/store documentation](/docs/robots/google-store.md).
