Integrate Oracle Eloqua Reporting with External Services using SnapLogic

Jerod Johnson
Jerod Johnson
Senior Technology Evangelist
Use CData JDBC drivers in SnapLogic to integrate Oracle Eloqua Reporting with External Services.

SnapLogic is an integration platform-as-a-service (iPaaS) that allows users to create data integration flows with no code. When paired with the CData JDBC Drivers, users get access to live data from more than 250+ SaaS, Big Data and NoSQL sources, including Oracle Eloqua Reporting, in their SnapLogic workflows.

With built-in optimized data processing, the CData JDBC Driver offers unmatched performance for interacting with live Oracle Eloqua Reporting data. When platforms issue complex SQL queries to Oracle Eloqua Reporting, the driver pushes supported SQL operations, like filters and aggregations, directly to Oracle Eloqua Reporting and utilizes the embedded SQL engine to process unsupported operations client-side (often SQL functions and JOIN operations). Its built-in dynamic metadata querying lets you work with Oracle Eloqua Reporting data using native data types.

Connect to Oracle Eloqua Reporting in SnapLogic

To connect to Oracle Eloqua Reporting data in SnapLogic, download and install the CData Oracle Eloqua Reporting JDBC Driver. Follow the installation dialog. When the installation is complete, the JAR file can be found in the installation directory (C:/Program Files/CData/CData JDBC Driver for Oracle Eloqua Reporting/lib by default).

Upload the Oracle Eloqua Reporting JDBC Driver

After installation, upload the JDBC JAR file to a location in SnapLogic (for example, projects/Jerod Johnson) from the Manager tab.

Configure the Connection

Once the JDBC Driver is uploaded, we can create the connection to Oracle Eloqua Reporting.

  1. Navigate to the Designer tab
  2. Expand "JDBC" from Snaps and drag a "Generic JDBC - Select" snap onto the designer
  3. Click Add Account (or select an existing one) and click "Continue"
  4. In the next form, configure the JDBC connection properties:
    • Under JDBC JARs, add the JAR file we previously uploaded
    • Set JDBC Driver Class to cdata.jdbc.oracleeloquareporting.OracleEloquaReportingDriver
    • Set JDBC URL to a JDBC connection string for the Oracle Eloqua Reporting JDBC Driver, for example:

      jdbc:oracleeloquareporting:AuthScheme=Basic;User=user;Password=password;Company=MyCompany;RTK=XXXXXX;

      NOTE: RTK is a trial or full key. Contact our Support team for more information.

      Built-In Connection String Designer

      For assistance in constructing the JDBC URL, use the connection string designer built into the Oracle Eloqua Reporting JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

      java -jar cdata.jdbc.oracleeloquareporting.jar

      Fill in the connection properties and copy the connection string to the clipboard.

      Oracle Eloqua Reporting supports the following authentication methods:

      • Basic authentication (User and Password)
      • OAuth 2.0 code grant flow
      • OAuth 2.0 password grant flow

      Basic Authentication (User and Password)

      To perform authentication with a user and password, specify these properties:

      • AuthScheme: Basic.
      • Company: The company name associated with your Oracle Eloqua Reporting account.
      • User: Your login account name.
      • Password: Your login password.

      OAuth Authentication (Code Grant Flow)

      To authenticate with the OAuth code grant flow, you must set AuthScheme to OAuth and create a custom OAuth application. For information about how to create a custom OAuth application, see the Help documentation.

      Then set the following properties:

      • InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
      • OAuthClientId: The client Id assigned when you registered your application.
      • OAuthClientSecret: The client secret that was assigned when you registered your application.
      • CallbackURL: The redirect URI that was defined when you registered your application.

      When you connect, the driver opens Oracle Eloqua Reporting's OAuth endpoint in your default browser. Log in and grant permissions to the application. When the access token expires, the driver refreshes it automatically.

      OAuth Authentication (Password Grant Flow)

      With the OAuth password grant flow, you can use your OAuth application's credentials alongside your user credentials to authenticate without the need to grant permission manually via a browser prompt. You must create an OAuth app (see the Help documentation) to use this authentication method.

      Set the following properties:

      • AuthScheme: OAuthPassword
      • Company: The company's unique identifier.
      • User: Your login account name.
      • Password: Your login password.
      • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
      • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.
  5. After entering the connection properties, click "Validate" and "Apply"

Read Oracle Eloqua Reporting Data

In the form that opens after validating and applying the connection, configure your query.

  • Set Schema name to "OracleEloquaReporting"
  • Set Table name to a table for Oracle Eloqua Reporting using the schema name, for example: "OracleEloquaReporting"."" (use the drop-down to see the full list of available tables)
  • Add Output fields for each item you wish to work with from the table

Save the Generic JDBC - Select snap.

With connection and query configured, click the end of the snap to preview the data (highlighted below).

Once you confirm the results are what you expect, you can add additional snaps to funnel your Oracle Eloqua Reporting data to another endpoint.

Piping Oracle Eloqua Reporting Data to External Services

For this article, we will load data in a Google Spreadsheet. You can use any of the supported snaps, or even use a Generic JDBC snap with another CData JDBC Driver, to move data into an external service.

  1. Start by dropping a "Worksheet Writer" snap onto the end of the "Generic JDBC - Select" snap.
  2. Add an account to connect to Google Sheets
  3. Configure the Worksheet Writer snap to write your Oracle Eloqua Reporting data to a Google Spreadsheet

You can now execute the fully configured pipeline to extract data from Oracle Eloqua Reporting and push it into a Google Spreadsheet.

More Information & Free Trial

Using the CData JDBC Driver for Oracle Eloqua Reporting you can create a pipeline in SnapLogic for integrating Oracle Eloqua Reporting data with external services. For more information about connecting to Oracle Eloqua Reporting, check at our CData JDBC Driver for Oracle Eloqua Reporting page. Download a free, 30 day trial of the CData JDBC Driver for Oracle Eloqua Reporting and get started today.

Ready to get started?

Download a free trial of the Oracle Eloqua Reporting Driver to get started:

 Download Now

Learn more:

Oracle Eloqua Reporting Icon Oracle Eloqua Reporting JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with Oracle Eloqua Reporting.