Pipedream Connect is the easiest way for your users to connect to any API, right in your product. Connect enables you to easily integrate more than 2,200+ APIs directly into your application, letting you make authenticated requests on behalf of your end users, while not having to handle authorization grants or refresh tokens yourself.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pipedream_connect: {
type: "app",
app: "pipedream_connect",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pipedream.com/v1/connect/accounts`,
auth: {
username: `${this.pipedream_connect.$auth.public_key}`,
password: `${this.pipedream_connect.$auth.secret_key}`,
},
})
},
})
Pipedream Connect uses API keys for authentication. When you connect your Pipedream Connect account, Pipedream securely stores the keys so you can easily authenticate to Pipedream Connect APIs in both code and no-code steps.
To get your public and secret keys for your Pipedream Connect project, open the project in Pipedream and click on the Connect tab on the left. Your public and secret keys will be listed at the top of the screen.