---
schema_version: "1"
id: 367abc3cea204fad80a8e307beb5e998fb9bf734925c487ec3185d5381bd343c
title: Add B2B Referral Code to Deal Registration
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/add-b2b-referral-code.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.add-b2b-referral-code.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9cc8ea7a73a25031f56e552271d3379b826675c1240d85eb96bdafc2782233c3
description: If your org uses B2B referrals, add referral code capture to the Partner Deal Registration flow.
products:
  - Partner Cloud
  - Cross Cloud
release: "264"
---
# Add B2B Referral Code to Deal Registration

If your org uses B2B referrals, add referral code capture to the Partner Deal Registration flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Partner Cloud with Deal Registration for Partners enabled in Salesforce Go, with B2B referrals enabled.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d2122e58">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Edit and activate Partner Deal Registration flow</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Manage Flow</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Channel managers</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Manage B2B referrals</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Partners</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d2122e58 ">Access B2B referrals</td>

          </tr>
        </tbody>
      </table>

Confirm that you enabled B2B referrals and that partner users have the loyalty and referral permissions they need.

1. In Setup, open the active deal registration flow used for partner submissions.
    
    You can also open your custom **Save As** version.
2. Open the Create Lead Record element. Map the referral code field.
3. Save and activate the updated flow.
4. If you didn’t enable B2B referrals, remove the referral code input from the partner-facing flow screen to avoid confusion.