Ready to get started?

Learn more about CData Cloud Hub or sign up for a free trial:

Learn More

Create Reports from FedEx Data in Google Data Studio

Use the CData Cloud Hub to create a virtual MySQL Database for FedEx data and create custom reports in Google Data Studio.

Google Data Studio allows you to create branded reports with data visualizations to share with your clients. When paired with the CData Cloud Hub, you get instant, cloud-to-cloud access to FedEx data for visualizations, dashboards, and more. This article shows how to create a virtual database for FedEx and build reports from FedEx data in Google Data Studio.

The CData Cloud Hub provides a pure MySQL, cloud-to-cloud interface for FedEx, allowing you to easily build reports from live FedEx data in Google Data Studio — without replicating the data to a natively supported database. As you build visualizations, Google Data Studio generates SQL queries to gather data. Using optimized data processing out of the box, the CData Cloud Hub pushes all supported SQL operations (filters, JOINs, etc) directly to FedEx, leveraging server-side processing to quickly return FedEx data.

Create a Virtual MySQL Database for FedEx Data

CData Cloud Hub uses a straightforward, point-and-click interface to connect to data sources and generate APIs.

  1. Login to Cloud Hub and click Databases.
  2. Select "FedEx" from Available Data Sources.
  3. Enter the necessary authentication properties to connect to FedEx.

    There are five pieces of information needed in order to authenticate its actions with the FedEx service. This information is below.

    • Server: This controls the URL where the requests should be sent. Common testing options for this are: "https://gatewaybeta.fedex.com:443/xml", "https://wsbeta.fedex.com:443/xml", "https://gatewaybeta.fedex.com:443/web-service", and "https://wsbeta.fedex.com:443/web-service"
    • DeveloperKey: This is the identifier part of the authentication key for the sender's identity. This value will be provided to you by FedEx after registration.
    • Password: This is the secret part of the authentication key for the sender's identity. This value will be provided to you by FedEx after registration.
    • AccountNumber: This valid 9-digit FedEx account number is used for logging into the FedEx server.
    • MeterNumber: This value is used for submitting requests to FedEx. This value will be provided to you by FedEx after registration.
    • PrintLabelLocation: This property is required if one intends to use the GenerateLabels or GenerateReturnLabels stored procedures. This should be set to the folder location where generated labels should be stored.

    The Cache Database

    Many of the useful tasks available from FedEx require a lot of data. To ensure this data is easy to input and recall later, utilizes a cache database to make these requests. You must set the cache connection properties:

    • CacheProvider: The specific database you are using to cache with. For example, org.sqlite.JDBC.
    • CacheConnection: The connection string to be passed to the cache provider. For example, jdbc:sqlite:C:\users\username\documents\fedexcache.db
  4. Click Test Database.
  5. Click Privileges -> Add and add the new user (or an existing user) with the appropriate permissions.

With the virtual database created, you are ready to connect to FedEx data from any MySQL client.

Visualize Live FedEx Data in Google Data Studio

The steps below outline connecting to the CData Cloud Hub from Google Data Studio to create a new FedEx data source and build a simple visualization from the data.

  1. Log into Google Data Studio, click data sources, create a new data source and choose MySQL.
  2. Choose the basic configuration and set the connection properties:
    • Host name or IP: myinstance.cdatacloud.net
    • Port: 3306
    • Database: fedexdb
    • Username: your Cloud Hub username
    • Password: your Cloud Hub password
    • Click Enable SSL, then upload the the Cloud Hub server certificate and a self-signed client certificate & private key (direct download: cloudhubcertificates.zip)
      • Server certificate: server.pem
      • Client certificate: client.pem
      • Client private key: client.key
  3. Click Authenticate
  4. Select the table to visualize or enter a custom query and click Connect.
    NOTE: JOINs are not supported in the user interface, but they are supported as custom queries.
  5. If needed, modify columns, click Create Report and add the data source to the report.
  6. Select a visualization style and add it to the report.
  7. Select Dimensions and Measures to customize your visualization.

SQL Access to FedEx Data from Cloud Applications

Now you have a direct, cloud-to-cloud connection to live FedEx data from your Google Data Studio workbook. You can create more data sources and new visualizations, build reports, and more — all without replicating FedEx data.

To get SQL data access to 100+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, see the CData Cloud Hub.