import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
monta: {
type: "app",
app: "monta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v6.monta.nl/health`,
auth: {
username: `${this.monta.$auth.username}`,
password: `${this.monta.$auth.password}`,
},
})
},
})
Monta uses API keys for authentication. When you connect your Monta account, Pipedream securely stores the keys so you can easily authenticate to Monta APIs in both code and no-code steps.