Create a Gmail Connection
Create a Connection to a Gmail in Hero_Flow
- Open Hero_Flow.
- Click Connections from the menu on the left.
- 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_Flow.
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_Flow.
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_Flow 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_Flow redirect URI for the OAuth 2 setting.
Example:Your Hero_Flow 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_Flow 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_Flow.
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_Flow.