> ## 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

**1. Open Connected Sources**

In your Vortex IQ workspace, go to **Settings → Connected Sources**. You need Admin role in the workspace to connect sources.

**2. Find the Salesforce Commerce Cloud (B2C) card**

Locate the Salesforce Commerce Cloud (B2C) connector card and click **+ Connect**.

**3. 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`.

**4. 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.

**5. 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.

## 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](https://docs.vortexiq.ai/nerve-centre/kpi-cards/salesforce-commerce-cloud.md) for the full list with definitions, calculations, and sentiment bands.

## Troubleshooting

> [accordion] 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] 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.