Hey Coders! The data is out there, but not always can you get it for free. Sometimes you'll need to have proper authentication in order to see and analyze your data. With Data Studio and Apps Script, you can make sure the users who access your community connector have proper credentials, either through an API Key, OAuth2, Username and Password, and more before even getting to the Business Intelligence Dashboard. In this video, we'll go over setting up getAuthType() in order to properly authenticate your users. Additionally, we'll learn how to publish a custom community connector by adding a few key pieces of metadata to your appsscript.json manifest file. Watch the above tutorial to learn how to do both on your journey to build a full-fledged community connector in Data Studio!
Check out the source code on GitHub:
https://github.com/davidtheweiss/Apps...
❤️ Support the ongoing growth of this channel, get exclusive perks, and receive consultation on your projects! / davidweissprogramming
🧑💻 Apps Script Documentation: https://developers.google.com/apps-sc...
----------------------------------------------------------------------------------------------
🕒 Timestamps
0:00 Intro
0:42 Modifying the Apps Script Manifest
5:00 getAuthType() with no Additional Authentication
7:05 Deploying your First Community Connector
10:33 getAuthType() with API Key Authentication
12:06 setCredentials(), isAuthValid(), resetAuth()
13:04 Save API Key Credentials in PropertiesService
16:05 Using isAuthValid() to validate API Key
17:33 Updating the Deployment adding actual API Key
18:38 Troubleshooting a Common Error: {muteHttpExceptions: true}
----------------------------------------------------------------------------------------------
Other playlists:
-----------------------------------
Google Cloud
-----------------------------------
App Engine:
• Google Cloud - Season 1 | App Engine
Google Cloud Orientation:
• Google Cloud - Season 0 | Orientation
-----------------------------------
Apps Script
-----------------------------------
Data Studio Service:
• Apps Script - Season 15 | Data Studio...
Maps Service:
• Apps Script - Season 14 | Maps Service
Utilities Service:
• Apps Script - Season 13 | Utilities S...
Properties Service:
• Apps Script - Season 12 | Properties ...
URL Fetch Service:
• Apps Script - Season 11 | URL Fetch S...
Drive Service:
• Apps Script - Season 10 | Drive Service
Forms Service:
• Apps Script - Season 9 | Forms Service
Lock Service:
• Apps Script - Season 8 | Lock Service
HTML Service:
• Apps Script - Season 7 | HTML Service
Document Service:
• Apps Script - Season 6 | Document Ser...
Slides Service:
• Apps Script - Season 5 | Slides Service
Calendar Service:
• Apps Script - Season 4 | Calendar Ser...
Script Service:
• Apps Script - Season 3 | Script Service
Gmail Service:
• Apps Script - Season 2 | Gmail Service
Spreadsheet Service:
• Apps Script - Season 1 | Spreadsheet ...
Apps Script Orientation:
• Apps Script - Season 0 | Orientation
----------------------------------------------------------------------------------------------