import BrandDev from 'brand.dev';
export default defineComponent({
props: {
brand_dev: {
type: "app",
app: "brand_dev",
}
},
async run({ steps, $ }) {
const client = new BrandDev({
apiKey: this.brand_dev.$auth.api_key,
});
return await client.brand.retrieve({
domain: "{your_domain}"
});
},
})
Brand.dev uses API keys for authentication. When you connect your Brand.dev account, Pipedream securely stores the keys so you can easily authenticate to Brand.dev APIs in both code and no-code steps.