Live Forms v7.2 is no longer supported. Click here for information about upgrading to our latest GA Release.
Installing the Google Connector
The Google Connector 2.1.1 supports Oauth2 - Open Standard for authorization. This requires the account holder to provide consent to the Google connector to access data on their behalf. This is a manual process and must be done for each Google account associated with the connector.
Cloud Customers
Cloud customers using the Google Connector for the first time will need to:
- Sign up for a Google Account
- Obtain Google Account Access Token(s).
In-house Customers
In-house customers will need to:
- Check the Google Connector Release Notes for more information and the compatibility matrix.
- Install/Upgrade the Google Connector.
- Sign up for a Google Account.
- Obtain Google Account Access Token(s).
On this page:
Installation
Installing the Google Connector v2.1.1 is a one time process for Live Forms In-house customers. The 2.1.1 connector is installed for all Live Forms Online cloud hosted customers, so you can skip the Installation step.
Follow these steps to install the Google Connector 2.0, 2.1 or 2.1.1:
Make sure the version of is compatible with the version of the Google Connector you are installing. View the compatibility matrix to check the versions. If you are not using the correct version of , first upgrade your server software.
Stop '.
If you are using the tomcat-bundle, the google.war file is located in <frevvo-home>/ext/connectors. Copy the war file from this location to c:\<frevvo-home>\tomcat\webapps.
If you need to download the connector separately, click here. Extract the google.war file to the <frevvo-home>/tomcat/webapps/ folder.
If you are currently using a previous version of the Google Connector and you want to upgrade to version 2.1, follow these steps if you are using the Tomcat bundle:
Stop
Download the frevvo Google Connector.
Extract the google.war file to replace the existing one in <frevvo-home>\tomcat\webapps.
Delete the <frevvo-home>\tomcat\webapps\google directory. If this directory is not deleted then the Google Connector will run from the old directory and the newer version won't take effect.
Continue with step 5.
If you are running on your local machine, you must set a domain name for your machine - otherwise you can skip this step.
Ex: For Windows edit the C:\WINDOWS\system32\drivers\etc\hosts file as an administrator and modify the 127.0.0.1 entry with a domain name:
127.0.0.1 example.com
Go to https://console.developers.google.com. Login to the google account that you are going to use with the Google connector.
- Create a new project – name it , you can modify the id if you like, check I agree then click Create. You will see activity window while its creating the project When complete, you should be on the project dashboard page.
- Click APIs and Auth → APIs → enable the Google Drive API named Drive API. It is listed under the Google Apps APIs label. It will move to the top section of the page when you turn it on.
- Click Consent screen. Select the email address you want to associate with this project. Provide a project name. Click Save.
- Go to Credentials → OAuth → Create new client ID
- The Consent screen must contain a product name and email address before continuing.
- Application Type = Web Application
- Authorized Javascript Origins = Empty
- Authorized Redirect URIs = http://<DOMAIN_NAME>/google/credential. Replace <DOMAIN_NAME> with your domain name. If you are using localhost, this name must match the entry in your hosts file and you must provide the port number.
- Click Create Client ID.
- Click the Download JSON file.
- Rename the JSON file as client_secrets.json
- Copy it to tomcat/lib folder
- Start . Don't forget to start the Insight server first if you are using the Report feature.
- Paste this url in your browser: http://<DOMAIN_ NAME>/google/health to check the Google Connector status. Provide your domain name and the port number if you are running locally. You should see a {"status":"UP"} message.
The google.war installation is now complete.