You can integrate Google services like Google Sheets and Drives to your WordPress forms. For that you need to connect the MetForm with your Google Cloud Console.
Here is how to integrate Google services with MetForm:
Pre-requirements: #
- You will need a Google Cloud Console account, either you have to open a new account or log in to your exisiting account.
- Since MetForm is an Elementor form builder, you need to have Elementor plugin installed and activated on your website.
- Elementor: Descargar complemento
- MetForm Pro: Obtener complemento
👑 Google integration in only available with MetForm Premium version.
Step 1: Set up a project in the Google Cloud Console #
You will need APIs to connect the Google Sheet with WordPress form. For that, login to your Google Cloud console acoount. After that,
1. Click on the Select a project desplegable.
2. A popup will appear, there click on the Nuevo proyecto opción.

Para crear un nuevo proyecto, ingrese un Nombre del proyecto y ubicación (si corresponde) y haga clic en el botón crear.

Then go to your project dashboard, and navigate to APIs overview >> OAuth consent screen.

On the OAuth consent screen select the Tipo de usuario a externo y proceda haciendo clic en el botón “Crear”.

On the next screen, enter your App information including:
- Nombre de la aplicación
- Correo electrónico de soporte al usuario
- Dominios autorizados
- Developer contact
Finalmente, haga clic en Guardar y continuar

Ir a descripción general de las API
- Vaya a la página de pantalla de consentimiento de OAuth
- Seleccionar tipo de usuario externo
- Presione el botón crear
Proporcione la información de su aplicación, vea la imagen a continuación:

Ahora tienes que add App domain. If your site is on the live server then you need to authorize the domain. An authorized domain does not allow subdomain names and any protocol. However, you can use this Google project for websites created with your subdomain. For localhost, you do not need to authorize the domain.
A continuación, guarde y continúe.

- Desde la pantalla de consentimiento de OAuth
- Haga clic en Agregar usuarios
- Add your email address and save it

Haga clic en el botón Volver al panel de control

Haga clic en el botón publicar aplicación y vaya a la página de credenciales. Si su sitio web está en localhost, no necesita hacer clic en el botón para publicar la aplicación. Simplemente vaya a la página de credenciales.
- Ir a Credenciales
- Crear credenciales
- Seleccione ID de cliente de OAuth

El tipo de aplicación seleccionada es una aplicación web, complete el campo de entrada del nombre

Ahora puedes verificar tu ID de Cliente, se agrega a las Credenciales

Now you will get the client ID and client secret, just copy them from here.

Step 2: Copy the URL From Metform’s Google Integration Tab #
En este paso, debe agregar un URI de redireccionamiento autorizado. Obtendrá el URI de redireccionamiento dentro de la configuración de integración de hojas de Google de MetForm.

A continuación, pase a Credentials again > find Authorized redirect URIs > Add URI that you have just copied from Metform’s Google Sheet Integration settings

Step 2: Insert the Copied Ids #
Now, return back to Metform’s Google Integration tab from your dashboard.
Here, you have to paste the copied Client ID and Client Secret in the fields and save changes.

Finally you can connet Google services with your WordPress form.
Lea también:
