> For the complete documentation index, see [llms.txt](https://docs.hoola.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hoola.vn/english/system-setting/authentication/sign-in-via-social-media/set-up-a-project-in-google-cloud-platform.md).

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY0k8FGlzGxIUBL8E6%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-0-hoola.jpg?alt=media\&token=7bf7ce2e-6588-4cc7-b8d1-77baa1a5ce26)

### 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`.

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McTi-tO_Zjl-3SXeiu6%2F-McTjhAw8L4HP2fQWHf8%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-1-hoola.jpg?alt=media\&token=c7e79630-d170-4a2d-86a3-02b3602e3431)

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY-Rr80w-zi2dK7AEH%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-1-hoola.jpg?alt=media\&token=7848faeb-9eb9-4691-8f8b-df76c089ab1b)

Click `New project`.

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY24lpsZhxqxzNFwQG%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-2-hoola.jpg?alt=media\&token=5fefe275-f57f-4e56-82cf-d1b0a631d5a8)

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY2u8v4Da0K8_jIFKJ%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-3-hoola.jpg?alt=media\&token=dad62c66-4549-4529-86f7-f8f676753cd9)

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`

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY3rYdN5Af_mACbcSs%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-4-hoola.jpg?alt=media\&token=5b1d8a4a-d064-4c84-ac98-d9f29f450aca)

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McXwxzxnonLpjsVcohx%2F-McY6i9xeWrda-A8YXLE%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-5-hoola.jpg?alt=media\&token=066ac120-7c3c-4e51-8d08-0bba01351b1d)

### 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`

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McY8SR_HZ4xvpf7MdwX%2F-McYA10MofhydY6A_CS0%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-6-hoola.jpg?alt=media\&token=dfc79750-728f-4035-a0b3-8cecb1c0746a)

Choose an application type of `Web application`.

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McY8SR_HZ4xvpf7MdwX%2F-McYAq_BfWC59GOeIOvA%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-7-hoola.jpg?alt=media\&token=3854ee14-4cfb-46cf-9f73-191f31f1f1a5)

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McY8SR_HZ4xvpf7MdwX%2F-McYCOM6jLsQWeffzp1T%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-8-hoola.jpg?alt=media\&token=03d780e3-0539-429a-a2cc-2e558bd4eda9)

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

![](https://34448296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mc36xfvNUZ7-wIWAhWb%2F-McYE2hBw7yrnnE1w5ao%2F-McYEdkmychnAth7R7Ha%2FHuong-dan-dang-ky-dang-nhap-googole-console-app-9-hoola.jpg?alt=media\&token=3f388a4d-cc22-4ed3-b89b-96bf08fce2bd)

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