---
updatedAt: 2026-09-28T14:46:03.000Z
agentTools:
  projectIndex: https://developer.searchblox.com/llms.txt
---

# Google Site Data Source

The **Google Site Data Source** lets you index content from your Google Sites into a SearchBlox collection, allowing you to search pages, text, and attachments directly within SearchBlox.

# **Configuring SearchBlox**

Before using the Google Site Data Source, make sure SearchBlox is installed and a **Custom Collection** is created.

![](https://files.readme.io/c949d0e554dca82df1b987904f9042d4a3a21f42e96e51abc116a0acfb16a93d-image.png)

# **Configuring API for Google Site**

\*\*

Steps to create client\_secret.json and configure Google Site

1. Go to <https://console.developers.google.com/>.
2. Log in with your Google account.
3. Select an existing project or create a new project.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/f252b12cbd3ee9eb0de44ca162474aa68d7fe2cd543e1e590130d36398be1495-google-drive-console.png",
        "gdrive1.png",
        418
      ],
      "align": "center"
    }
  ]
}
[/block]

4. If creating a new project, enter the project name and agree to the terms of service.
5. Click on Credentials in the left menu.
6. On the right page, click Create Credentials and choose OAuth client ID.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/800ae36aa97bf76633e9c3139ce53a9162fad2deba43e5b3904cd973e890f3e3-google-drive-credentials.png",
        "gdrive2.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

7. Select Application Type as Desktop App and create the credentials.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/6b789efae00f710f3a46dbc9ad46209942c5d430b479c1e23f62175ba7c197a0-google-drive-credentials-create.PNG",
        "gdrive3.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

<br />

8. After creating, you will see the credentials listed.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/b896802badb9e832c9a7b71758d29afd0c5784dc1373ab100512ae4c1c5c09e9-google-drive-credentials-list.png",
        "gdrive3.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

9. Download the credentials and rename the file to client\_secret.json.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/0902476d90e074961d82bf7671d7a6c6364b5bc85440a43d3a3f2d50f99b0c0f-google-drive-download-json.PNG",
        "3.5.png",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

<br />

## **Configuration details of Google Site Data Source**

[Accessing Connector UI](https://developer.searchblox.com/docs/connectors-ui)

|                     |                                                                          |
| :------------------ | :----------------------------------------------------------------------- |
| url                 | The SearchBlox URL.                                                      |
| api-key             | The API key for your SearchBlox instance.                                |
| data-directory      | The folder where data will be stored. Make sure it has write permission. |
| colname             | The name of the Custom Collection in SearchBlox.                         |
| exclude-formats     | File formats that should be excluded from indexing.                      |
| exclude-google-mime | Google MIME types to exclude.                                            |
| fetch-interval      | Time between each fetch in seconds.                                      |
| exclude-size        | File sizes that should be excluded from indexing.                        |
| domain              | The website domain.                                                      |
| siteName            | The name of the site in Google Sites.                                    |