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.

90 min Advanced Any FSC org + Data Loader

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

Which org are you using?
  1. Have you already created the Kapoors by hand in Workshop 2?
    Good: you can load straight away.
  2. 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.
Did you do Workshop 2 by hand?

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

  1. 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.

  2. On Financial Account

    Create the same field on the standard Financial Account object (not FinServ__FinancialAccount__c).

  3. 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.

Screenshot: The Downloads page with the sample CSVs
  1. 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 the RecordTypeId column of harbour-bank-accounts.csv.

  2. 1. Accounts

    Data Loader › Upsert › Account, match on FF_External_Id__c. Person accounts use FirstName and LastName; the business uses Name.

  3. 2. Financial Accounts

    Upsert harbour-bank-financial-accounts.csv into Financial Account, matching on FF_External_Id__c. It now includes the required FinancialAccountNumber, Status Active and Type Checking for the business account.

  4. 3. Balances

    Insert harbour-bank-financial-account-balances.csv into Financial Account Balance. Map the financial account through FinancialAccount:FF_External_Id__c, and Type, Amount and the date to the matching fields.

  5. 4. Financial Account Parties

    Insert harbour-bank-financial-account-parties.csv into Financial Account Party. Map the lookups through the External IDs, and Role (now Owner) to the role field.

  6. 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.

  7. Check it

    Open Rohan's account: the joint savings account and home loan should show with him and Meera as owners.

No Data Loader?

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.

FINSforce trap: children before parents

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

  1. 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.

  2. Give only what it needs

    Create a permission set Core Banking Sync with 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.

  3. 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.

Summer '26: loading straight into Financial Accounts

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

  1. Create an External Credential

    In Setup › Quick Find › Named Credentials, open the External Credentials tab and create Core Banking with the authentication protocol your API uses. Add a principal and grant access to it in the Core Banking Sync permission set.

  2. Create the Named Credential

    Create a Named Credential CoreBanking with your API's base URL (use https://example.com for practice) and link it to the External Credential.

  3. Use it

    Flows (HTTP Callout) and Apex refer to callout:CoreBanking. No URL or secret is ever stored in code.

Real time or high volume?

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?

Data Loader resolves the parent through its External ID during upsert.

Where should an integration's endpoint and secret live?

Named Credentials keep the endpoint and authentication out of code and configuration.
Progress: 0%
Tick every checkpoint to complete this workshop and claim your badge.
Go to Resources →