Looker Studio, part of Google Cloud Platform, is a data visualization tool designed for creating and managing reports and dashboards. It enables users to connect to various data sources, transforming raw data into interactive visual insights.
Below you can find the Aembit configuration required to work with the Looker Studio service as a Server Workload using the Looker Studio API.
Server Workload Configuration
Section titled “Server Workload Configuration”- Create a new Server Workload.
- Name - Choose a user-friendly name.
- Configure the Service endpoint:
- Host -
datastudio.googleapis.com
- Application Protocol - HTTP
- Port - 443 with TLS
- Forward to Port - 443 with TLS
- Authentication method - HTTP Authentication
- Authentication scheme - Bearer
Credential Provider Configuration
Section titled “Credential Provider Configuration”-
Sign in to the Google Cloud Console and navigate to the Credentials page. Ensure you are working within a GCP project for which you have authorization.
-
On the Credentials dashboard, click Create Credentials located in the top left corner and select the OAuth client ID option.
- If there is no configured Consent Screen for your project, you will see a Configure Consent Screen button on the directed page. Click the button to continue.
-
Choose User Type and click Create.
- Provide a name for your app.
- Choose a user support email from the dropdown menu.
- App logo and app domain fields are optional.
- Enter at least one email for the Developer contact information field.
- Click Save and Continue.
- You may skip the Scopes step by clicking Save and Continue once again.
- In the Summary step, review the details of your app and click Back to Dashboard.
-
Navigate back to Credentials page, click Create Credentials, and select the OAuth client ID option again.
- Choose Web Application for Application Type.
- Provide a name for your web client.
- Switch to the Aembit UI to create a new Credential Provider, selecting the OAuth 2.0 Authorization Code credential type. After setting up the Credential Provider, copy the auto-generated Callback URL.
- Return to Google Cloud Console and paste the copied URL into the Authorized redirect URIs field.
- Click Create.
-
A pop-up window will appear. Copy both the Client ID and the Client Secret. Store them for later use in the tenant configuration.
-
Edit the existing Credential Provider created in the previous steps.
- Name - Choose a user-friendly name.
- Credential Type - OAuth 2.0 Authorization Code
- Callback URL (Read-Only) - An auto-generated Callback URL from Aembit Admin.
- Client Id - Provide the Client ID copied from Google.
- Client Secret - Provide the Secret copied from Google.
- Scopes - Enter the scopes you will use for Looker Studio (e.g.
https://www.googleapis.com/auth/datastudio
) Detailed information about scopes can be found at official Looker Studio documentation. - OAuth URL -
https://accounts.google.com
Click on URL Discovery to populate the Authorization and Token URL fields, which can be left as populated.
- PKCE Required - Off
- Lifetime - 1 year (This value is recommended by Aembit. For more information, please refer to the official Google documentation.)
-
Click Save to save your changes on the Credential Provider.
-
In the Aembit UI, click the Authorize button. You are directed to a page where you can review the access request. Click Authorize to complete the OAuth 2.0 Authorization Code flow. You should see a success page and then be redirected to Aembit automatically. You can also verify your flow is complete by checking the State value in the Credential Provider. After completion, it should be Ready.
Client Workload Configuration
Section titled “Client Workload Configuration”Aembit now handles the credentials required to access the Server Workload, eliminating the need for you to manage them directly. You can safely remove any previously used credentials from the Client Workload.
If you access the Server Workload through an SDK or library, it is possible that the SDK/library may still require credentials to be present for initialization purposes. In this scenario, you can provide placeholder credentials. Aembit will overwrite these placeholder credentials with the appropriate ones during the access process.
Access Policy
Section titled “Access Policy”- Create an Access Policy for a Client Workload to access the Looker Studio Server Workload. Assign the newly created Credential Provider to this Access Policy.
Required Features
Section titled “Required Features”- You will need to configure the TLS Decrypt feature to work with the Looker Studio Server Workload.