Skip to main content

The Rate Intelligence Portable Bundle

Updated this week

Overview

With our Portable Bundle, you can integrate Rate Intelligence predictions and Confidence scores into your site without implementing new front-end code. The Portable Bundle is a piece of JavaScript code that makes all the necessary API calls and then displays a set of predetermined intelligence.triumph.io widgets on your site.

The Portable Bundle in a TMS app. Triumph Intelligence widgets are displayed under the expansion panel with the Triumph Intelligence logo. Everything else (including the expansion panel) is incorporated into the TMS app.


Using the Bundle

To use the Bundle, you will need to provide:

  • A valid authentication token to the bundle

  • The data needed for calculations (origin, destination, truck, weight, etc.)

More information about the implementation details and requirements can be found in the portable bundle developer's guide.


Demo page

A demo page that can be used to test and experiment with the bundle can be found here: https://bundle.greenscreens.ai/index.html

Unminified sources that can be used as an example implementation are hosted on our testing environment here: https://bundle-test.greenscreens.ai/index.html

Screenshot of the demo page

Example web app is marked by a white background and the bundle-provided widgets are marked by a gray background.

The demo page contains an example app that provides the bundle with the input parameters needed to call intelligence.triumph.io APIs.

To test the bundle, enter the parameters you want and click Get Rates.

After a short loading time, the widgets should be displayed.

If your parameters are not valid, a validation error screen will be displayed with messages that are intended to help you identify the invalid parameters:

When using the demo page, you will need to log in using api credentials (clients id and secret). Those can be provided to you by the Triumph Intelligence team.

The button in the top right corner should say loginForm. if it does not, click it until it does. The login form on the left should then appear. Enter the credentials into the input fields and click Log In. If everything is ok, you should see this instead of the login form:

After that, you can enter data into the form and click Get Rates to see the bundle in action.

Did this answer your question?