# How to create a Gmail OAuth Client ID

Applies to: QLM Pro v17

***

&#x20;Go to the [Google Cloud Platform Console](https://console.developers.google.com/) and sign in as an administrator.

* From the main dashboard, click **Create Project**.

![Gmail1.jpg](https://ebstalimited.zendesk.com/hc/article_attachments/360010817058/Gmail1.jpg)

* Enter a project name and select your organization

<img src="https://support.soraco.co/hc/article_attachments/12908729649172" alt="mceclip0.png" height="288" width="473">

* Select your new project and go to the **API & Services** section
* Click **+ Enable APIS and Services**

![mceclip2.png](https://support.soraco.co/hc/article_attachments/12908785952660)

&#x20;

* Enter Gmail in the search field, select the Gmail API option then click **Enable**.

![mceclip3.png](https://support.soraco.co/hc/article_attachments/12908788353044)

&#x20;

* To create an OAuth Client ID, select Credentials

![mceclip0.png](https://support.soraco.co/hc/article_attachments/12910549317652)

* Click Create Credentials and select OAuth Client ID

![mceclip1.png](https://support.soraco.co/hc/article_attachments/12910590024340)

&#x20;

* Set the Application type to Desktop and Click Create

<img src="https://support.soraco.co/hc/article_attachments/12910581287572" alt="mceclip2.png" height="416" width="564">

* Make a copy of the Client ID and the Client Secret and store them in a secure location. You will need them to configure QLM.
* Configure the OAuth Consent Screen. This step is required to verify your app registration with Google. Once the app is verified, you should be able to send emails from QLM.

![mceclip4.png](https://support.soraco.co/hc/article_attachments/12911777901460)


---

# 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.soraco.co/docs/email-framework/configuration/sending-emails-using-the-gmail-api/how-to-create-a-gmail-oauth-client-id.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.
