We are proud to share our inclusion in the 2024 Gartner Magic Quadrant for Data Integration Tools. We believe this recognition reflects the differentiated business outcomes CData delivers to our customers.
Get the Report →Extract, Transform, and Load Okta Data in Informatica PowerCenter
Create a simple Workflow for Okta data in Informatica PowerCenter.
Informatica provides a powerful, elegant means of transporting and transforming your data. By utilizing the CData ODBC Driver for Okta, you are gaining access to a driver based on industry-proven standards that integrates seamlessly with Informatica's powerful data transportation and manipulation features. This tutorial shows how to create a simple Workflow in Informatica PowerCenter to extract Okta data and load it into a flat file.
Add Okta as an ODBC Data Source
If you have not already, install the driver on the PowerCenter server and client machines. On both machines, specify the connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
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.
Create an ETL Workflow in PowerCenter
Follow the steps below to create a workflow in PowerCenter to pull Okta data and push it into a flat file.
Create a Source Using the ODBC Driver
- In PowerCenter Workflow Manager, add a new ODBC relational connection by going to Connections -> Relational, and in the first window select the ODBC type and click New.
- In the Relational Connection Editor, set the name of the newly created connection and set the User Name and Password based on the credentials utilized to connect to your Repository. Under the Connection String input your System DSN, which by default is called 'CData Okta Sys'.
- In PowerCenter Designer, connect to your repository and open your folder. If you do not already have a folder created, you will need to manually create a folder for your repository. To create a folder, open Informatica PowerCenter Repository Manager, connect to your Repository Service and go to Folder -> Create to create a new folder.
- Select the Source Analyzer, click the sources menu, and select Import from Database...
- In the drop-down menu for ODBC data source, select the DSN you previously configured (CData Okta Sys).
- Click connect and select the tables and views to include.
- Click OK.
Create a Flat File Target Based on the Source
- Select the Target Designer and drag and drop the previously created source onto the workspace. Using the existing source copies the columns into the target.
- Right-click the new target, click edit, and change the database type to flat file.
Create a Mapping to Between Okta Data and a Flat File
- Click on the Mapping Designer.
- Drag the source and target to the workspace (name the new mapping, if prompted).
- Right-click on the workspace and select Autolink by Name.
- Drag the columns from the source qualifier to the target definition.
- Save the folder (Ctrl + S).
Create Workflow Based on the Mapping
With the source, target, and mapping created and saved, you are now ready to create the workflow.
- Right-click the mapping and select generate workflow to open the Workflow Generation wizard.
- Create a workflow with a non-reusable session.
- Ensure that you have properly configured the connection object and set the prefixes. If you have not already done so, you will need to create an Integration Service. To create an Integration Service, open your Administrator site, and under Domain, create a new PowerCenter Integration Service. Under the PowerCenter Repository Service, select the Repository you are referring to, and as Username and Password, use your Administrator login information.
- Configure the Connection as needed.
- Review the Workflow and click Finish.
With a workflow created, you can open the PowerCenter Workflow Manager to access and start the workflow, quickly transferring Okta data into a flat file. With the CData ODBC Driver for Okta, you can configure sources and targets in PowerCenter to integrate Okta data into any of the elegant and powerful features in Informatica PowerCenter.