1. Fetching authentication parameters - Gmail uses OAuth 2.0 for authentication and so no parameters are required upfront.
  2. Collecting those parameters from the user - No collection is required as no parameters are required upfront.
  3. Initiating a connection - Initiate a connection with the redirect URL. (No parameters are required to be sent in the body)
  4. Handling the OAuth flow - Redirect the user to the URL received in step 3.
  5. Verifying the connection status - Check that the connection was successful
1

Fetching Authentication Parameters

Gmail uses OAuth 2.0 for authentication, which requires a redirect URL to handle the OAuth callback.

While Gmail doesn’t require any upfront parameters from the user, we’ll demonstrate the parameter fetching step to show the complete flow.

Parameters to fetch from the user

As stated in the output, you don’t need to fetch any parameters from the user. So we can directly initiate the connection.

2

Initiating a Connection

This is what the output looks like:

You can also see the dashboard for the connection status like this:

3

Get specific Connected Account

You can also see the dashboard for the connection status.

You have successfully Connected Your User’s Gmail Account!! 🎉


Next: Guide to Connecting Shopify Account (API Key)

Connect your users Shopify Account in similar fashion