# Set up a project in Google Cloud Platform

### Guiding Video

{% embed url="<https://youtu.be/rVN_Yj7KDWk?t=1096>" %}

### Step 1: Login/Register your Google account

First, you have already signed in to your Google account.

![](/files/-McY0k8FGlzGxIUBL8E6)

### Step 2: Set up a project in Google Cloud Platform

Then go to this link:[ ](https://developers.facebook.com/apps/)[Google Cloud Platform](https://console.cloud.google.com/)

If you first go to **Google Cloud Platform**, Google will ask you to agree to their Terms of Service. Select a country![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`I agree...` ![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Accept and continue`.

![](/files/-McTjhAw8L4HP2fQWHf8)

Then create a new project by clicking `Select a project` (or the name of the current project - also in that position).

![](/files/-McY-Rr80w-zi2dK7AEH)

Click `New project`.

![](/files/-McY24lpsZhxqxzNFwQG)

Fill in the basic information for your project, then click `Create`.

![](/files/-McY2u8v4Da0K8_jIFKJ)

Next, go to `OAuth consent screen`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`External`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Create`

![](/files/-McY3rYdN5Af_mACbcSs)

Fill in the following fields and then click `Save and continue`

* App name
* User support email
* App logo
* Application home page: the link to your homepage
* Application privacy policy link: the link to the Privacy Policy page of your website
* Application terms of service link: the link to the Terms of Service page of your website
* Add domain
* Developer contact information

![](/files/-McY6i9xeWrda-A8YXLE)

### Step 3: Set up a credential for your project

Go to `Credentials`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`Create credentials`![sau đó](https://lh3.googleusercontent.com/3_l97rr0GvhSP2XV5OoCkV2ZDTIisAOczrSdzNCBxhIKWrjXjHucxNwocghoUa39gw=w36-h36)`OAuth client ID`

![](/files/-McYA10MofhydY6A_CS0)

Choose an application type of `Web application`.

![](/files/-McYAq_BfWC59GOeIOvA)

Fill in the `Name` field. (You should use your website's name)

Go to **Authorized JavaScript origins** and fill in the`add URL` field like below:

```
http://your-website/_oauth/google
```

Change `your-website` to your website domain, then click `Create`.

![](/files/-McYCOM6jLsQWeffzp1T)

You will receive the **Client ID** and the **Client Secret** for your website.

![](/files/-McYEdkmychnAth7R7Ha)

Follow [this guide](/english/system-setting/authentication/sign-in-via-social-media.md#allow-sign-in-with-google) to finish set up **Login with Google**.


---

# 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://docs.hoola.vn/english/system-setting/authentication/sign-in-via-social-media/set-up-a-project-in-google-cloud-platform.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.
