Hi everyone,
I've recently set up Twenty on Elest.io and have encountered some difficulties integrating the Gmail API. The setup mostly went smoothly, but I'm having trouble connecting and configuring the Gmail API specifically. I've set up the necessary configurations within the Google Cloud Console and enabled the Gmail and Calendar APIs.
Here’s the main challenge: configuring the environment variables properly in the Docker Compose setup.
Below are the current settings from my Docker Compose configuration:
MESSAGING_PROVIDER_GMAIL_ENABLED: "true"CALENDAR_PROVIDER_GMAIL_ENABLED: "true"AUTH_GOOGLE_CALLBACK_URL:${SERVER_URL}/google-callbackAUTH_GOOGLE_ENABLED: "true"AUTH_GOOGLE_CLIENT_ID:${AUTH_GOOGLE_CLIENT_ID}AUTH_GOOGLE_CLIENT_SECRET:${AUTH_GOOGLE_CLIENT_SECRET}AUTH_GOOGLE_APIS_CALLBACK_URL:${SERVER_URL}/google-callback
The Server URL is set to https://twenty.regh.io.
I have generated a Google Cloud Consol App and have set the Client ID and Client Secret in the ENV.
Specific Questions:
- What should be the authorized redirect URI in the Google Cloud Console for the app?
- What is the proper setup for the callback URLs for APIs and Google?
- Are there any additional APIs I need to enable or specific settings I might be missing for Docker Compose?
Any guidance or suggestions would be greatly appreciated. Hoping to get this integration smooth and operational!