Connect Salesforce Commerce Cloud
Updated 29 November 2026Send the embedded CDN request log of Salesforce B2C Commerce to Brandexa with a Logpush job. No access to your Salesforce account is shared.
What to know
The embedded CDN of Salesforce B2C Commerce is built on Cloudflare, and it can send its request log to an HTTPS destination through a Logpush job. Brandexa reads the same lines a Cloudflare Logpush job sends. Brandexa never needs access to your Salesforce account.
Before you start
- You need access to Business Manager or the eCDN API for the zone that serves your storefront.
- Each zone can have two Logpush jobs. If both are used, remove one first.
- Salesforce documents this feature on pages Brandexa could not read in full. If a field name below is not accepted, use the nearest name in Salesforce's own field list for the http_requests log type.
Steps in Brandexa
- Open Agent analytics, then Logs, and choose Connect request logs.
- Choose Salesforce Commerce Cloud and pick the domain the storefront serves.
- Brandexa shows the destination path and the fields. The path holds your source key and is shown once, so copy it now.
Steps in Salesforce
- In Business Manager open Administration, then Embedded CDN, then Settings, and choose the zone. You can also use the eCDN API or the B2C command line tool.
- Add a Logpush job with the http_requests log type.
- Select the fields below and no others.
- Paste the destination path from Brandexa.
- Save the job. Salesforce creates it disabled, so enable it.
The fields to select. They do not include the shopper's address or the query string:
EdgeStartTimestamp
ClientRequestHost
ClientRequestMethod
ClientRequestPath
ClientRequestUserAgent
EdgeResponseStatus
EdgeResponseBytes
ClientCountry
RayIDThe destination path has this shape. Use the one Brandexa shows, because it holds your own key:
https://ingest.brandexa.com/v1/logs/salesforce?header_X-Brandexa-Source=<YOUR_SOURCE_KEY>Cloudflare sends batches every few minutes. Come back to Brandexa and choose Check status. Requests from shoppers are sent too. Brandexa discards everything except AI crawlers and search engines when it arrives.
Brandexa keeps only requests from recognised AI crawlers and search engines. For each one it stores the time, host, path without the query string, method, status, size, country and crawler name. It does not store visitor addresses, query strings, cookies or the user agent text.
If something goes wrong
- The job is rejected. Salesforce checks the destination when it creates the job. Check that the whole path is pasted, including the header parameter.
- Nothing appears. Check that the job is enabled and that the log type is http_requests.
- A field is not accepted. Use the nearest name in Salesforce's own list.
- To stop, disable and delete the job.