Access Live Okta Data in Google Sheets through Connect Spreadsheets

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

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!


Google Sheets is a web-based spreadsheet program provided by Google. When integrated with Connect Spreadsheets by CData, you can effortlessly gain access to Okta data directly within Google Sheets for tasks such as data analysis, collaboration, calculations, and more. This article offers a comprehensive guide on connecting to Okta within Connect Spreadsheets and accessing live Okta data seamlessly within Google Sheets.

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-On for Google Sheets. To get started, sign up a free Connect Spreadsheets account and install the free Connect Spreadsheets Google Sheets Add-On.


Configure Okta Connectivity for Google Sheets

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

  1. Log into Connect Spreadsheets, click Sources 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 (OData is shown)
  4. Click Create & Test

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

Access Live Okta Data from Google Sheets

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

  1. Log into Google Sheets, create a new sheet (or open an existing one).
  2. Click Add-ons and click Get Add-ons (if you have already installed the Add-on, jump to step 5).
  3. Search for Connect Spreadsheets Add-On and install the Add-on. Install the Add-On
  4. Authorize the Add-On. Authorize the Add-On
  5. Back in Google Sheets, click Add-ons and open the Connect Spreadsheets Add-On. Opening the Add-On
  6. In the Add-On panel, click "Log in" to sign into and authenticate with your Connect Spreadsheets account Authenticating with Connect Spreadsheets
  7. In the Connect Spreadsheets panel in Google Sheets, click Import Connect Spreadsheets panel in Google Sheets
  8. Choose a Connection (e.g. Okta1), Table (e.g. Users, and Columns to import Choosing a Connection, Table, and Columns
  9. Optionally add Filters, Sorting, and a Limit Filters, Sorting, Limits
  10. Click Execute to import the data and opt to overwrite the existing sheet or create a new one. Opting where to import the data

Live Access to Okta Data from Cloud Applications

New, you have a direct, cloud-to-cloud connection to live Okta data from your Google Sheets 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 your cloud applications.

Ready to get started?

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

Free Trial