Knowledge Base
  1. Home
  2. Knowledge Base
  3. Documentation
  4. Creating the Heroic Inbox Google App

Creating the Heroic Inbox Google App

The Heroic Inbox plugin requires a Google App to access Gmail inboxes, send and receive mail on behalf of the plugin.

Once the App creation is complete, a Client ID and Client Secret will be generated, which can be entered in the Heroic Inbox setup assistant during installation.

1. Register a New Project

In the Google Cloud Platform, click the Select a Project dropdown (the current project name may already be selected) to show the Projects in the current organization.

In the project management dialog, click NEW PROJECT.

Give the project a descriptive name such as Heroic Inbox Project and click CREATE.

In the notifications area, select the new project to switch to management of the new project.

2. Enable the Gmail API

Now the project has been created, the Gmail API needs to be enabled.

In the APIs and Services tab, click ENABLE APIS AND SERVICES, search for Gmail.

Select the Gmail API and click ENABLE to activate.

3. Create Credentials

Once you’ve activated the Gmail API, you’ll be prompted to CREATE CREDENTIALS. This can also be done from the Credentials tab.

1. Credential Type

In the Credentials Type section, ensure the Gmail API is selected. Select the User data as What data will you be accessing data type.

Click NEXT

In the OAuth consent section, set a meaningful App name, such as Heroic Inbox App. From the User support email dropdown, pick an appropriate contact email. The same Email address can be used in the Developer contact information section.

Click SAVE AND CONTINUE

3. Scopes

Nothing needs to be changed from the default in the Scopes section, this will be set automatically by the App on first use.

Click SAVE AND CONTINUE

4. OAuth Client ID

In the OAuth Client ID section, select the Application type as Web application from the dropdown. Give the client a meaningful Name, such as Heroic Inbox WordPress Plugin.

Switch back to the Heroic Inbox setup assistant screen and copy the Authorized redirect URIs into the Authorized redirect URIs entry in the OAuth Client ID section.

Click CREATE

5. Obtain Credentials 

Once the client has been created you can download and save the credentials for later use.

The Client ID and Secret can be extracted from this file (.JSON) [option 1], or obtained from the Credentials screen as follows [option 2].

Click DONE to complete the App setup process.

4. Managing Credentials

To download/view the client details later.

Select the Credentials screen from the menu, in the OAuth 2.0 Client IDs section, select the Client name.

The client Credentials detail will be displayed. From here the Client ID and Client secret can be copied. The Authorized redirect URIs can also be updated.

5. Set the App Client ID and Client Secret in Heroic Inbox

Paste the Client ID and Client Secret obtained from the .JSON or the Credentials details screen into the Heroic Inbox setup assistant screen.

<< RETURN TO HEROIC INBOX DOCUMENTATION

Was this article helpful?
Related Articles