Canvas Sigma enables the users to connect with the Google sheet data using Connectors in Canvas Sigma Studio.
Prerequisites
To create Google sheet connections, make sure that the provided GSheet_jars folder is present within the ModelHouse Sigma and the Studio war.
Sample File Location for Canvas Sigma Studio in Tomcat Server:
<Tomcat-Installed-Folder> \webapps\expertctstudio\WEB-INF\lib
Sample File Location for ModelHouse Sigma in Tomcat Server:
<Tomcat-Installed-Folder> \webapps\modelhouse\WEB-INF\lib
...
Perform the following steps in order to create a connection and a datasource for the Google sheet:
- In Canvas Sigma Studio, click Create > Manage > Connectors.
The Connectors Create New Connection page appears as shown in the following screenshot: - Click OTHERS and select the Google Sheets.
- Enter a unique name for the connection in the Connection Name field.
- Provide the obtained client ID in Client ID field.
- Enter the obtained client secret in Client Secret field.
- Similarly, provide the access and the refresh tokens in their respective fieldsthe Access Token and Refresh Token fields respectively.
- Click Submit to save the connection.
A success message for creating a connection appears as shown in the following screenshot: - Click Ok.
- Now, right-click the created connection and select the Create Data SourceSource option.
The Create Request page appears. - In the Create Request page, enter a unique data source name in the Data Source Name field.
Provide the Google spread sheet ID in Spreadsheet ID field.
Note You can identify the spread sheet ID from your Google sheet URL.
- Provide the spread sheet range in Range field.
Enter the column name and its ID on the Column Name and Column ID field. Here, Name and Task is are provided as the column name Column Name and column Column ID.
Note Click plus ( ) icon to add column(s) and minus ( ) icon to delete the column(s).
- Click Save.
A success message for creating a datasource appears as shown in the following screenshot: - Click Ok.