# Google Indexing

This is the functionality that allows you to submit your website URLs directly to Google for indexing.

<figure><img src="/files/l0oayEwqYSxXx6CawOCb" alt=""><figcaption></figcaption></figure>

Here, before you start adding URLs in this field, you first need to connect the app with Google Search Console via JSON key.

### <mark style="color:blue;">How to get the JSON Key?</mark>

1. Open **Google Cloud Console** and go to **Select a Project.**

<figure><img src="/files/8mhOq8WBBwrGd4yF5GFV" alt="getting JSON key via Google Cloud Console"><figcaption></figcaption></figure>

2. Select **New Project** after going to the Select a Project button.

<figure><img src="/files/wNuFEXybvgSt8GfaIoh2" alt=""><figcaption></figcaption></figure>

3. Enter the **Project Name**

<figure><img src="/files/87iadJxuPZFEkGnWwpcj" alt=""><figcaption></figcaption></figure>

4. Select the project you created recently.

<figure><img src="/files/ei9raC8z5VTNTrDh3S1a" alt=""><figcaption></figcaption></figure>

5. Open the **Dashboard** section and go to **APIs & Services** <mark style="color:blue;">➤</mark> **Credentials**

<figure><img src="/files/p0xcBvUHKCwys5lQwMI3" alt=""><figcaption></figcaption></figure>

6. Now, **Create Credentials** ➤ **Service account**

<figure><img src="/files/bEjTTzUnrXoM2AAZK5mw" alt=""><figcaption></figcaption></figure>

7. Create **Service Account** by filling up the required details in the **Service account details**, and then **Create and Continue.**

This is the first step of the three steps that you need to configure for proceeding.

<figure><img src="/files/AodWAsB1we1hbgkIulC4" alt=""><figcaption></figcaption></figure>

8. If you want to **Grant this service account access to project** then you can **select a role**.

This field is completely **Optional**. Hence, you can select to **Continue** without selecting any role.

<figure><img src="/files/Y6UXa4wuuMyxDjYycms1" alt=""><figcaption></figcaption></figure>

9. If you want to **Grant users access to this service account**, then fill in the required fields.

This field is completely **Optional**. Hence, you can select **Done** without filling in the information.

<figure><img src="/files/MDfDyYc6vqcre1Sye4sD" alt=""><figcaption></figcaption></figure>

10. Click on the created service account.

<figure><img src="/files/fXyjjqQj4X64erxwkyIv" alt=""><figcaption></figcaption></figure>

11. In the created service account, go to **Keys** <mark style="color:blue;">➤</mark> **Add key** <mark style="color:blue;">➤</mark> **Create new key**

<figure><img src="/files/4DAwTBOPmYPeOoQbEA90" alt=""><figcaption></figcaption></figure>

12. Select **JSON** as your private key type and select **Create** to download JSON key.

<figure><img src="/files/95GeQpXReDimfaAx0r0t" alt=""><figcaption></figcaption></figure>

13. After selecting the **Create** button, your JSON key will be saved to your computer.

<figure><img src="/files/5qQ1V3IoFrrdVGUAwagV" alt=""><figcaption></figcaption></figure>

Now, you can enter this JSON key to its respective field provided in the Google Indexing field.

### <mark style="color:blue;">**Steps to add URLs for indexing**</mark>

<mark style="color:blue;">**Step #1**</mark>

Start by selecting the **Config** button.

<figure><img src="/files/EGPWcvIGe3Dr4DABI1l5" alt="SPIDER google indexing"><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #2**</mark>

Once you select the **Config** button, a splash popup will be displayed on your screen. Enter the JSON key to establish a connection with Google Search Console.

<figure><img src="/files/UZjzW5VrHb0IEizORPcd" alt="SPIDER add JSON key"><figcaption></figcaption></figure>

After entering the JSON key, you can **Save** the key and proceed further.

<figure><img src="/files/sfydoWQ31mQZ5srPrN2L" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #3**</mark>

Once you have added the key and saved the changes, you can **Add** your website URLs easily to get them indexed by Google.

<figure><img src="/files/9OD4HEuN8xo6yGK5f2i7" alt="SPIDER adding URL for indexing"><figcaption></figcaption></figure>

You can add multiple URLs in one go by selecting the **Add URL** button.

After hitting the **Save** button, these website URLs will be submitted to Google for indexing.

<figure><img src="/files/Ak0dM58iRN4m86sx3Cyy" alt="SPIDER adding URL for indexing"><figcaption></figcaption></figure>


---

# 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://magecomp.gitbook.io/shopify/apps/spider-website-seo-optimizer/google-indexing.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.
