Before RelateCRM can start using the Google OAuth integration, you must set up a project in the Google API Console to obtain OAuth 2.0 credentials, set a redirect URI.
Because RelateCRM is a standalone self hosted crm application and is installed on your server and you are the data controller and responsible for processing all the data, you will need to configure additional config on the Google Developers Console page.
To enable your project's consent screen:
Open the Consent Screen page in the Google API Console.
If prompted, select the project you created previously.
Application name
Enter a meaningful application name that will be displayed to users of the app.
Add your domain where you installed RelateCRM in the authorized domains section.
You need OAuth 2.0 credentials, including a client ID and client secret.
Add Authorized redirect URI.
In the Authorized redirect URIs, add your RelateCRM installation URL and append /google/callback, for example, https://crm.domain.com/google/callback.
You can retrieve your Google Redirect URI in RelateCRM Settings->Integrations->Google
Check the image below for more information about the OAuth Client ID Configuration.
After the OAuth Client is created, copy the Client ID and Client Secret, as you will need to add them in RelateCRM later.
This will take your to their API Library. Simply search for "Gmail" and choose the Gmail API.
This will take your to their API Library. Simply search for "Calendar" and choose the Google Calendar API.
You may need to verify the Google application. It's your responsibility to ensure that the Project/App you created is verified.
When RelateCRM will try to authenticate e.q. email account, after you select your Google account, probably you will see a message “This app isn't verified“, the verification process is clearly explained by Google and all the steps how you can verify your app, as RelateCRM does not hold any data for your company, you will need to verify the application on your own.
If you don't want to verify the application click on Advanced then Go to App Name (unsafe) just to test this feature for your own account.
When Google asks for privacy policy URL, if you have a privacy policy for your main website, you can use this privacy policy or you can use RelateCRM privacy policy feature.
When RelateCRM will try to authenticate e.q. email account, make sure to check the scopes marked on the screenshots below.