import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserbase: {
type: "app",
app: "browserbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserbase.com/v1/projects`,
headers: {
"x-bb-api-key": `${this.browserbase.$auth.api_key}`,
},
})
},
})
Browserbase uses API keys for authentication. When you connect your Browserbase account, Pipedream securely stores the keys so you can easily authenticate to Browserbase APIs in both code and no-code steps.