# Google Cloud - setup

### Google Cloud API Settings

Required credentials:

* Service account key (JSON File)

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FhFAmQwClrUlH7u5aV5Dl%2FGoogle%20Cloud.jpg?alt=media&#x26;token=6965dcd3-38a6-4080-bc66-945c4dff6d24" alt=""><figcaption></figcaption></figure>

### How to obtain credentials (JSON file)

Login in to your Google Cloud account.

Navigate: **Cloud Storage** > **Buckets**

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FYudhLYBX0xw0ZS7iyYhQ%2FGoogle%201.jpg?alt=media&#x26;token=99d4fbb7-59a0-4e35-b86c-7ea62ad886f3" alt=""><figcaption></figcaption></figure>

Create a new project and set **Project Name** and **Location**. Click "**Create**".

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FDMB7ycjoUn7xKz60yLWT%2FGoogle%202.jpg?alt=media&#x26;token=b14cf5b4-20e5-488d-a9cd-8ed41e71af6c" alt=""><figcaption></figcaption></figure>

Navigate: **Buckets** > **Create Bucket**

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FLCYbu0QZUlJU5aLxXCHE%2FGoogle%203.jpg?alt=media&#x26;token=2701439f-0a90-4e04-ad55-5fed4da7ec54" alt=""><figcaption></figcaption></figure>

Give a name for your bucket and click "**Continue**" button.&#x20;

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FyPZWFuYFTPQ2fjMEKbbR%2FGoogle%204.jpg?alt=media&#x26;token=65b1e1b1-d07f-492a-9eff-da20320698f7" alt=""><figcaption></figcaption></figure>

Continue by setting the next options based on your preference. On the step "**Choose how to control access objects**", on **Access control** set "**Fine-grained**" and continue.&#x20;

The option "**Enforce public access prevention on this bucket**" must be unchecked (disabled).

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2Fr5XjwwklHvJoUJoJcU6c%2FGoogle%205.jpg?alt=media&#x26;token=26ed336e-9447-47ed-9c91-facb4e359566" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The option "**Enforce access prevention on this bucket**" must be **unchecked/disabled** as shown on the image below. If you have this enabled, it **will not work** for SEO Neo.
{% endhint %}

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FLRABoL80qfJDIxcAbze8%2FGoogle%205-2.jpg?alt=media&#x26;token=644e1de8-c928-4368-ab0a-3342686c175f" alt=""><figcaption><p>Make sure "Enforce public access prevention on this bucket" option is unchecked.</p></figcaption></figure>

Then navigate to **APIs & Services** > **Enabled APIs and Services**

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FbEA2SHKhcq9FEgQfvQcE%2FGoogle%206.jpg?alt=media&#x26;token=737d118e-d84e-4104-bca3-4b53c4f7237e" alt=""><figcaption></figcaption></figure>

Click on "**ENABLE APIS AND SERVICES**"

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FNl6iiMXFJLrngo8D9YvZ%2FGoogle%207.jpg?alt=media&#x26;token=78a06a6c-2079-4790-8a6b-ca3a34130a1a" alt=""><figcaption></figcaption></figure>

Select "**Cloud Storage API**" which is the service we will use for our cloud blogs.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FGYWiFsQGVz1lugCuyWkq%2FGoogle%208.jpg?alt=media&#x26;token=a8ee59e8-0be5-43b4-b23d-041e2d75ffc1" alt=""><figcaption></figcaption></figure>

Click "**Enable**" button to enable the service.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FSA8KwvY97fc4Mn03sNqD%2FGoogle%209.jpg?alt=media&#x26;token=f9b5e7dc-c355-406c-9c24-09157a1ff949" alt=""><figcaption></figcaption></figure>

From "**APIs & Services**" > click on "**Credentials**" submenu.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FIjfR4JDgPCsupNVt1LWj%2FGoogle%2010.jpg?alt=media&#x26;token=dffd6bbf-7418-42f9-8253-b9e96d861227" alt=""><figcaption></figcaption></figure>

On **Credentials** menu, click "**CREATE CREDENTIALS**" and then "**Service Account**" option.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2Fqkszibs82z8CeXwPknLB%2FGoogle%2011.jpg?alt=media&#x26;token=c422f3c4-76bb-4e49-8ea0-c01fb541c602" alt=""><figcaption></figcaption></figure>

You will be navigated to "**Service Account**" menu. Give a **Service account name** and **Service account ID** and click "**CREATE AND CONTINUE**" button to continue on next step.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FzZTOK5E2ARbSE47AV1b9%2FGoogle%2012.jpg?alt=media&#x26;token=d6cb365c-52aa-4565-bf79-4791cb44b1e2" alt=""><figcaption></figcaption></figure>

On the next step, you set **Role** to "**Owner**" and click "**DONE**" button.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FYTUz8CAAzENKZqDwPJnn%2FGoogle%2013.jpg?alt=media&#x26;token=7fcc7acf-0bb2-456a-b6b8-faeff0e49247" alt=""><figcaption></figcaption></figure>

On the next screen you will see your service accounts. Click on your created service account.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FKxFDV8DruKItmwhudeib%2FGoogle%2014.jpg?alt=media&#x26;token=24e8ffe3-f788-402f-9cef-72bb8d027cf8" alt=""><figcaption></figcaption></figure>

Go to "**KEYS**" menu, click on "**ADD KEY**"  and then "**Create new key**" option.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2Frv7K5A57dQ8TwledSeRQ%2FGoogle%2015.jpg?alt=media&#x26;token=3cacf5ae-6582-4e0a-b5f9-434bb4bf659d" alt=""><figcaption></figcaption></figure>

On the pop-up menu you will see option on creating your private key. Choose "**JSON**" option and click "**CREATE**" button.

<figure><img src="https://2718133043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2UzeMjUGHvOZRX1jMiVc%2Fuploads%2FuTokl468y0YANbAFISFj%2FGoogle%2016.jpg?alt=media&#x26;token=347cce4c-bbdb-41fa-a9cb-7c601f441a4c" alt=""><figcaption></figcaption></figure>

Save the JSON file on your system. Use this JSON file to setup Google Cloud service.
