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

# Google API

1\. From the Dashboard, select **Settings** > **Google API.**

{% hint style="info" %}
If you knew how to get your own Google API, you can skip this step and fill in your **Google Client ID** and **Google Client Secret**. Conversely, if you wonder how to get these pieces of information, please follow this instruction below.
{% endhint %}

![](/files/-MMTLd86fw1Ppb07H1WA)

2\. Firstly, click [**here**](https://console.developers.google.com/apis) and login with your **Google accoun**t.

3\. Click on the **OAuth consent screen** tab, select **External**, then hit on **CREATE**.

![](/files/-MMTfpHvWq0Nf2pZOFuA)

4\. Fill in all required information and click on **SAVE AND CONTINUE**.

![](/files/-MLBHKllQm1jMHsxZ9xq)

![](/files/-MLBICn9eRY65H55c2z1)

5\. After completing all the above steps, you'll then end up on the **Summary** page, where you can double-check your information and able to edit it.

![](/files/-MMTNrI0IKkRoi9SImgw)

6\. Go back to the dashboard and then click on the **Credentials tab**. On the top center, you'll find the **Create credentials** button.&#x20;

![](/files/-MMTdVYKnMUv0FIH1Boq)

Click on that button and select **OAuth client ID** and **Web application** as an Application type. And, start to fill in the **Name** of your OAuth client.&#x20;

![](/files/-MLB-kE-6yST0y2OQ5P4)

Add your **Authorized redirect URLs** with the form as described below.

Click on **CREATE** when you complete

![](/files/-MLB5H6EPmOf4a1kSkpF)

{% hint style="danger" %}
Your redirect URL must follow this form: <https://yourdomain.com/**callback>.\*\* It can't be Callback or CALLBACK.
{% endhint %}

7\. Copy **Your Client ID** and **Your Client Secret** to fill in your Google API setting.

![](/files/-MLB5aek5R37mAIrZAZi)

&#x20;8\. After you finish, Switch on **Enable Google Login** and click on **SAVE CHANGE.**

![](/files/-MMT_g7lk17c2SmLhFaA)

9\. To ensure your Google API works properly. Click on **TEST API** to test.

![](/files/-MMTa-pyqWcCxMyfuKis)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.upvotex.com/user-guides/settings/google-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
