Knowledge Base - Smart Flows

Create an App Registration for an Experlogix Smart Flows SMTP Connector in Google Cloud

To use Gmail SMTP with OAuth authentication in Smart Flows, you must create an app registration in Google Cloud. This registration provides the OAuth client credentials that Smart Flows uses to authenticate securely without storing a password.

Prerequisites

Before you start, make sure you have:

  1. Access to a Google account with permission to create projects in Google Cloud.

  2. Your Smart Flows project domain, needed to construct the redirect URI

    https://login.[your-smart-flows-project-domain]/oauth2/redirect
    

Process Overview

Create a new Google Cloud project

  1. Navigate to the Google Cloud Console (console.cloud.google.com).

  2. In the project selector at the top, select a Project.

  3. Enter a Project name (for example: Smart Flows SMTP Integration).

  4. Select the appropriate Organization (if applicable).

  5. Select Create.

    Once the project is created, make sure it is selected as the active project.

Enable the Gmail API

smtp-1.png
  1. In the Google Cloud Console, navigate to APIs & Services > Library.

  2. Search for Gmail API.

  3. Open the Gmail API page.

  4. Select Enable.

    This allows your application to send email via Gmail using OAuth.

Navigate to APIs & Services > OAuth consent screen.

App information

smtp-2.png
  1. Enter the App name (for example: Smart Flows SMTP Connector).

  2. Select a User support email.

Audience

  1. Choose the User Type:

    • Internal – if all users belong to your Google Workspace organization.

    • External – if users may be outside your organization.

Contact information

  1. Provide your contact email address.

Finish

  1. Agree to the Google API Services: User Data Policy and continue.

  2. Select Create to create your app.

Create OAuth client

smtp-3.png
  1. Navigate to APIs & Services > Credentials.

  2. Select Create Credentials > OAuth client ID.

  3. Select Application type: Web application.

  4. Enter a name (for example: Smart Flows SMTP Client).

Authorized redirect URI

smtp-4.png
  1. Under Authorized redirect URIs, add:

    https://login.[your-smart-flows-project-domain]/oauth2/redirect
    
  2. Select Create.

    smtp-5.png

Google generates Client ID and Client secret.

Configure test users (if using External user type)

smtp-6.png

If you selected External as the user type, select Audience and configure your audience:

  1. Add one or more Test users (email addresses).

  2. These users will be allowed to complete the OAuth authorization flow.

  3. Select Save and Continue.

    You can publish the app later via the Verification Center if broader access is required.

Configure scopes

smtp-7.png
  1. In the Data Access section of the newly created client, click Add or Remove Scopes.

  2. Find and add the required scope:

    https://mail.google.com/
    
  3. Confirm the selected scope.

    This scope is required to allow Smart Flows to send email via Gmail SMTP using OAuth.

Configure the SMTP connector in Smart Flows

  1. In Smart Flows, open the SMTP connector configuration.

  2. Select Gmail (Google) SMTP as provider.

  3. Select OAuth authentication.

  4. Paste the following values from Google Cloud:

    • Client ID

    • Client Secret

  5. Complete the OAuth authorization flow when prompted

    Once authorized, Smart Flows can send emails via Gmail SMTP using OAuth, without storing user passwords.

Result

After completing these steps:

  • Gmail SMTP is enabled using secure OAuth authentication.

  • Credentials are centrally managed in Google Cloud.

  • Smart Flows can send emails in compliance with modern security policies.

This setup is recommended for production environments where password-based SMTP authentication is restricted or disabled.