Select Page

User Guide of Salesforce Single SignOn for PrestaShop

Amarpreet
Published: November 4, 2022

The Salesforce Single SignOn for PrestaShop is also known as Salesforce SSO for PrestaShop. It allows users to sign in or sign up with the help of Salesforce Login into the PrestaShop site easily. This makes users comfortable to use the PrestaShop site with a single click without entering their credentials for PrestaShop. 

For this, you have to install and set up the Salesforce Login module on your PrestaShop site. Then configure it on both sides Salesforce CRM and PrestaShop.

What are the Features of Salesforce SSO for PrestaShop?

A few features of Salesforce SSO are as follows:-

  1. Sign in or Sign up to the PrestaShop site using third-party platform credentials (Salesforce).
  2. Single-click login.
  3. No registration is required to sign in or sign up.
  4. Salesforce Org authenticates user access by playing the role of a third-party identity provider.
  5. Easy to set up and access.

How to Add the Salesforce Single SignOn Module in PrestaShop?

Follow the steps to add or upload the Salesforce Login module to your PrestaShop site:-

  1. First of all, Open your PrestaShop site using your credentials.
  2. Then go to the Modules option in the left navigation bar.
  3. Click on the Modules Manager option.
Module-manager-in-PrestaShop
  1. Now, click on the Upload a module button on the right side of the screen.
Upload-zip-file-Prestashop-saesforce
  1. Click on Select file and upload the zip file of the module and wait for it to upload successfully.
  2. Then you will see a button named Configure
Configure-Salesforce-prestashop-1

OR 

Searching for an experienced
Prestashop Company ?
Read More


  1. You can click on the Configure button in front of the Salesforce Login module that is shown under the Administration heading.
Configure-Salesforce-PrestaShop-2
  1. The configuration will be done after the Salesforce setup.

How to Set up Salesforce for Salesforce SSO Module?

Steps to set up the Salesforce SSO for PrestaShop are mentioned here:-

  1. Open Salesforce and log in using your credentials
  2. Then in Setup go to the Quick Find field and search for Identity Provider
  3. Click on the Identity Provider option from shown options
Identity-Provider-in-Salesforce-1
  1. Then in Identity Provider, click on Enable Identity Provider button
Enable-Identity-Provider-for-SSO
  1. Select the certificate from the drop-down and click on the Save button.
Certificate-for-Identity-Provider-2
  1. After this, you can see the details of the Identity Provider Setup on your screen.
Identity-Provider-details-Salesforce-PrestaShop
  1. Now from Quick Find the search and open the App Manager.
  2. Click on the button New Connected App that is at the top right side of the window.
New-connected-App-Salesforce-PrestaShop-1
  1. You will get a form on your screen that you have to fill out the form for a new connected app
  2.  Fill out the form with all the required details like app name, API name, email, and other details. Then click on the Save button.
Fill-app-form-for-Salesforce-PrestaShop
  1.  When you click on the checkbox to Enable SAML then it asks you to fill few details such as
    1. Start URL
    2. Entity ID 
    3. ACS URL

You have to copy the ASC URL from the PrestaShop Salesforce Configure page and then paste it here in all these 3 fields. Click on the Save button.

Web-App-Settings-for-new-connected-app-salesforce-prestashop
  1.  After this, go to the Connected Apps then click on Manage Connected Apps.
  2.  Then click on the App that you just created in the above steps.
Manage-Connected-Apps-Salesforce-PrestaShop
  1.  Now scroll down to the bottom. Here, you can create new Custom Attributes.
New-Custom-Attributes-creation-in-Salesforce.
  1.  After clicking on New Custom Attributes
    1. Provide the Attribute name and value.
    2. For example-
      1. Attribute Key: FirstName; Attribute Value:$User.FirstName
      2. Attribute Key: LastName; Attribute Value: $User.LastName
    3. Then click on the Save button.
new-attribute-creation-Salesforce-Prestashop
  1.  Click on Manage Profile and then choose the profiles to whom you want to give access to login to PrestaShop using Salesforce credentials.
Manage-Profiles-for-access-Salesforce-SSO-for-PrestaShop
  1.  Select the profiles and then click on the Save button.
Profiles-to-access-Salesforce-Single-SignOn-for-PrestaShop
  1.  Now, you have to connect Salesforce with PrestaShop for the Salesforce Single SignOn module.
  2.  You have to go to Manage Connected Apps again.
  3.  Then click on the newly created app.
Open-new-app-in-Salesforce-for-PrestaShop
  1.  Now scroll down and go to the SAML Login Information heading.
  2.  From here you require-
    1. An IDP-initiated Login URL 
    2. A Single Logout Endpoint URL, and 
    3. A Metadata certificate.
SAML-Login-Information-Salesforce-PrestaShop
  1.  Copy these URLs and paste them into your PrestaShop configuration Page fields named Single SignOn Service and Single Logout Service.
  2.  Click on the Download Metadata button and copy its code to paste it into the PrestaShop’s Configuration field.

How to Configure Salesforce Single SignOn at PrestaShop’s end?

Here are the steps to configure the Salesforce Login module in PrestaShop:-

  1. In PrestaShop go to Modules and click on Module Manager
  2. Click on the Configure button of the Salesforce Login Module.
PrestaShop-Salesforce-Single-Signon-Configuration
  1. Then you have to paste the URLs in the fields:-
    1. Single SignOn Service-  Paste IdPP-initiated URL from Salesforce.
    2. Single Logout Service- Paste Single Logout Endpoint URL from Salesforce.
    3. x509cert- Download the Metadata certificate and then open up that XML file. In the XML file copy, the detail written in front of “<ds:X509Certificate>” and paste it into this field of PrestaShop.
Salesforce-Single-Signon-for-PrestaShop
  1. Then click on Save and you are done.

You are now done with the configuration on both ends so your selected profiles can log in to PrestaShop using the Salesforce Login button easily without facing any issues.

Conclusion

In conclusion, the module of Salesforce Single SignOn (SSO) for PrestaShop makes it easy for your users to sign in using the Salesforce Login button. So, you won’t require to share your PrestaShop credentials with them. The one who is accessing Salesforce can now easily access the PrestaShop site if the profile is assigned to Salesforce. Otherwise, they won’t be able to log in using Single SignOn.

If you have any issues while using Salesforce Single SignOn for the PrestaShop module or have any other query then connect with the Salesforce consultant team. You can also email us at [email protected] or do a live chat with us.

Source: webkul.com