Configure your environment
Create a project in Pipedream
Create a Pipedream OAuth client
Generate a short-lived token
ConnectTokenCreate
call.Connect your user’s account
Use the Pipedream SDK in your frontend
connectAccount
. This opens a Pipedream iFrame that guides the user through the account connection.Cross-Origin-Opener-Policy
(COOP) header to same-origin-allow-popups
on the page that embeds the Connect iFrame.The default COOP is unsafe-none
; only make this change if you explicitly enforce same-origin
. This relaxes isolation just enough to allow trusted popups (e.g., OAuth) to open from iFrames.Or use Connect Link
app
parameter to the end of the URL to specify the app.Check out the full API docs for all parameters you can pass when creating tokens, including setting redirect URLs for success or error cases.Make authenticated requests
Deploy your app to production