- Email integrations
- Frequently Asked Questions
- How to configure Outlook OAuth for Email Integration Plugin
- Inbound Email Integration via Plugin
- Why do I get “Not creating request” message in email plugin log?
- How to set up Inbound Email Integration
- How to setup auto reply to requesters
- Configure email notifications for Service Desk users
Google OAuth is a safe and secure way to connect Email Integration Plugin to GSuite/Gmail account. This article will describe how to do that step-by-step.
- Open https://console.developers.google.com/, click on the list of the projects in the top bar and choose New project in the pop-up.
Give your project a name. Let’s name it “Email Integration”.
- Go to OAuth consent screen. Select the type of application you'd like to create. GSuite users can create both Internal and External applications while ordinary Gmail users can create only External application.
Put the name of the product in the field “Application name” and save it. It is possible to use the same name as your Project — “Email Integration”. It will be displayed on the list of apps that have granted permissions to use google account.
- Open Credentials tab and click on +Create Credentials in order to add OAuth client ID
Please choose Application type Web application, set random name for this client ID and configure Authorized redirect URI in as
https://{account}.tpondemand.com/Admin/Plugins.aspx
where {account}.tpondemand.com is your Targetprocess URL.
After you create OAuth client Id you will receive clientID and clientSecret which will be further used instead of credentials on Targetprocess side so you need to save them somewhere.
- Now open your Targetprocess account and go directly to Settings >Plugins > Project Email Integration. You can create a new one or use the existing profile. In the configuration you need to choose Google OAuth in Secure access method dropdown. After it's done you can fill out Client id and Client secret values with the ones you got in the previous step.
- Finally, you can click Sign in and select between three options:
- No prompt. This option will not display any authentication screen and will return an error if the user is not already authenticated and has not pre-configured consent for the requested scopes.
- Constent. The authorization server prompts the user for consent before returning information to the client.
- Select account. This option allows a user who has multiple accounts at the authorization server to select amongst the multiple accounts that they may have current sessions for.
Then choose email we've configured our application for and confirm that you want to give permissions for this app to access your mailbox.
If we have created External application on step 2 we might get error "This app isn't verified" during sign in. In this case we need to click "Advanced" and "Go to tpondemand.com (unsafe)"
That's it! Now your Email Integration Plugin is connected to the mailbox using Google OAuth.
Still have a question?
We're here to help! Just contact our friendly support team.