Create a Gmail Connection
Create a Connection to a Gmail in Hero Platform_
- Open Hero Platform_.
- Open Integration from the navigation menu and select Connections.
- Click Create New Connection.
- Give the Connection a name and select Gmail from the drop-down list for Connection type.
The Google Connection details screen pops up with fields that need to be configured.
In order to configure the fields, you must set your Google account OAuth security to recognize Hero Platform_.
Learn more about OAuth Authentication at https://developers.google.com/identity/protocols/OAuth2
Setting up your Google OAuth authentication and authorization:
Go to https://console.developers.google.com with the Google account which you want to use as a Connection in Hero Platform_.
If this is your first time using the Google Cloud Platform. Agree to the terms of service, enter your country of residence, and click AGREE AND CONTINUE.
Create a Project for the Hero Platform_ app:
Click on Credentials from the menu on the left.
Click the Create credentials drop-down menu and select OAuth client ID.
Select Web application.
Enter a name for the app.
Enter your Hero Platform_ redirect URI for the OAuth 2 setting.
Example:Your Hero Platform_ instance URLRedirect URI to enter for the redirect URI
Your client ID and client secret are displayed.
After you have the client ID, client secret, and have the redirect URI set in your Google console, you can configure the rest of the Hero Platform_ Connection details.
Enter the Client Id, Client secret, and a Google app scope.
Google app scopes can be found on https://developers.google.com/gmail/api/auth/scopes
They are authorization scopes that express the permissions you request users to authorize for your app.
Once all detail fields have been configured. Click Sign in with Google.
Confirm the Google account you are using and then click Allow to create the connection with Hero Platform_.
If you receive the error message below, your Google mail API has not yet been enabled.
Copy the URL in the 3rd line of the error message and paste it into your browser.
Enable your Google mail API by clicking ENABLE.
Click Test Connection. A confirmation message is displayed if the connection has been established with your Google account.
Click OK to finish saving the Connection in Hero Platform_.