Connect Plaid to WeWeb and Supabase

Hi everyone. I’m trying to include Plaid to authenticate User’s bank account info in my web app.

I’ve tried adding Plaid (GitHub - plaid/plaid-node: Node bindings for Plaid) with the npm plugin, but run into an issue when I need to set up the configuration in code below

import { Configuration, PlaidApi, PlaidEnvironments } from 'plaid';

const configuration = new Configuration({
  basePath: PlaidEnvironments.sandbox,
  baseOptions: {
    headers: {
      'PLAID-CLIENT-ID': CLIENT_ID,
      'PLAID-SECRET': SECRET,
    },
  },
});

Is there any way to use the npm plug in (or another method) to accomplish connecting to Plaid?

Thank you in advance for the help!

Hello, this probably should be done on the backend as the GitHub package you sent is a Node.js one, and also for security, you might want to handle this on the backend. I don’t know Plaid very well, so I can’t tell, but sounds like it should be handled on the backend. You could use Fastgen, they let you do no-code Workflows and use custom Node.js packages to enrich it as WeWeb does basically.

Or if you’re feeling like coding a little, I think Supabase’s Edge Functions could handle this kind of task.

PS: If you need a discount for Fastgen, I have a ref link, feel free to reach out