# Configure an OAuth app for Gmail

## Registration of the application

To configure Google OAuth in NovaTalks, you need to specify Client ID and Client Secret when creating an Inbox.

{% hint style="info" %}
Instructions for obtaining Client ID and Client Secret can be found [here](https://support.google.com/cloud/answer/15549257?visit_id=638840282317652118-235193736\&rd=1).
{% endhint %}

<figure><img src="/files/Q6pjlTeLhItDnxxFW5Jk" alt=""><figcaption></figcaption></figure>

After receiving the Client ID and Client Secret, create a Channel to connect your Google account to NovaTalks (see more details in [Email](/en/get-started/settings/inboxes/email.md))

To complete the registration, add the **Redirect URI** received after creating the Email Inbox. This address will be used to redirect the user back to NovaTalks after authentication.

<figure><img src="/files/mQQ2CPSs4FntcPHjwqiI" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If you already have Google OAuth set up, you can use the same app by simply adding a new Redirect URI.
{% endhint %}

{% hint style="warning" %}
NovaTalks supports connecting only one email address.

Only corporate accounts are supported.
{% endhint %}

***

## Publishing an application

To publish, you need to go through the verification process. The verification process may take several days. Once verified, you can publish the app and make it available to all users.

{% hint style="info" %}
Instructions for publishing the application can be found [here](https://support.google.com/cloud/answer/13463073?visit_id=638853279210433263-3917049250\&rd=1).
{% endhint %}


---

# 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://help.novatalks.com.ua/en/get-started/settings/inboxes/email/configure-an-oauth-app-for-gmail.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.
