Select your onboarding experience
Get started with the Prequel agent skill, the Prequel MCP server, a Postman collection, or curl commands.- Agent skill
- MCP server
- Postman
- curl commands
Skills are an open standard for packaging reusable agent capabilities. Claude Code, Cursor, and other skill-aware agents can all load the Prequel Import skill.
1
Save the skill to your agent's skills directory
Open the raw skill file, copy the contents, and save the file to your agent’s skills directory. For Claude Code use
~/.claude/skills/prequel-import-quickstart/SKILL.md. For Cursor use .cursor/skills/prequel-import-quickstart/SKILL.md in your project root and reload the workspace.2
Prompt your agent
Begin an agentic Prequel Import configuration using this prompt.
Prerequisites
1
Access your Prequel API key
You will need a Prequel API key. If you do not have one, contact your Prequel representative to get access. The API key used in the
X-API-Key header will route your request to either production or staging based on the key.Set your API key
2
Stand up a delivery target
Stand up a spec-compliant API endpoint to receive delivered records.
3
Verify Prequel API access
Confirm your key works against the API. A 200 response means your environment is ready. Select the tab that matches your deployment: US, EU, or a dedicated or self-hosted deployment on your own host.
- US
- EU
- Dedicated or self-hosted
Verify API access
Setup overview
Prequel Import should follow a three phase setup to prevent errors from missing dependencies:- Prepare your environment by creating a Datalake. The Datalake is a one-time setup shared across all Providers.
- Configure and validate a data source by creating a Provider, Source, and Dataset, then triggering and verifying an Extract to confirm the Source, Dataset, and Datalake are configured correctly before adding delivery.
- Connect and deliver by standing up a delivery endpoint, creating a Destination (and optionally a custom Product), creating a Stream, testing the transform and the load, then triggering and verifying a Load.
Set up your pipeline
Phase 1: prepare your environment
1
Create a Datalake
Provision a bucket on S3, GCS, Azure Blob Storage, or an S3-compatible store to back the Datalake, then create the Datalake referencing that bucket. Typically, a single multi-tenant Datalake is created and reused across Providers, since Prequel automatically partitions the bucket internally by Provider. You may create and assign additional Datalakes if you prefer bucket-level isolation for Providers. See Datalake for configuration steps and open the API reference for the full request schema.
- US
- EU
- Dedicated or self-hosted
Create datalake
Phase 2: configure and validate a data source
Repeat this phase for each Provider you onboard. Each Provider can have multiple Sources and multiple Datasets.
1
Create a Provider
A Provider represents a customer or tenant of your platform. The Provider references the Datalake by ID and the assigned Products. Pass the special
["all"] Product to grant access to every Destination when customers share all Destinations. If a customer should only have access to a subset of Destinations, use Products to restrict Destinations by Provider. See Providers, or open the API reference for the full request schema.- US
- EU
- Dedicated or self-hosted
Create provider
2
Create a Source
A Source is the Provider’s database Prequel will read from. See Sources for the supported vendors and per-vendor fields and open the API reference for the full request schema.
- US
- EU
- Dedicated or self-hosted
Create source
3
Preview the Source table (optional)
Confirm the Source connection and read access to the table you plan to import. To check connectivity without naming a table, use test source instead. Open the API reference for the full request schema.
Preview source
4
Create a Dataset
A Dataset represents a structured table of data that Prequel will replicate from the Source. The Dataset declares its extraction method (
table for a single table, sql for a custom query, glob for object-storage paths) and certain special columns and configuration options. This step is repeated for each Provider’s table to be imported. See Datasets and Change Detection for incremental sync configuration, or open the API reference for the full request schema.- US
- EU
- Dedicated or self-hosted
Create dataset
5
Trigger an Extract to validate
The Extract pulls Dataset rows into the Datalake. Trigger one now to confirm the Source, Dataset, and Datalake are configured correctly before moving on to delivery. A successful Extract verifies authentication to the Source, read access to the Dataset’s table, and write access to the Datalake. Open the API reference for the full request schema.
- US
- EU
- Dedicated or self-hosted
Initialize extract
6
Verify the Extract
Poll the Extract to confirm completion without Sample the extracted records and copy one
error. If records_errored is non-zero, call extract debug with has_error=true to retrieve row-level errors. Open the API reference for the full response schema.Get extract
record_id, the Dataset’s primary key value, for the next phase. Open the API reference for the full request schema.Sample extracted records
Phase 3: connect and deliver
Repeat for each Dataset/Destination pair.
1
Create a Destination
A Destination is one of your delivery endpoints. Each Destination is configured with a
record_schema that describes the records your endpoint expects and a request_template that defines the URL and auth headers. See Destinations and the Batch API specification, or open the API reference for the full request schema.Repeat this step for each Destination you need.- US
- EU
- Dedicated or self-hosted
Create destination
2
Create a custom Product (optional)
By default, every Destination you create is included in a built-in
all Product. Skip this step and reference all when you create a Provider, unless you want to group Destinations differently. To define a custom group, create a Product and include the Destination IDs you want it to cover. Open the API reference for the full request schema.- US
- EU
- Dedicated or self-hosted
Create product
3
Create a Stream
A Stream maps one Dataset to one Destination through field-level mappings. Before authoring the mappings, fetch the Destination’s
record_schema so you know which fields your mappings need to cover. See Streams and Advanced Table Mapping, or open the API reference for the full request schema.- US
- EU
- Dedicated or self-hosted
Create stream
4
Test the transform
Apply the Stream’s mappings to specific extracted records and confirm the output covers every required field in the Destination’s
record_schema with the correct type. Pass one or more record_id values from the Extract sample. Open the API reference for the full request schema.- US
- EU
- Dedicated or self-hosted
Test transform
5
Test the load (optional)
Deliver the same records to your endpoint with the
X-Prequel-Is-Test: true header, without recording a Load. Open the API reference for the full request schema.Test load
6
Trigger a Load
The Load applies the Stream’s mappings and delivers records to the Destination. Open the API reference for the full request schema.
- US
- EU
- Dedicated or self-hosted
Initialize load
7
Verify the Load
Poll the Load until
ended_at is set and confirm error is empty. If records_errored is non-zero, call load debug with has_error=true. Then confirm the records reached your endpoint. Open the API reference for the full response schema.Get load
That’s it. Your Prequel Import pipeline is now configured to automatically extract data from the Source and load to the Destination.
Next steps
Building Your Customer Experience
Wrap the API in an embedded setup and monitoring UX for your customers.
Webhooks and Monitoring
Get notified on transfer failures and track sync health.
Change Detection
Tune incremental sync behavior for
dimension Datasets.Advanced Table Mapping
Use expressions and complex mappings to reshape source data.