This page is for Salesforce administrators. A sales rep at your company uses Prospect 811 and wants to push their prospect list into your Salesforce org as Leads. If they tried to connect before you finished this setup, they saw this error:
That is Salesforce saying our app package is not installed in your org yet. Installing it takes about five minutes and two steps. No Apex, no triggers, no code runs in your org: the package contains four custom fields on Lead, one permission set, and the OAuth connected app definition. Nothing else.
test.salesforce.com in place of login.salesforce.com.Package name Prospect 811, namespace p811, managed (upgrades are automatic when you install a newer version; the fields and their data are never removed by an upgrade).
| Component | API name | Details |
|---|---|---|
| Lead field: NPI | p811__NPI__c | Text(10), External ID, Unique (case-insensitive). The National Provider Identifier. This is the upsert key: it is what makes repeat pushes update existing Leads instead of creating duplicates. |
| Lead field: P811 Status | p811__P811_Status__c | Text(50). The rep's Prospect 811 pipeline status, mirrored as-is. |
| Lead field: P811 Qualified | p811__P811_Qualified__c | Checkbox. Whether the rep marked the provider qualified. |
| Lead field: P811 Specialty | p811__P811_Specialty__c | Text(120). Provider specialty from the NPI registry. |
| Permission set | p811__Prospect_811_Rep | Field-level read/edit on the four fields above. No object permissions, no system permissions. |
| Connected app | Prospect 811 | The OAuth app your reps authorize. Scopes: api, refresh_token. PKCE and refresh-token rotation are enforced. |
Status field, using your org's own Lead Status values.| What the rep sees | Likely cause and fix |
|---|---|
invalid_client: app must be installed into org | The package is not installed yet (or was installed in a sandbox, not production). Run Quick setup step 1 in the org the rep logs into. |
| OAuth error mentioning approval, or the rep cannot get past the login | Your org sets the app's Permitted Users to “Admin approved users are pre-authorized.” Open the app in Setup (Connected Apps → Manage), and under Permitted Users add the Prospect 811 Rep permission set (or the reps' profiles) to the app's approved list. |
| Generic OAuth error that persists for some reps only | IP restrictions. Prospect 811's servers call the Salesforce API from cloud IP addresses. In the app's policies in Setup, set IP Relaxation to Relax IP restrictions. Login-hours and login-IP restrictions on the rep's profile can also surface as invalid_grant. |
API_DISABLED_FOR_ORG or “this org has no API access” | Your Salesforce edition does not include REST API access (Professional needs the Web Services API add-on; Starter and some legacy editions have none). Reps can still export CSV files from Prospect 811 and import them with the Data Import Wizard. |
| Rep connected fine but pushed fields are empty | The rep is missing the Prospect 811 Rep permission set (fields without field-level access are silently dropped on write). Run Quick setup step 2. |
| Rep is asked to reconnect after a month away | Expected. Refresh tokens idle-expire after 30 days without use. Reconnecting takes one click and one OAuth approval. |
Questions, or an org shape this page does not cover (existing NPI field, package-restricted org, SSO edge cases)? Email [email protected] and we will sort it out with you.