Access Live Okta Data in Excel (Desktop) through Connect Spreadsheets

Cameron Leblanc
Cameron Leblanc
Senior Technology Evangelist
Use Connect Spreadsheets by CData to gain access to live Okta data from your Excel spreadsheets.

Looking for Connect AI instructions?

Your Connect AI account includes Connect Spreadsheets, so you can use the instructions below. You can expect minor differences when referencing the Connect Spreadsheet platform, but the principles still apply!


Microsoft Excel is a widely used spreadsheet software application, primarily used for tasks related to data management, analysis, and visualization. When combined with Connect Spreadsheets by CData, you gain immediate access to Okta data directly within Excel, facilitating data analysis, collaboration, calculations, and more. This article shows how to connect to Okta in Connect Spreadsheets and access live Okta data in Excel spreadsheets.

Connect Spreadsheets is the easiest way to get all your live data into Microsoft Excel and Google Sheets - no more downloading, wrangling, and uploading files again. Just connect to your data, select the dataset you'd like to see, and import it into your spreadsheet.

This setup requires a Connect Spreadsheets account and the Connect Spreadsheets Add-In for Excel. To get started, sign up a free trial of Connect Spreadsheets and install the free Connect Spreadsheets Excel Add-In.


Configure Okta Connectivity for Excel

Connectivity to Okta from Excel is made possible through Connect Spreadsheets. To work with Okta data from Excel, we start by creating and configuring a Okta connection.

  1. Log into Connect Spreadsheets, click Connections and click Add Connection Adding a Connection
  2. Select "Okta" from the Add Connection panel Selecting a data source
  3. 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:

    1. Sign in to your Okta developer edition organization with your administrator account.
    2. In the Admin Console, go to Applications > Applications.
    3. Click Create App Integration.
    4. For the Sign-in method, select OIDC - OpenID Connect.
    5. For Application type, choose Web Application.
    6. Enter a name for your custom application.
    7. Set the Grant Type to Authorization Code. If you want the token to be automatically refreshed, also check Refresh Token.
    8. 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.
    9. In the Assignments section, either select Limit access to selected groups and add a group, or skip group assignment for now.
    10. Save the OAuth application.
    11. 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.
    12. Check the Assignments tab to confirm that all users who must access the application are assigned to the application.
    13. 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.
    Configuring a connection (Salesforce is shown)
  4. Click Create & Test
  5. Navigate to the Permissions tab in the Add Okta Connection page and update the User-based permissions. Updating permissions

With the connection configured, you are ready to connect to Okta data from Excel.

Access Live Okta Data in Excel

The steps below outline connecting to Connect Spreadsheets from Excel to access live Okta data.

  1. Open Excel, create a new sheet (or open an existing one).
  2. Click Insert and click Get Add-ins. (if you have already installed the Add-In, jump to step 4).
  3. Search for Connect Spreadsheets and install the Add-in. Install the Add-In
  4. Click Data and open the CData Connect Spreadsheets Add-In.
  5. In the Add-In panel, click "Log in" to authenticate with your Connect Spreadsheets account Authorizing the Add-In
  6. In the Connect Spreadsheets panel in Excel, click Import Connect Spreadsheets panel in Excel
  7. Choose a Connection (e.g. Okta1), Table (e.g. Users), and Columns to import Connect Spreadsheets panel in Excel
  8. Optionally add Filters, Sorting, and a Limit Choosing a Connection, Table, and Columns
  9. Click Execute to import the data and opt to overwrite the existing sheet or create a new one. Executing the Query

Live Access to Okta Data from Spreadsheet Apps

New, you have a direct, cloud-to-cloud connection to live Okta data from your Excel workbook. You can add more data to your workbook for calculations, aggregations, collaboration, and more.

Imported data (Salesforce is shown)

Try Connect Spreadsheets and get real-time data access to hundreds of SaaS, Big Data, and NoSQL sources directly from Microsoft Excel.

Ready to get started?

Learn more about Connect Spreadsheets or sign up for free trial access:

Free Trial