Google Sheets connection setup
The on-premise version of UI Bakery needs additional configuration to be able to work with Google Sheets datasource
Last updated
Was this helpful?
The on-premise version of UI Bakery needs additional configuration to be able to work with Google Sheets datasource
Last updated
Was this helpful?
Google requires using https:// as the scheme of Authorized redirect URI for Production apps.
Also, redirect URI must contain a top private domain and should end with a public (such as .com or .org). The only exception is localhost (for testing the connection locally).
If your UI Bakery instance is using a custom — please ensure to in the UI_BAKERY_APP_SERVER_NAME
variable.
If you don't have a private domain yet (e.g. just deployed your instance on AWS) but want to test the Google Sheets connection — you can use 3rd-party service for testing purposes. Just replace dots with dashes and append ".nip.io" to your static IP address like 192-168-1-250.nip.io
Create a new project or choose an existing one
Configure the with User Type = External and Publishing Status = Production
Go to the section
Click ENABLE APIS AND SERVICES and enable
Click on and choose User Data
Select Web Application in the OAuth Client ID section
Add Authorized redirect URI with value https://YOUR_DOMAIN_OR_LOCALHOST/gsheet-oauth-callback
(make sure to put the same domain as in the UI_BAKERY_APP_SERVER_NAME
variable)
Click Create
in UI_BAKERY_GSHEET_CLIENT_ID
and UI_BAKERY_GSHEET_CLIENT_SECRET
variables
Restart your UI Bakery instance with docker compose up -d