Email Application-Gmail
CloudCX Connector Hub provides integration with Gmail via the API for Google. The configuration is done server-side, in an easy and straightforward way. Let's follow the instructions step by step to complete the integration with Gmail.
If users in your system intend to utilize the Gmail channel or Gmail SMTP server, configuring this application setting is crucial.
Failure to do so may result in the user receiving a warning message from Google when attempting to connect the Gmail.
Create A Project
To integrate with Gmail, you have to create a project in the Google Cloud portal. You can find more details about creating a project https://cloud.google.com/resource-manager/docs/creating-managing-projects?_gl=1*1etkyrs*_ga*Nzc1OTUzMzMxLjE3MjI0MTA4ODY.*_ga_WH2QY8WWF5*MTcyNDY2MjUyNi4yLjAuMTcyNDY2MjUyNi42MC4wLjA. .
Create A Project
Go to the Google Cloud portal.
Click on “Select a project”, and click on “NEW PROJECT” to create a new project.
Enter a Project name for your project, click on “CREATE” to create it.
After creating the project, click on “SELECT PROJECT” to configure.
Create An App
Go to APIs & Services > Enabled APls & services, click on “ENABLE APIS AND SERICES”.
Find the ”Gmail API“ card, Click on “ENABLE” to enable this API.
Click on OAuth consent screen, select External User Type and click on “CREATE” to create an app for the project.
In the OAuth consent screen step, enter the App name and User support email for this app.
Enter your domain
your_domain
to the Authorized domains, your email address to the Developer contact information, then click on “SAVE AND CONTINUE”.
In the Scopes step, click on “ADD OR REMOVE SCOPES”, select the scope “…/auth/userinfo.email”and click on “UPDATE”, then click on “SAVE AND CONTINUE”.
In the Test users step, click on “SAVE AND CONTINUE”.
In the Summary step, click on “BACK TO DASHBOARD”.
Click on “PUBLISH APP” to push the app to production.
Configure the App
In the Credentials, click on “+CREATE CREDENTIALS” to select “OAuth client ID”.
Select Web application from Application type, add the Authorized Redirect URL
https://your_cx_domain/api/v1.0/gmail/integration/callback
to the Authorized Redirect URIs, then click on “CREATE”.
Once you create OAuth client ID, you will have to obtain the Client ID and Client Secret. These values will be required while setting up in the Connector Hub.
Configure Gmail Integration in CloudCX
Log in to your system administrator portal https://your_cx_domain:9006
, go to Advance > Connector Hub Setting > Gmail to configure.
Paste the Client ID & Client Secret to Client-id & Client-Secret, the Client ID & Client Secret obtain from OAuth client ID Email Application-Gmail | Configure the App .
Copy the Authorized Redirect URL and paste to Authorized Redirect URIs Email Application-Gmail | Configure the App .
That's all the Gmail integration, now, you can connect your Gmail account to the Inbox > Channels > Email in your tenant 3.1.1 Email | Gmail or your SMTP server 9.2.2 Custom SMTP Server !
Warning Message
This warning message indicates that the Gmail application, configured on the System Connect Hub, is incorrect or invalid.