# How to get Client ID and Client Secret in Google Cloud Console

To get a **Client ID** and **Client Secret**, you must create **OAuth 2.0 credentials** within a project in the Google Cloud Console. The process involves setting up an OAuth consent screen and then generating the credentials for a specific application type.&#x20;

### Step-by-Step Guide

1. **Go to the Google Cloud Console**
   * Navigate to the Google Cloud Console and sign in with your Google account.
   * Select an existing project from the top menu, or create a new one if needed.
2. **Enable the Necessary API**
   * In the left-hand navigation menu, go to **APIs & Services** > **Library**.
   * Search for the API you need (e.g., "Google Sheets API," "Gmail API") and click on it.
   * Click the **Enable** button to activate the API for your project.
3. **Configure the OAuth Consent Screen**
   * In the left menu, go to **APIs & Services** > **OAuth consent screen**.
   * Select the **User type** (usually **External** unless you are a Google Workspace organization user) and click **Create**.
   * Fill in the required "App information," including the **App name**, **User support email**, and **Developer contact information**.
   * Click **Save and Continue** through the "Scopes" and "Summary" sections (you can define scopes later if needed).
4. **Create the OAuth Client ID and Secret**
   * In the left menu, go to **APIs & Services** > **Credentials**.
   * Click the **+ CREATE CREDENTIALS** button at the top and select **OAuth client ID** from the dropdown menu.
   * Select the appropriate **Application type** for your use case: **Web application**.
   * Provide a **Name** for your client ID (this is only for your reference within the console).
   * You  need to add **Authorized redirect URIs:** [ **https://quote.storeify.app/oauth/callback**](https://quote.storeify.app/oauth/callback)
   * Click **Create**.&#x20;

#### Retrieve the Client ID and Client Secret&#x20;

A pop-up window will display your generated **Client ID** and **Client Secret**. Copy these values and store the **Client Secret** securely, as it should be treated like a password.&#x20;

You can revisit and view these credentials anytime from the Credentials page in the Google Cloud Console by clicking on the name of the client you created.

### See the detailed step-by-step screenshots from A to Z to get ***Google client ID and secret Key***:

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FfLGwQNEVqdUP7pG5FWQT%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-25-22.jpg?alt=media&#x26;token=f859a674-5f25-4aee-81a7-b0e51d9e72f3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2Fqh6CaeJqwmEOoSf4jFzm%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-42-35.jpg?alt=media&#x26;token=4c2edd9b-78a1-4afa-ae2d-8fc1bb9c3e8c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FlLXJ50VdEMu3VEtvT4Ok%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-43-51.jpg?alt=media&#x26;token=570fd06d-35d3-4476-8e34-35a35384e291" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2F3I1qCdsQZEGiw9iT6ygl%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-44-27.jpg?alt=media&#x26;token=c27125f8-57ad-4a85-b923-1561fb559e9c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2Fpk9V3kJ4AAkBoyKO3crW%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-29-38.jpg?alt=media&#x26;token=9cc5761a-926d-4a67-a0e3-a31ebb0a8623" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FKpogmQs2Oed27N7ce3kU%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-30-51.jpg?alt=media&#x26;token=bade014f-270f-4aa8-a5d0-caa949471be1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2F8HHTEwBmJalVU0ZCFNSz%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-32-40.jpg?alt=media&#x26;token=2740dedf-87ab-4f8f-a95f-b03481d09e43" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2F6HxyJxCLvjGPo3nKYUPi%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-34-02.jpg?alt=media&#x26;token=fb0a364a-b4a6-4308-bcb6-6f4a98f436cd" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2F4LbiR8GQjA2WRPpijNmV%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-35-02.jpg?alt=media&#x26;token=b4f9bda9-cc10-4f51-82a2-7b077212451e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FT37BpIICceuxiJwej99s%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-35-51.jpg?alt=media&#x26;token=d85db7d9-980f-4810-8097-bd00af9bcab8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FW1ZWIMbIqOCbcGdYHZHL%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-36-53.jpg?alt=media&#x26;token=96bf9b31-2edc-4eac-bd23-b448a837ccd5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FWBv0yvE3284ZJrUPQttf%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-38-03.jpg?alt=media&#x26;token=fe78aade-a7df-4d76-ba31-fdedb923e6f8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FbCJ1sgrg1LRx5cBUmUPF%2FMonosnap%20Chat%20%7C%20NGUYE%CC%82%CC%83N%20VA%CC%86N%20%C4%90U%CC%9B%CC%81C%20%7C%20Microsoft%20Teams%202026-01-23%2014-39-15.jpg?alt=media&#x26;token=520924f1-d6fb-4a74-9203-506c943b1fbc" alt=""><figcaption></figcaption></figure>


---

# 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://quote-guide.storeify.app/integration/how-to-get-client-id-and-client-secret-in-google-cloud-console.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.
