Installation Guide - Bank Connect
Login to your Salesforce Org where the package is Installed.
Note: We will be creating a Public site to receive all the web hooks from the Plaid. Since it will be an external User, Please make sure that the external profiles does not have access to any Object or Field permissions.
Note : Check the Webhook URL in the Postman(Application) for every Environment Before Entering the Webhook URL in plaid Credentials.
Updating the Field Mapping.
Click on the Gear Icon ⚙️ and go to setup.
In the quick find box search for custom settings.
Search for Plaid Request field Mapping custom settings.
Click Manage.
Update the Field Mapping with your Source Object Fields.
Here we have taken Contact as our source Object we can choose any Standard or Custom Object as our Source Object.
Lightning Action(This step is required only if we are using objects other than Contact and Lead)
In this step, we are going to create a Lightning Action.
From Object Manager go to any Object from where you want to trigger Bank Verification Process.
Click on Button Links and Actions.
Click on New Action.
Select and Populate the fields with below Values.
Action Type - Lightning Component.
Lightning Component - bankconnect: BankVerificationRequest_Aura
Height - 400px
Standard Label Type - None
Label - Bank Verification Request.
Name - Bank Verification Request.
Update Page Layout
From the Object Manager.
Click on Page Layouts.
Select the Page Layout.
Click on Mobile & Lightning. Actions.
Search for Bank Verification in Quick Find.
Click on the Related List Section of the Page Layout.
In Quick Find search for Bank Verification.
Click Save.
Creating a Salesforce Site
Click on the gear icon and go to setup.
In the quick find box search for sites.
Click New
Provide the required information(Label, Name, etc.)
In Active Site Home Page Lookup field Add VerifyBankConnect Visual force page.
Click Save.
Apex Class and Object Permission Assignment to Site Guest User.
In Global search, Search for Site Guest User.
Click on the site name which we have created just now.
Click on the profile.
In Profile Select-Object Settings.
Provide Access(Read, Create, and Edit) to the below Objects.
Transactions
Income
Historical Balances
Bank Verification
Bank Accounts
Assets
Bank Connect Logs
Holdings
Now provide access to Apex classes
Go to Site Guest User profile again and click on Apex class Access.
Provide Access to below classes.
bankconnect.WSProductService
bankconnect.PlaidCallbackService
bankconnect.BankVerificationController
bankconnect.PlaidTransactionsCallBackService
Create a Bank Verification URL Field :
Create a Formula field for the URL that is sent out in an email(On Bank Verification Object).
In Formula Field add below formula and make changes to the formula accordingly.
Copy the URL of the site.
Paste the site URL till force.com.
Formula - HYPERLINK("https://cloudmaven-merchantone-apply.cs78.force.com/bankConnect/?bankconnect__plaidId=" + bankconnect__Encrypted_Record_Id__c , "Authentication URL")
Email Template.
Please find the Email Template Code in below Section.
Copy the URL of the site.
Paste the URL in line 249 till force.com
From setup search for Email Templates.
Click on Classic Email Templates
Create New.
Select Custom(without using Classic Letterhead) option.
Click Next.
Populate the Fields.
Folder - Choose any folder in which you want to store your template.
Available for use - True.
Email Template Name - BankConnectEmail Template(You can populate this field with your desired name)
Subject - Bank Verification Required.
Paste the Email Template code in which we have made the changes.
Click Save.
Congratulations! You have successfully installed Bank Connect Application.
Note: We will be creating a Public site to receive all the web hooks from the Plaid. Since it will be an external User, Please make sure that the external profiles does not have access to any Object or Field permissions.
Note : Check the Webhook URL in the Postman(Application) for every Environment Before Entering the Webhook URL in plaid Credentials.