Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Data Protection and Privacy
Create Preference Form Access Tokens

Create Preference Form Access Tokens

Create preference form access tokens in Preference Manager so that your users can view and edit your preference forms from an external site, a static web page, or an Experience Cloud site without logging in.

Required Editions

User Permissions Needed
To use the Preference Manager Builder: ManagePreferenceManager

Before you upload your record IDs, make sure that your file is in CSV format, doesn’t contain commas, and that each record ID is on a separate line. Enter the first record ID in the second row of your CSV file. The first row is reserved for column headers and isn’t processed by the token generator.

  1. From the Preference Manager dashboard, select Access Tokens, and click Upload Record Ids.
  2. Click Upload .
    Dialog box to upload a CSV file for access tokens
  3. Click Next, and wait for the tokens to generate.
    The access tokens appear on the Preference Manager dashboard with their corresponding record IDs. A CSV format version also downloads to your browser.
  4. Append the access token string ?pctoken=[token string] to the website URL of your published site and send this URL to your users to give them access to the preference form without logging in.
Example
Example

URL of your published website and the generated access token: https://acme.ebikes.com/acme/s/preference-settings

Generated access token: QTRMMDAwMDAwNTRQSGc0ZlhSczZnSXNTNEpNUVBldWN6cFl0bDRNcERURWRMWGJPZ1 hhamxQTnUxa2oxN0dXVVFMalhwNFY1NXVxaDlrcXEwcFhuQy94WGNBYmMyMkZaWjJR L1VTOWw0UVhiZ2s4dFZaMUM0M053M01wWllUUTQzODZ1VjFLekxod2xQZ2NNQzRIYz NuM2RtRW9kVTRTN1lEdz09

Full URL with appended access token: https://acme.ebikes.my.site.com/acme/s/preference-settings?pctoken= QTRMMDAwMDAwNTRQSGc0ZlhSczZnSXNTNEpNUVBldWN6cFl0bDRNcERURWRMWGJPZ1 hhamxQTnUxa2oxN0dXVVFMalhwNFY1NXVxaDlrcXEwcFhuQy94WGNBYmMyMkZaWjJR L1VTOWw0UVhiZ2s4dFZaMUM0M053M01wWllUUTQzODZ1VjFLekxod2xQZ2NNQzRIYz NuM2RtRW9kVTRTN1lEdz09

 
Loading
Salesforce Help | Article