Model Context Protocol (MCP) finally gives AI models a way to access the business data needed to make them really useful at work. CData MCP Servers have the depth and performance to make sure AI has access to all of the answers.
Try them now for free →Use the CData API Server to Access Presto Data in Microsoft PowerPivot
Use the CData API Server to connect to live Presto data in the Power Pivot business intelligence tool.
The CData API Server enables you to use REST, OData, JSON, or Open APIs to connect to and query Presto data. The OData standard enables real-time access to the live data, and support for OData is integrated into Power Pivot. This article details how to import an OData feed of Presto data into Microsoft Excel's PowerPivot business intelligence tool.
About Presto Data Integration
Accessing and integrating live data from Trino and Presto SQL engines has never been easier with CData. Customers rely on CData connectivity to:
- Access data from Trino v345 and above (formerly PrestoSQL) and Presto v0.242 and above (formerly PrestoDB)
- Read and write access all of the data underlying your Trino or Presto instances
- Optimized query generation for maximum throughput.
Presto and Trino allow users to access a variety of underlying data sources through a single endpoint. When paired with CData connectivity, users get pure, SQL-92 access to their instances, allowing them to integrate business data with a data warehouse or easily access live data directly from their preferred tools, like Power BI and Tableau.
In many cases, CData's live connectivity surpasses the native import functionality available in tools. One customer was unable to effectively use Power BI due to the size of the datasets needed for reporting. When the company implemented the CData Power BI Connector for Presto they were able to generate reports in real-time using the DirectQuery connection mode.
Getting Started
Set Up the API Server
If you have not already done so, download the CData API Server. Once you have installed the API Server, follow the steps below to begin producing secure Presto OData services:
Connect to Presto
To work with Presto data from Microsoft Power Pivot, we start by creating and configuring a Presto connection. Follow the steps below to configure the API Server to connect to Presto data:
- First, navigate to the Connections page.
-
Click Add Connection and then search for and select the Presto connection.
-
Enter the necessary authentication properties to connect to Presto.
- After configuring the connection, click Save & Test to confirm a successful connection.
Configure API Server Users
Next, create a user to access your Presto data through the API Server. You can add and configure users on the Users page. Follow the steps below to configure and create a user:
- On the Users page, click Add User to open the Add User dialog.
-
Next, set the Role, Username, and Privileges properties and then click Add User.
-
An Authtoken is then generated for the user. You can find the Authtoken and other information for each user on the Users page:
Creating API Endpoints for Presto
Having created a user, you are ready to create API endpoints for the Presto tables:
-
First, navigate to the API page and then click
Add Table
.
-
Select the connection you wish to access and click Next.
-
With the connection selected, create endpoints by selecting each table and then clicking Confirm.
Gather the OData Url
Having configured a connection to Presto data, created a user, and added resources to the API Server, you now have an easily accessible REST API based on the OData protocol for those resources. From the API page in API Server, you can view and copy the API Endpoints for the API:

Import Presto Tables in Power Pivot
Follow the steps below to import tables that can be refreshed on demand:
-
In Excel, click Data -> Get Data -> From Other Sources -> From OData Feed
-
In the OData feed connection, set the URL property to the OData Endpoint URL previously copied and click OK (e.g. "http://localhost:8080/api.rsc"):
-
In the next step of the wizard, define the authentication credentials. Select Basic and then enter the credentials for a user authorized to make requests. Specify the User name and enter the user's authtoken in the Password field:
-
Select the tables that you would like to import into Excel and click Load
-
After selecting and loading your table(s), you should see the data appear in an Excel spreadsheet. Now, click the Power Pivot tab on the ribbon, and then select Add to Data Model.
-
You can now work with your Presto data in Power Pivot.
Free Trial & More Information
If you are interested in connecting to your Presto data (or data from any of our other supported data sources) from Microsoft Power Pivot, download API Server to begin creating flexible and customizable REST, OData, JSON and Open APIs from any database or data store! As always, our world-class support team is ready to answer any questions you may have.