Prospect 811

Salesforce Admin Guide

Last updated: August 5, 2026 · Contact: [email protected]

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:

invalid_client: app must be installed into org

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.

Quick setup (about 5 minutes)

  1. Install the package. Log in to Salesforce as an admin, then open this install URL: Choose Install for Admins Only (recommended: rep access is granted by the permission set in the next step, not by the install-time choice) and click Install.
    Installing into a sandbox first? Use the same URL with test.salesforce.com in place of login.salesforce.com.
  2. Assign the permission set. Setup → Permission Sets → Prospect 811 Rep → Manage Assignments → add each rep who uses Prospect 811. This grants field-level access to the four packaged fields below and nothing more.
  3. Done. Have the rep click Connect Salesforce in Prospect 811 and approve the OAuth prompt with their own Salesforce login.

What the package contains

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

ComponentAPI nameDetails
Lead field: NPIp811__NPI__cText(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 Statusp811__P811_Status__cText(50). The rep's Prospect 811 pipeline status, mirrored as-is.
Lead field: P811 Qualifiedp811__P811_Qualified__cCheckbox. Whether the rep marked the provider qualified.
Lead field: P811 Specialtyp811__P811_Specialty__cText(120). Provider specialty from the NPI registry.
Permission setp811__Prospect_811_RepField-level read/edit on the four fields above. No object permissions, no system permissions.
Connected appProspect 811The OAuth app your reps authorize. Scopes: api, refresh_token. PKCE and refresh-token rotation are enforced.

How the integration behaves

If Connect still fails after installing

What the rep seesLikely cause and fix
invalid_client: app must be installed into orgThe 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 loginYour 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 onlyIP 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 emptyThe 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 awayExpected. Refresh tokens idle-expire after 30 days without use. Reconnecting takes one click and one OAuth approval.

Security notes

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.