> 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

Configure the Google API for user login with Google Account.

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 %}

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMTLd86fw1Ppb07H1WA%2FScreen%20Shot%202020-11-19%20at%209.33.56%20AM.png?alt=media\&token=43d3b957-13a3-4a8e-a5d8-6740e7c16a0e)

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**.

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMTfpHvWq0Nf2pZOFuA%2FScreen%20Shot%202020-11-19%20at%2011.05.14%20AM.png?alt=media\&token=c4c2db7c-75f7-418a-8a40-273edb40daa0)

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

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MLB1jfdsGZdgRy-xPYq%2F-MLBHKllQm1jMHsxZ9xq%2FScreen%20Shot%202020-11-03%20at%2011.04.19%20AM.png?alt=media\&token=4863a726-3ccf-4827-823b-c2644e84543b)

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MLB1jfdsGZdgRy-xPYq%2F-MLBICn9eRY65H55c2z1%2FScreen%20Shot%202020-11-03%20at%2011.08.39%20AM.png?alt=media\&token=91e002eb-18d1-4594-b953-1b8ed01e7c31)

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.

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMTNrI0IKkRoi9SImgw%2FScreen%20Shot%202020-11-19%20at%209.43.15%20AM.png?alt=media\&token=59dc67cd-a38f-4ac4-bc94-ec862365dd9d)

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;

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMTdVYKnMUv0FIH1Boq%2FScreen%20Shot%202020-11-19%20at%2010.54.48%20AM.png?alt=media\&token=a9a15cc4-b8e1-4a29-84de-1540e56e7a25)

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;

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MLAdg-L_c79mHzOeoFu%2F-MLB-kE-6yST0y2OQ5P4%2FScreen%20Shot%202020-11-03%20at%209.50.05%20AM.png?alt=media\&token=9b61e6cc-6f3e-423a-9f73-b347f1b48e96)

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

Click on **CREATE** when you complete

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MLB1jfdsGZdgRy-xPYq%2F-MLB5H6EPmOf4a1kSkpF%2FScreen%20Shot%202020-11-03%20at%2010.14.16%20AM.png?alt=media\&token=5c45b210-4279-48a6-a272-41dfebb8a56f)

{% 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.

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MLB1jfdsGZdgRy-xPYq%2F-MLB5aek5R37mAIrZAZi%2FScreen%20Shot%202020-11-03%20at%2010.15.40%20AM.png?alt=media\&token=4c930dc8-0626-4c77-bb21-f90ac907f5f3)

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

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMT_g7lk17c2SmLhFaA%2FScreen%20Shot%202020-11-19%20at%2010.39.18%20AM.png?alt=media\&token=77a7b8cb-a1ef-423f-88d6-cced84eea171)

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

![](https://126743166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-ML5sxuYFkWy4d8wjuRd%2F-MMTFSRBXGjN4gROxUkj%2F-MMTa-pyqWcCxMyfuKis%2FScreen%20Shot%202020-11-19%20at%2010.41.06%20AM.png?alt=media\&token=db6f6d2e-ff60-42c0-9c23-c4b1de7c3365)
