Prerequisites
- WeGive4SF is installed and the WeGive Admin permission set is assigned to the integration user (see Installing the WeGive Salesforce Managed Package)
- You are logged in as a System Administrator
- You know the integration user’s Salesforce username
1. Create the External Client App
In Setup, search for External Client App Manager and click New External Client App.
Use the same callback URL for Production and Sandbox orgs.
2. Relax IP restrictions
Open the app, click Edit Policies, set IP Relaxation to Relax IP restrictions, and save. WeGive does not connect from a fixed IP range.3. Add a Remote Site Setting
In Setup > Security > Remote Site Settings, click New Remote Site and enter:4. Copy the credentials
On the ECA detail page, open Settings > OAuth Settings and copy the Consumer Key and Consumer Secret. You will enter both in WeGive.NPSP trigger handler exclusions
NPSP uses trigger handlers (its Table-Driven Trigger Management framework) to run automation whenever records change: recalculating allocations, validating payments, keeping allocations and payments in step. That automation is designed for records people enter by hand. WeGive writes complete, already-consistent records: the Opportunity, its Payment, and its GAU Allocations arrive together with amounts that already balance. When NPSP re-processes those records, two things go wrong. First, it can create duplicate or conflicting Allocation and Payment records, which then sync back to WeGive as new data. Second, NPSP’s processing runs inside the same transaction as WeGive’s write, so a large sync can push against Apex governor limits and fail partway through. WeGive’s recommendation is to exclude the integration user from the handlers below. Excluding by username means NPSP automation still runs normally for every other user in the org; only records written by WeGive bypass it. Each handler has a Usernames to Exclude field for exactly this purpose. To apply the exclusions, open the App Launcher, search for Trigger Handlers, open the list, and add the integration user’s username to Usernames to Exclude on each record below.When exclusions are optional. If your org does not use GAU Allocations, the two
Allocation__c handlers have nothing to act on and can be left alone. If your org relies on NPSP automation that must run on WeGive-created records (for example, a custom trigger handler that depends on NPSP’s allocation processing), discuss the trade-off with your WeGive CS contact before excluding. This list may grow as NPSP and WeGive add features; check this page when upgrading either package.Connect in WeGive
1
Open the integration settings
In the WeGive dashboard, go to Settings > Integrations > Salesforce NPSP and open the Connection tab.
2
Enter credentials
Paste the Consumer Key into Client ID and the Consumer Secret into Client Secret. Leave Legacy Username and Legacy Password blank; they belong to the deprecated username-password flow. Click Save.
3
Authorize
Click Connect with OAuth. Sign in as the integration user and approve access. The header badge changes from Not connected to OAuth connected.
4
Test the connection
Click Test Connection. WeGive verifies API access and reads your org’s record types.
5
Configure, then enable
Complete the Sync Configuration and Mapping Rules tabs before turning on Enable Integration; see the Dashboard Settings Reference and the Implementation Guide.