import { init, id } from '@instantdb/admin';
export default defineComponent({
props: {
instant: {
type: "app",
app: "instant",
}
},
async run({steps, $}) {
const db = init({
appId: this.instant.$auth.app_id,
adminToken: this.instant.$auth.admin_token,
});
return await db.query({ _: {} });
},
})
Instant uses API keys for authentication. When you connect your Instant account, Pipedream securely stores the keys so you can easily authenticate to Instant APIs in both code and no-code steps.