# Step 2: Create page labels

You can use CC Page labels to add useful Salesforce B2B Commerce App information such as help text or error messages.

{% hint style="info" %}
Download the **DR\_OrderAPI\_PageLabel-v2\_1\_1.csv** file for this task. It contains the page label information you need to import.&#x20;
{% endhint %}

{% file src="<https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MXlfR9_Z1B4lYjvVt_B%2F-MXlgXFqfI5E2mblQfyO%2FDR_OrderAPI_PageLabel_v2.1.1.csv?alt=media&token=1b814e74-52f2-4f58-b555-c061cca9556a>" %}

## Step 2a: Install the Data Loader on your local system <a href="#step-8a-install-the-data-loader-on-your-local-system" id="step-8a-install-the-data-loader-on-your-local-system"></a>

You will use the Data Loader to upload the page labels. To install the Data Loader:

1. Click **Setup** ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRVolfbKzQM7Bu3Nv78%2F-MRVpU0XnT1QlY1okzSY%2FSetupIcon.png?alt=media\&token=b7f13fdc-4d81-4f2a-a2ff-9176a84c8302) and select **Setup** from the dropdown list.
2. Type `dataloader` in the **Quick Find** field and press **Enter**. \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQiTfFtnSjZ2EMysso%2F-MRQj1kp_7imb6EFzfn0%2FInstall%20DR%20B2B%20API%20Connector54.png?alt=media\&token=89aa4b47-d0b4-4a97-b00a-f0b18298690b)
3. Click **Data Loader**. The Data Loader page appears.&#x20;
4. Click the appropriate link to download and install the Data Loader for your system.
5. Click the appropriate Installation Instructions link and follow the instructions to install the Data Loader.

<div align="left"><img src="https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQj53CgexJwotqJSYi%2F-MRQjOxG1-GtV1UCkEEM%2FInstall%20DR%20B2B%20API%20Connector55.png?alt=media&#x26;token=c2a1ae9a-2237-4919-bac0-edda63918e61" alt=""></div>

## Step 2b: Upload the CC page labels for the Salesforce B2B Commerce App <a href="#step-8b-upload-the-cc-page-labels-for-the-digital-river-app" id="step-8b-upload-the-cc-page-labels-for-the-digital-river-app"></a>

{% hint style="warning" %}
Install the [Data Loader](#step-8a-install-the-data-loader-on-your-local-system) before you upload the page labels.
{% endhint %}

1. Go to the location where you installed the Data Loader on your local system and double-click **dataloader.bat**. \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQj_T1CRMt3LBQ6TbD%2F-MRQjls7lE8F2zOh7CEt%2FInstall%20DR%20B2B%20API%20Connector56.png?alt=media\&token=f401fcc0-f064-4512-b9d4-b21a6bbed246)
2. &#x20;From the Data Loader app, click **Upsert**. \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQj_T1CRMt3LBQ6TbD%2F-MRQk6Twi9AXL1anIonB%2FInstall%20DR%20B2B%20API%20Connector57.png?alt=media\&token=c4b92131-97b2-443c-8d93-afaebac702db)
3. Select **Password Authentication**.
4. Enter your user credentials for your Salesforce Org, where you need to upload the page labels and click **Log in**. \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQlfUf0631f42KVCrQ%2F-MRQlzLol3paHs662AFI%2FInstall%20DR%20B2B%20API%20Connector58.png?alt=media\&token=b7a0cc46-b339-4419-85fd-10937266e39e)
5. Choose the **CC Page Label (ccrz\_\_E\_PageLabel\_\_c)** object from the list. ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQk9xWkP6dKYv70VrK%2F-MRQkX_IBJqTl-mC0sqw%2FInstall%20DR%20B2B%20API%20Connector59.png?alt=media\&token=6cda78d4-47ea-41f6-94eb-cdfdf1537185)
6. Click **Browse**, locate the **DR\_OrderAPI\_PageLabel.csv** file on your system, and then click **Next**.
7. Select **ccrz\_\_PageLabelId\_\_c** as the external ID field from the dropdown list and click **Next**. \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQkZVRjjm_NyzduZRw%2F-MRQkhRftoQeeteitNwi%2FInstall%20DR%20B2B%20API%20Connector60.png?alt=media\&token=65f7f252-f178-4d4b-a3a3-0f46a2e6ea93)
8. Click **Create Or Edit a Map** to map your fields (CSV columns) to the Salesforce object and click **Next**.\
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQkowzSJiLIg2dZ8oN%2F-MRQkz9lDl2pL6rWG7F8%2FInstall%20DR%20B2B%20API%20Connector61.png?alt=media\&token=07cfcb1d-c0db-401c-b74e-339bdc7e4cba)
9. Use the option to **Auto match fields with column** as shown in the following image and click OK:: \
   ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MSnBvJxTXaWzyEkyhQQ%2F-MSnCn7hEuw0xZDA7A56%2FStep2PageLabels9.png?alt=media\&token=f1c4cc4e-36dc-460c-961d-1f3b6df159d2)
10. Click **Browse**, locate the directory where you want to save success and error files, and then click **Finish**. \
    ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQl4PTGeu-vH0ka0Xi%2F-MRQlAy0i6nHjrPaDVb8%2FInstall%20DR%20B2B%20API%20Connector63.png?alt=media\&token=356030f8-7db4-48bd-b1f0-accc50ec82f7) \
    The Data Loader app upserts your records. \
    ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQlC6dp4fGAGEJ2ap5%2F-MRQlL_GvpZ-miLXH3Jb%2FInstall%20DR%20B2B%20API%20Connector64.png?alt=media\&token=2b28325b-44e8-466e-b98f-ffc7cd0c1f95)
11. Click **View Errors** and check for failures. If there are any failures, correct the problem and try again.
12. Click **OK**.
13. Click **App Launcher** ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQm0AQFOupc5C2pLAq%2F-MRQmEi79O8peIe2uuZa%2FAppLauncher.png?alt=media\&token=3b0772a0-7069-4bb1-a1b0-acc2c9cf13e1) .
14. Open the **CC Admin** tab, and then click **Indexing**. \
    ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MSnDFrDmeV2_D84dCD-%2F-MSnDQorF8sOiNW0RHhq%2FStep2%2315.png?alt=media\&token=6c68284f-a83e-434c-8636-5e2f0114b7a6)
15. Click **Refresh Page Label Cache**. \
    ![](https://2309602074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuPvN3iGOwRD0PjQh%2F-MRQla7d4RdIlWLfSuiD%2F-MRQldrpYUq-Sg4et535%2FInstall%20DR%20B2B%20API%20Connector67.png?alt=media\&token=a275127a-5924-411e-a5f6-89149673c1bf) \
    You've completed the upsert process for the Digital River B2B CC page labels from the page labels CSV file.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-b2b/2.1.1-2/integrating-the-digital-river-salesforce-b2b-commerce-app/step-2-create-page-labels.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
