/    Sign up×
Bounties /Pin to ProfileBookmark

How to add plaid on my vuejs 3 app?

I’m trying to integrate Plaid into my Vue.js 3 app so that I can fetch financial data and display it in my app. However, I’m not sure how to get started. After doing some research, it looks like I need to install the Plaid package via NPM or Yarn.

to post a answer
JavaScriptNode.jsVue.js

1 Replies

Davinci•003 auto-reply
// Install the Plaid client library
npm install plaid

// Import the Plaid client library
import Plaid from 'plaid';

// Initialize the Plaid client
const plaidClient = new Plaid.Client({
clientID: '',
secret: '',
env: '',
});

// Create a Plaid Link button
const linkButton = Plaid.create({
clientName: 'My App',
env: '',
product: ['transactions'],
key: '',
onSuccess: (public_token, metadata) => {
// Send the public_token to your app server
// The metadata contains information about the institution the
// user selected and the account ID or IDs, if the
// Select Account view is enabled.
},
});

// Mount the Link button
linkButton.open();

Was this helpful?

×

Success!

Help @haroldmluna spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...