Create Reports from Okta Data in Looker Studio
Looker Studio, formerly known as Google Data Studio, empowers users to craft customized reports featuring data visualizations that can be shared with clients while reflecting your brand identity. When combined with CData Connect AI, you gain immediate cloud-to-cloud access to Okta data to create visualizations, dashboards, and more. This article provides step-by-step instructions on establishing a virtual database for Okta and generating reports from Okta data within Looker Studio.
CData Connect AI offers a seamless cloud-to-cloud interface tailored for Okta, making it straightforward to construct reports directly from live Okta data within Looker Studio without the need for data replication. As you create visualizations, Looker Studio generates queries to retrieve data. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported query operations, including filters, JOINs, and more, directly to Okta. This leverages server-side processing to swiftly provide the requested Okta data.
This article requires a CData Connect AI instance and the CData Connect AI Connector for Looker Studio. Get more information on the CData Connect AI and sign up for a free trial at https://www.cdata.com/cloud.
Configure Okta Connectivity for Looker Studio
Connectivity to Okta from Looker Studio is made possible through CData Connect AI. To work with Okta data from Looker Studio, we start by creating and configuring a Okta connection.
- Log into Connect AI, click Sources, and then click Add Connection
- Select "Okta" from the Add Connection panel
-
Enter the necessary authentication properties to connect to Okta.
To connect to Okta, set the Domain connection string property to your Okta domain.
You will use OAuth to authenticate with Okta, so you need to create a custom OAuth application.
Creating a Custom OAuth Application
From your Okta account:
- Sign in to your Okta developer edition organization with your administrator account.
- In the Admin Console, go to Applications > Applications.
- Click Create App Integration.
- For the Sign-in method, select OIDC - OpenID Connect.
- For Application type, choose Web Application.
- Enter a name for your custom application.
- Set the Grant Type to Authorization Code. If you want the token to be automatically refreshed, also check Refresh Token.
- Set the callback URL:
- For desktop applications and headless machines, use http://localhost:33333 or another port number of your choice. The URI you set here becomes the CallbackURL property.
- For web applications, set the callback URL to a trusted redirect URL. This URL is the web location the user returns to with the token that verifies that your application has been granted access.
- In the Assignments section, either select Limit access to selected groups and add a group, or skip group assignment for now.
- Save the OAuth application.
- The application's Client Id and Client Secret are displayed on the application's General tab. Record these for future use. You will use the Client Id to set the OAuthClientId and the Client Secret to set the OAuthClientSecret.
- Check the Assignments tab to confirm that all users who must access the application are assigned to the application.
- On the Okta API Scopes tab, select the scopes you wish to grant to the OAuth application. These scopes determine the data that the app has permission to read, so a scope for a particular view must be granted for the driver to have permission to query that view. To confirm the scopes required for each view, see the view-specific pages in Data Model < Views in the Help documentation.
- Click Save & Test
-
Navigate to the Permissions tab in the Add Okta Connection page and update the User-based permissions.
With the connection configured, you are ready to connect to Okta data from Looker Studio.
Visualize Live Okta Data from Looker Studio
The steps below outline connecting to CData Connect AI from Looker Studio to create a new Okta data source and build a simple visualization from the data.
- Log into Looker Studio, click data sources, create a new data source, and choose CData Connect AI Connector.
- Click Authorize and allow access to your Google account.
- Click Authorize to authenticate with your CData Connect AI instance
- In the CData Connect AI Connector in Looker Studio select Connections to import from the dropdown and click Next
- Now select a Connection (e.g. Okta1) and click Next
- Select a Table (e.g. Users) or use a Custom Query and click Connect to continue
- If needed, modify columns, click Create Report, and add the data source to the report.
- Select a visualization style and add it to the report.
- Select Dimensions and Measures to customize your visualization.
Live Access to Okta Data from Cloud Applications
Now you have a direct, cloud-to-cloud connection to live Okta data from your Looker Studio workbook. You can create more data sources and new visualizations, build reports, and more — all without replicating Okta data.
Try CData Connect AI and get real-time data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications.