If you need any help configuring the following steps, be sure to get in touch: firstname.lastname@example.org or via chat.
Use your favorite package manager to install NodeJS
Download and extract our Google Suite client to a directory of your choice
Edit config.json to match your environment.
Go to your Google Suite administration console and navigate to Security Settings > API Management, or click here.
On this page, enable API-access and click on Save.
Navigate to Google Cloud and create a new project and set the Product name to 'Vizito integration'.Select this project when it is created and navigate to API's and services.Click on ENABLE API'S AND SERVICES and search for 'admin'. Click on Admin SDK and click ENABLE.Go back to the overview and go to 'Credentials'.Click on 'Create credentials' and choose OAuth client ID.Select 'Other' from the list and provide the name 'Vizito integration'.This will prompt you with some details (client ID and secret). Click on OK.Download the credentials by clicking on the (Download JSON) button to the right of the client ID.Move this file to the root of the Vizito working directory (the location that was unzipped) and rename it to client_secret.json.
Open a command prompt, navigate to the folder where your Google Suite client resides, and run "node server.js"
If everything works as intended, you should see "Authorize this app by visiting this url: https://..." . Navigate to this URL and log in using your Google Suite administrator.You will receive a code which you can copy-paste from the browser into the application prompt. You can now use a browser to test the Google Suite http server by pointing your browser to http://ip_or_hostname_of_machine_running_google_suite_client:48800If you're running a firewall, make sure it allows access to port 48800.If your browser shows a JSON object representing the users you want to expose, than everything works!
Navigate to https://backoffice.vizito.be and under Settings, configure the Host datasource as 'Managed externally' and fill in the Integration URL.Now the tablet will look up the information from the installed client.
Download the latest release of NSSM at https://nssm.cc/downloadextract the appropriate architecture executable to a folder of your choice.now run the following command: nssm install google_suite_clientThis will show a window where your service parameters can be configured.
Now go to your Windows Services, start your newly created service, and test! Remember to stop any manually started instances of the Google Suite client before starting the service.