The Spreadsheet Gateway is an application for piping data between Sofie Core and Spreadsheets on Google Drive.
To begin with, you will need to install a set of Blueprints that can handle the data being sent from the Gateway to Core. Download the ZIP file containing the three files you need from the Spreadsheet Gateway's GitHub Repository. It is recommended to choose the newest release but, an older Core version may require a different Blueprint version. The Rundown page will warn you about any issue and display the desired versions.
Instructions on how to install any Blueprint can be found in the Installing Blueprints section from earlier.
If you are using the Docker version of Sofie, then the Spreadsheet Gateway will come preinstalled. For those who are not, please follow the instructions listed on the GitHub page labeled Installation (for developers).
Once the Gateway has been installed, you can navigate to the Settings page and check the newly added Gateway is listed as Spreadsheet Gateway under the Devices section.
Before you select the Device, you want to add it to the current Studio you are using. Select your current Studio from the menu and navigate to the Attached Devices option. Click the + icon and select the Spreadsheet Gateway.
Now you can select the Device from the Devices menu and click the link provided to enable your Google Drive API to send files to the Sofie Core. The page that opens will look similar to the image below.
Next click the button labeled Enable the Drive API and a popup window will open.
In the drop down menu, select Desktop app and then you can click the Create button to move to the next page.
On the second page in the popup window you are presented with your client ID and secret. Use the button to download the configuration to a file and navigate back to Sofie Core's Settings page. Select the Spreadsheet Gateway, then click the Browse button and upload the configuration file you just downloaded. A new link will appear to confirm access to your google drive account. Select the link and in the new window, select the Google account you would like to use. Currently, the Sofie Core Application is not verified with Google so you will need to acknowledge this and proceed passed the unverified page. Click the Advanced button and then click Go to QuickStart ( Unsafe ).
After navigating through the prompts you are presented with your verification code. Copy this code into the input field on the Settings page and the field should be removed. A message confirming the access token was saved will appear.
You can now navigate to your Google Drive account and create a new folder for your rundowns. It is important that this folder has a unique name. Next, navigate back to Sofie Core's Settings page and add the folder name to the appropriate input.
The indicator should now read Good, Watching folder 'Folder Name Here'. Now you just need an example rundown. Navigate to this Google Sheets file and select the File menu and then select Make a copy. In the popup window, select My Drive and then navigate to and select the rundowns folder you created earlier.
At this point, one of two things will happen. If you have the Google Sheets API enabled, this is different from the Google Drive API you enabled earlier, then the Rundown you just copied will appear in the Rundown page and is accessible. The other outcome is the Spreadsheet Gateway status reads Unknown, Initializing... which most likely means you need to enable the Google Sheets API. Navigate to the Google Sheets API Dashboard with this link and click the Enable button. Navigate back to Sofie's Settings page and restart the Spreadsheet Gateway. The status should now read, Good, Watching folder 'Folder Name Here' and the rundown will appear in the Rundown page.