> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vortexiq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Salesforce Commerce Cloud (B2C) to Vortex IQ

> Connect Salesforce Commerce Cloud (B2C) to Vortex IQ for 38 KPI cards, plus cross-platform Vortex Mind diagnostics.

Connecting Salesforce Commerce Cloud (B2C) to Vortex IQ gives the AI OS a live read on your Salesforce Commerce Cloud (B2C) data, feeding the Nerve Centre dashboard, Vortex Mind diagnostics, and Ask Viq.

## What data Vortex IQ reads from Salesforce Commerce Cloud (B2C)

* **Product**
* **Order**
* **Customer**
* **Site**
* **ApiIntegration**

## How to connect

<Steps>
  <Step title="Open Connected Sources">
    In your Vortex IQ workspace, go to **Settings → Connected Sources**. You need Admin role in the workspace to connect sources.
  </Step>

  <Step title="Find the Salesforce Commerce Cloud (B2C) card">
    Locate the Salesforce Commerce Cloud (B2C) connector card and click **+ Connect**.
  </Step>

  <Step title="Authorise with Salesforce Commerce Cloud (B2C)">
    You are redirected to Salesforce Commerce Cloud (B2C)'s own authorisation page. Sign in and approve the requested permissions. Vortex IQ requests these scopes: `SALESFORCE_COMMERCE_API:{tenant_id}.sandbox sfcc.shopper-orders.read sfcc.shopper-baskets.read`.
  </Step>

  <Step title="Return to Vortex IQ">
    Salesforce Commerce Cloud (B2C) redirects you back to Vortex IQ once authorisation completes. The connector card flips to Connected automatically; no credentials are copied by hand.
  </Step>

  <Step title="Wait for the first data pull">
    KPI cards begin populating once the first sync completes. Timing depends on the Salesforce Commerce Cloud (B2C) API response size and rate limits.
  </Step>
</Steps>

## Available KPI cards

Vortex IQ populates **38** Nerve Centre cards from your Salesforce Commerce Cloud (B2C) data. See the [Salesforce Commerce Cloud (B2C) KPI card reference](/nerve-centre/kpi-cards/salesforce-commerce-cloud) for the full list with definitions, calculations, and sentiment bands.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Credential verification fails">
    Re-check each value against the Salesforce Commerce Cloud (B2C) developer console for typos or trailing whitespace. If a scope or permission is missing, Salesforce Commerce Cloud (B2C) will typically return a 401 or 403 on the verification call rather than a generic failure.
  </Accordion>

  <Accordion title="Cards show no data after connecting">
    Allow time for the first sync to complete; large accounts can take longer. If cards are still empty after an hour, disconnect and reconnect to confirm the credentials were saved correctly.
  </Accordion>
</AccordionGroup>
