Prerequisites
- A Refold account. Log in at app.refold.ai. Don’t have one? Contact us to get set up.
- No third-party credentials needed. This quickstart uses the Playground app (
playground_app), a built-in test connector for running the full loop.
Every API call uses the base URL
https://app.refold.ai and sends your API key in the x-api-key header. Account-scoped calls also send the customer’s linked_account_id as a header.Get your API key
Open Settings > Credentials
In the Refold Console, go to Settings > Credentials.
Configure the Playground app
Before a customer can connect an app, configure how Refold authenticates with it. The Playground app uses key-based auth.Real connectors may use OAuth 2.0 instead of key-based auth. See Authentication to set up an OAuth app for production.
Create a linked account
A linked account represents one of your customers. Create one through the API. You choose thelinked_account_id, then reuse it in every account-scoped call.
cURL
Output
Connect the app
Generate a Connect portal URL for the linked account, then open it to connect the app.cURL
Output
The Connect portal is Refold’s hosted connection UI. You can build your own with the frontend SDKs.
Trigger your first integration
With the app connected, run a published workflow for the linked account through the workflow API. Pass the workflow’s ID in the path and the Playground app’s slug,playground_app, in the slug header.
The workflow must be published before you can run it. Get its ID from List Workflows or the Console.
cURL
Output
execution_id and starts the run. Open Logs in the Console to follow it. To get the workflow output inline instead, add the sync_execution: true header. For every option, see Execute Workflow.
Choose your product
You’ve run the core loop. Now pick the product that fits how you ship integrations.| Product | Who it’s for |
|---|---|
| Native | SaaS teams embedding third-party integrations inside their own product |
| Integration Delivery | Teams delivering bespoke enterprise integrations to their customers |
| MCP | AI teams giving agents secure, governed access to enterprise systems |