Skip to main content
Okta → SalesforceIntegration guide

Connecting Okta to Salesforce

Okta is enterprise identity, which means the people signing in are employees of a customer that bought through a procurement process nobody advertised into. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Okta enterprise identity before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Okta Usage on Salesforce Accounts: Seats Used Beside Contract Value

Roll Okta usage onto the Salesforce Account, joined by your customer's account ID mapped from their Okta organization or email domain. Write daily aggregates such as 30-day active users, seats provisioned and last login as custom fields, not activities, and check values after the first run. Usage fields must never overwrite lead source or trigger closed-won flows.

Okta and Salesforce are often connected already, for SSO into Salesforce and for user provisioning, but that connection signs in your own staff and has nothing to do with customer data. The useful pair is different: rolling up how your enterprise customers' employees use your product, as seen through Okta, onto the Salesforce Account, so account managers see adoption before renewal.

The join key is your customer's account ID, mapped from their Okta organization or email domain to the Salesforce Account. Write aggregates, not events: active users in the last 30 days, seats provisioned and last login date, as custom fields on the Account, updated daily. Writing each login as an activity or task would bury the record. Field-level security and validation rules can drop these writes without an error, so open an Account and check the values after the first run.

Keep attribution where it belongs. The Opportunity that created the account carries the campaign and click identifiers from the original demo request; Okta usage data should never overwrite lead source or be counted as a conversion. If ad platforms receive closed-won data from Salesforce, make sure no flow fires on usage-field updates, or every daily sync looks like a fresh conversion.

Okta → Salesforce · what breaks

Why this join usually fails — Okta → Salesforce

  1. 01

    The Lead or Contact identity never reaches Okta

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  2. 02

    Product usage mistaken for acquisition signal

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  3. 03

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Okta → Salesforce · the fix

What working looks like — Okta → Salesforce

  • The Lead or Contact identity on every account

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

Okta → Salesforce · architecture

How Okta and Salesforce actually connect

  1. 1

    Okta holds the truth

    Enterprise identity tells you who is using the product, not who bought it. Those are different people and the purchase happened months before the first login.

  2. 2

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Okta enterprise identity.

  4. 4

    The event source decides reliability

    Send contract value at the account level, never per user.

  5. 5

    Deduplication at the destination

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

Okta → Salesforce · normal or broken

Working vs. broken, side by side — Okta → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the account

  • Sent from your contract or billing system

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity missing on most records

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  • Sent from the browser

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  • Counted twice, or not at all

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

Okta → Salesforce · diagnose

Diagnostic order — Okta → Salesforce

  1. 01

    Count accounts carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no login event reaches an ad platform

    The correct number is zero. Enterprise logins are the least useful acquisition signal available.

  4. 04

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Okta → Salesforce · prove

How it gets proven — Okta → Salesforce

Source of truth

Your contract or billing system, at the account level.

  • The Lead or Contact identity confirmed present on a live account.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Contract value reconciled at account level against imported conversions, with login events absent.

Okta → Salesforce · free audit

What we check in the free audit

  • Count accounts carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Confirm no login event reaches an ad platform
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Your contract or billing system, at the account level.

Get my free conversion tracking audit

Free30 minutesNo obligation

Okta → Salesforce · when not to buy

When you don't need this — Okta → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the Lead or Contact identity.
  • If your product is enterprise-only, conversion tracking answers a small question and the pipeline lives in the CRM.
  • If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

Okta → Salesforce · what we deliver

What gets built — Okta → Salesforce

  • Identifier capture into Okta

    Attribute at the account in the CRM. Do not attempt to attribute enterprise logins to campaigns.

  • Event source: your contract or billing system

    Send contract value at the account level, never per user.

  • Dispatch to Salesforce

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

  • Reversals where they exist

    Contract terminations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your contract or billing system, at the account level.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Okta → Salesforce questions, answered

No. That app handles SSO and provisioning for your own employees. Customer usage roll-ups need a separate sync from your product or Okta's System Log.

Free · 30 min

Get Okta and Salesforce joined properly

Free30 minutesNo obligation