Made in Builder

Made in Builder

Webinar 👉 Visually Build at Scale with Builder.io & Netlify on 12/1

×

Developers

Product

Use Cases

Pricing

Developers

Resources

Company

Get StartedLogin

Product

Features

Integrations

Talk to an Expert

Pricing

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

SFCC Content Assets Integration

The purpose of this integration is to allow users to create Salesforce Commerce Cloud (SFCC) content assets from content entries within Builder. This is an API-only integration and doesn't require a cartridge installation.

How the integration works

SFCC Content Assets Integration works via a webhook that listens for any content changes on the Builder side and creates, updates, or deletes the HTML equivalent as content assets in your SFCC library.

Setting up the integration

Setting SFCC API Client

Set up a new API Client in the SFCC account manager, you’ll need admin access for this:

  • go to the API Client screen.
  • Click Add API Client
  • Enter a display name to identify the API Client, for example, “Builder.io SFCC Sync”
  • Enter a password. This will be your client secret.
  • From the “Token Endpoint Auth Method” menu choose “client_secret_basic”
  • Click ‘Add’
  • Make a note of the API Client ID that is generated and the password to be used in next steps


Assign the access permissions to your API client

  • In SFCC Business Manager, go to Administration > Site Development > Open Commerce API Settings
  • From the Select Type field, select ‘Data’
  • From the Select Context field, select ‘Global’
  • In the text field add the client ID from step 1 to the following json and paste it


Use the client ID and secret to connect to Builder

Go to integrations tab and Install the SFRA/Site Genesis plugin

add the client ID, password, main content assets library name and your instance path in the plugin configurations

Creating a Section model

In the Builder UI, create a Section model so you can create your content assets under it.

You can start by clicking Models in the left side nav on the Dashboard.

Click +Create Model.

Select Section from the list.

Enter Content Asset as the name for your new Section model or any name that make sense to your use case and click Create.

Establish SFCC content asset connection

Hit Show more options

Press Sync To SFCC

Press Save

You're all set now, try creating new entries on the model you created and upon publishing you should see it in your SFCC Content Assets Library


Need Expert help?

Reach out to us, and we will match you with a Builder expert.

Connect with us

Was this article helpful?