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 →How to Seamlessly Import HubDB Data into IBM SPSS Modeler
Integrate HubDB data into IBM SPSS Modeler using the CData ODBC Driver for real-time insights and advanced data analysis.
IBM SPSS Modeler is a powerful data mining and predictive analytics platform that enables organizations to extract valuable insights from their data. By connecting HubDB data data to SPSS Modeler via the CData ODBC Driver for HubDB, you can leverage real-time access for advanced data mining, predictive modeling, and statistical analysis.
This guide takes you through the steps of connecting IBM SPSS Modeler to HubDB data, enabling seamless data import, preparation, and analysis. With the CData ODBC Driver for HubDB, you can unlock the full potential of your HubDB data data within IBM SPSS Modeler for actionable insights.
Overview
Here is an overview of the steps:
- CONFIGURE THE ODBC DRIVER: Set up a connection to HubDB data in the CData ODBC Driver for HubDB by entering the required connection properties.
- SET UP ODBC CONNECTION IN SPSS MODELER: Establish the ODBC connection within IBM SPSS Modeler by selecting the configured DSN.
- IMPORT AND PROCESS DATA: Import the HubDB data data into SPSS Modeler, then review, filter, transform, and prepare the data for predictive analytics and statistical modeling.
Configure the HubDB DSN Using the CData ODBC Driver
To start, configure the DSN (Data Source Name) for HubDB data in your system using the CData ODBC Driver. Download and install a 30-day free trial with all the features from here.
Once installed, launch the ODBC Data Source Administrator:
- On Windows: Search for ODBC Data Source Administrator in the Start menu and open the application.
- On Mac: Open Applications, go to Utilities, and select ODBC Manager.
- On Linux: Use the command line to launch ODBC Data Source Administrator or use unixODBC if installed.
Once launched, double-click on the CData HubDB data Source and enter the required values to establish a connection:
There are two authentication methods available for connecting to HubDB data source: OAuth Authentication with a public HubSpot application and authentication with a Private application token.
Using a Custom OAuth App
AuthScheme must be set to "OAuth" in all OAuth flows. Be sure to review the Help documentation for the required connection properties for you specific authentication needs (desktop applications, web applications, and headless machines).
Follow the steps below to register an application and obtain the OAuth client credentials:
- Log into your HubSpot app developer account.
- Note that it must be an app developer account. Standard HubSpot accounts cannot create public apps.
- On the developer account home page, click the Apps tab.
- Click Create app.
- On the App info tab, enter and optionally modify values that are displayed to users when they connect. These values include the public application name, application logo, and a description of the application.
- On the Auth tab, supply a callback URL in the "Redirect URLs" box.
- If you're creating a desktop application, set this to a locally accessible URL like http://localhost:33333.
- If you are creating a Web application, set this to a trusted URL where you want users to be redirected to when they authorize your application.
- Click Create App. HubSpot then generates the application, along with its associated credentials.
- On the Auth tab, note the Client ID and Client secret. You will use these later to configure the driver.
Under Scopes, select any scopes you need for your application's intended functionality.
A minimum of the following scopes is required to access tables:
- hubdb
- oauth
- crm.objects.owners.read
- Click Save changes.
- Install the application into a production portal with access to the features that are required by the integration.
- Under "Install URL (OAuth)", click Copy full URL to copy the installation URL for your application.
- Navigate to the copied link in your browser. Select a standard account in which to install the application.
- Click Connect app. You can close the resulting tab.
Using a Private App
To connect using a HubSpot private application token, set the AuthScheme property to "PrivateApp."
You can generate a private application token by following the steps below:
- In your HubDB account, click the settings icon (the gear) in the main navigation bar.
- In the left sidebar menu, navigate to Integrations > Private Apps.
- Click Create private app.
- On the Basic Info tab, configure the details of your application (name, logo, and description).
- On the Scopes tab, select Read or Write for each scope you want your private application to be able to access.
- A minimum of hubdb and crm.objects.owners.read is required to access tables.
- After you are done configuring your application, click Create app in the top right.
- Review the info about your application's access token, click Continue creating, and then Show token.
- Click Copy to copy the private application token.
To connect, set PrivateAppToken to the private application token you retrieved.
Setup an ODBC Connection in IBM SPSS Modeler
After configuring the DSN, it's time to connect to it in IBM SPSS Modeler:
- Launch IBM SPSS Modeler, log in, and create a new stream.
- From the Sources palette, locate the Database node, and drag it onto the canvas.
- Double-click the Database node to open the configuration dialog. Select
, browse to select the configured DSN, then click OK. - In the Database dialog, browse to select the table(s) you’d like to import, preview the data, and click OK to finalize.
You are now ready to process and analyze the HubDB data data in IBM SPSS Modeler.
Process Data: Filter, Categories, and Model
Once the tables are imported, you can refine, filter, categorize, and model your HubDB data data in SPSS Modeler:
- Filtering: Double-click your Database connection, go to the Filter section, and select/deselect fields to focus on relevant data. This improves processing speed and model accuracy.
- Set Data Types and Roles: Categorize your fields and assign roles to each data type by navigating to the Types section.
- Perform a Basic Analysis: Drag and drop the Analysis node next to your Database node, connect them, and click the Play button to run the stream and analyze the data.
You have now performed a simple analysis, enabling SPSS Modeler to process and display insights from your database.
Unlock the Potential of Your HubDB Data with CData
With the CData ODBC Driver for HubDB, connecting HubDB data data to IBM SPSS Modeler is seamless. Start your free trial today and unlock the full potential of your real-time data for advanced analytics and decision-making.