Ready to get started?

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

Learn More

Automated Continuous FedEx Replication to Snowflake

Use CData Sync for automated, continuous, customizable FedEx replication to Snowflake.

Always-on applications rely on automatic failover capabilities and real-time data access. CData Sync integrates live FedEx data into your Snowflake instance, allowing you to consolidate all of your data into a single location for archiving, reporting, analytics, machine learning, artificial intelligence and more.

Configure Snowflake as a Replication Destination

Using CData Sync, you can replicate FedEx data to Snowflake. To add a replication destination, navigate to the Connections tab.

  1. Click Add Connection.
  2. Select Snowflake as a destination.
  3. Enter the necessary connection properties. To connect to Snowflake, set the following:
    • User: The username provided for authentication with the Snowflake database
    • Password: The Snowflake user's password
    • AuthScheme: The authentication scheme used. Accepted entries are PASSWORD, OKTA
    • Account: The Account provided for authentication with Snowflake
    • URL: the URL of the Snowflake database instance, for example: https://myaccount.snowflakecomputing.com
    • Warehouse: The name of the Snowflake warehouse
    • Database: The name of the Snowflake database
    • Schema: The schema of the Snowflake database
  4. Click Test Connection to ensure that the connection is configured properly.
  5. Click Save Changes.

Configure the FedEx Connection

You can configure a connection to FedEx from the Connections tab. To add a connection to your FedEx account, navigate to the Connections tab.

  1. Click Add Connection.
  2. Select a source (FedEx).
  3. Configure the connection properties.

    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 Connect to ensure that the connection is configured properly.
  5. Click Save Changes.

Configure Replication Queries

CData Sync enables you to control replication with a point-and-click interface and with SQL queries. For each replication you wish to configure, navigate to the Jobs tab and click Add Job. Select the Source and Destination for your replication.

Replicate Entire Tables

To replicate an entire table, click Add Tables in the Tables section, choose the table(s) you wish to replicate, and click Add Selected Tables.

Customize Your Replication

You can use the Transform feature to customize your replication. The Transform feature allows you to specify which columns to replicate, rename the columns at the destination, and even perform operations on the source data before replicating. To customize your replication, click the Transform button in the Tables section and customize the replication.

Schedule Your Replication

In the Schedule section, you can schedule a job to run automatically, configuring the job to run after specified intervals ranging from once every 15 minutes to once every month.

Once you have configured the replication job, click Save Changes. You can configure any number of jobs to manage the replication of your FedEx data to Snowflake.