Integration & Data Loading
Updated November 25, 2026 · Winter '27
Harbour Bank's client and account data lives in its core banking system. In this lab you load the Harbour Bank sample data with External IDs, set up a proper integration user, and store an API endpoint safely. It's the developer and architect track.
What you'll do
- Add External ID fields so loads can match records
- Load the sample CSVs in the right order with Upsert
- Create a least-privilege integration user
- Store a core banking endpoint in a Named Credential
Before you start: check your org
- Have you already created the Kapoors by hand in Workshop 2?Good: you can load straight away.
- Can you install Data Loader on this computer?Use the Data Import Wizard for the accounts file only, and let the facilitator demo the rest.
Loading the accounts file then creates second copies of the Kapoors. Either skip the accounts file and backfill External IDs on your existing records first (edit Rohan, Meera and Kapoor Textiles and fill FF_External_Id__c with HB-CUST-0001, HB-CUST-0002 and HB-BIZ-0001), or use a fresh org.
Add External IDs
Updated from field-test notes · not yet re-run
- On Account
In Setup › Object Manager › Account › Fields & Relationships, create a Text field
FF External Id(FF_External_Id__c), length 40, ticked as Unique and External ID. - On Financial Account
Create the same field on the standard Financial Account object (not
FinServ__FinancialAccount__c). - Why bother
The core system's own IDs go in these fields. Every nightly load can then upsert: update the record if the ID exists, insert it if not.
Load the sample data
Updated from field-test notes · not yet re-run · CSV files corrected after the field test
Download the four Harbour Bank CSVs from the Downloads page and install Data Loader.
- Get the record type IDs
In the Developer Console, run
SELECT Id, Name FROM RecordType WHERE SobjectType = 'Account'. Paste the person account and business IDs into theRecordTypeIdcolumn ofharbour-bank-accounts.csv. - 1. Accounts
Data Loader › Upsert › Account, match on
FF_External_Id__c. Person accounts use FirstName and LastName; the business uses Name. - 2. Financial Accounts
Upsert
harbour-bank-financial-accounts.csvinto Financial Account, matching onFF_External_Id__c. It now includes the required FinancialAccountNumber, Status Active and Type Checking for the business account. - 3. Balances
Insert
harbour-bank-financial-account-balances.csvinto Financial Account Balance. Map the financial account throughFinancialAccount:FF_External_Id__c, and Type, Amount and the date to the matching fields. - 4. Financial Account Parties
Insert
harbour-bank-financial-account-parties.csvinto Financial Account Party. Map the lookups through the External IDs, and Role (now Owner) to the role field. - 5. Fill in Contact on the parties
Workshops 2 and 3 need Contact filled in. Export
SELECT Id, PersonContactId, FF_External_Id__c FROM Account WHERE FF_External_Id__c LIKE 'HB-CUST%', then update each person's party records with their PersonContactId in the Contact field. - Check it
Open Rohan's account: the joint savings account and home loan should show with him and Meera as owners.
The Data Import Wizard (Setup › Quick Find › Data Import Wizard) runs in the browser, but it only loads accounts, contacts, person accounts, leads and custom objects. Use it for the accounts file; Financial Account, its balances and parties need Data Loader or another API tool.
A Financial Account Party load fails, or links to nothing, if its Account or Financial Account doesn't exist yet. Always load in parent-to-child order, and keep the source system's IDs in External ID fields so you never need a spreadsheet of Salesforce IDs.
Create an integration user
- New user
In Setup › Users › Users, click New User. Choose the Salesforce Integration user licence and the Minimum Access - API Only Integrations profile. Name it
Core Banking Integration. - Give only what it needs
Create a permission set
Core Banking Syncwith read and edit on Account, Financial Account, Financial Account Party, Financial Account Balance and Financial Account Transaction, plus the FSC permission set licence it needs. Assign it to the integration user. - Why
A dedicated API-only user can't log in to the UI, has only the access it needs, and shows up clearly in audit logs.
Salesforce added direct API ingestion into Financial Accounts using the Salesforce Integration user licence, so the user you just made is the one core banking loads should run as.
Store the endpoint safely
- Create an External Credential
In Setup › Quick Find › Named Credentials, open the External Credentials tab and create
Core Bankingwith the authentication protocol your API uses. Add a principal and grant access to it in theCore Banking Syncpermission set. - Create the Named Credential
Create a Named Credential
CoreBankingwith your API's base URL (usehttps://example.comfor practice) and link it to the External Credential. - Use it
Flows (HTTP Callout) and Apex refer to
callout:CoreBanking. No URL or secret is ever stored in code.
For streaming events or millions of rows, ingest into Data 360 and act on it there, as in EP15 Contextual Alerts with Data 360. For calls to several outside services in order (identity, AML, credit bureau), use Integration Orchestration.
Checkpoint
Knowledge check
Nightly transaction loads must attach to the right account without looking up Salesforce IDs. What makes that possible?
Where should an integration's endpoint and secret live?
