Step 2 - Add Dataset and query data
Connect first dataset
Last updated
Connect first dataset
Last updated
To configure your Spice app with a custom dataset, navigate to the Code tab. On the left, you can directly edit the current App Spicepod configuration. Use the right sidebar to select from available data connectors, model providers, and ready-to-use datasets.
Navigate to Code tab.
In Components sidebar, click Datasets tab.
Select NYC Taxi Trips dataset - that will add a new dataset in entry in configuration code.
Click Save in the code toolbar and then Deploy in the bottom popup.
Navigate to the Playground tab, open the dataset reference, and click on the spice.samples.taxi_trips
dataset to insert a sample query into the SQL editor. Then, click Run Selection.
Go app Settings and copy one of the API Keys. Learn more about App API Keys.
Replace [API-KEY]
in the sample below with your API Key.
Raise issues or feedback with our team on Discord.