Set up the connection with a Gmail email account

Tabla de contenidos

Athento allows configuring a mailbox for a space. This article explains how to add the integration with an email account.

When you configure the integration, in the integration type, select Gmail.

 

Initial setup

For the integration to work correctly, first you need to make a series of configurations. To do so, you must override the values of SOCIAL_AUTH_GOOGLE_OAUTH2_KEY and SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET with the keys that appear in Google Cloud Console. This must be done in Athento settings (if you are a cloud customer, you must request it from the support team).

You can see your keys in Google Cloud Console like this:

In addition, you need to configure the redirect URI. To do so, in the Authorized redirect URIs section, you must add the following:

https://{host}/social/complete/google-oauth2/

 

Authorize the integration

For the integration with Gmail to work, you must grant Athento the necessary permissions. Click the link that appears in the pop-up window.

 

This link redirects to the integration with Google to request read permissions for the email. You must select the account that will be used in the integration.

By clicking on "Allow", the process will be completed, and the integration can be enabled in Athento.