SlideShare ist ein Scribd-Unternehmen logo
1 von 31
© KPIT Technologies Limited
www.kpit.com
SALESFORCE INTEGRATION WITH SITECORE
By Amrita Shukla
SUG Bangalore
© KPIT Technologies Limited
Agenda
• Sitecore-Salesforce connectors.
• Salesforce-Sitecore Integration using Salesforce Connect Module.
• Salesforce configurations steps.
• Sitecore configurations steps.
• Demo: Salesforce Domain & Users in Sitecore User & Domain Manager
• Issues/Blockers and the resolutions.
SUG Bangalore5/6/20172
© KPIT Technologies Limited
Major Connectors Available
• S4S connector by FuseIT
• Salesforce Connect Module by Mr. Adam Conn
SUG Bangalore5/6/20173
© KPIT Technologies Limited
S4S Connecter
Features:
• The S4S connector integrates Sitecore CMS with Salesforce allowing the seamless exchange
of information. With real-time bi-directional communication
• Almost any object in either system can be made visible to the other. For example, Salesforce
documents can be made accessible on the website to selected users.
• Even website login credentials can be stored and controlled in Salesforce contact records.
• Among its many uses, S4S lets organizations collect leads from web forms and push the form
data, along with Sitecore Experience Analytics, to Salesforce allowing fast and easy
qualification.
• Auto-add form leads to Salesforce campaigns
• Capture web browsing analytics in Salesforce
• Better qualify and filter leads - targeted campaigns
• Personalize web content from Salesforce
Link/s: http://www.fuseit.com/products/sitecore-salesforce-integration/
SUG Bangalore5/6/20174
© KPIT Technologies Limited
Salesforce Connect Module
Features:
• Salesforce contacts are exposed as Sitecore users
• Sitecore user management tools can be used to create/edit/delete Salesforce contacts
• Salesforce contact data is saved in xDB (as a contact facet)
• Fully extensible pipeline-based architecture
• API that allows you to read from and write to Salesforce
• Source code is available
Module: https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx
Source code: https://github.com/adamconn/sitecore-salesforce-connect
SUG Bangalore5/6/20175
© KPIT Technologies Limited
Capabilities
• 1.1.1 Expose Salesforce contacts as Sitecore users
Salesforce contact appear in Sitecore as users. This enables the following:
Salesforce contacts can be created using the Sitecore API
Salesforce contacts can be managed using the Sitecore User Manager
Salesforce contacts can log into Sitecore sites
Sitecore user profile can be populated with data from Salesforce
SUG Bangalore5/6/20176
© KPIT Technologies Limited SUG Bangalore
1.1.2 Capture Salesforce contact data in xDB
xDB stores Sitecore contact data in facets. If a Sitecore contact is identified as a
Salesforce contact, contact data from Salesforce is exposed to Sitecore through a
Sitecore contact facet. This makes Salesforce contact data available for Sitecore
segmentation and other uses.
1.1.3 Caching
In order to minimize the number of API calls Sitecore must make to Salesforce the
module makes extensive use of caching.
1.1.4 Multiple Salesforce Accounts
Salesforce Connect is compatible with multiple Salesforce accounts. In other words,
a single Sitecore instance can have connections to one or more Salesforce accounts.
5/6/20177
© KPIT Technologies Limited
Full vs Partial Salesforce Support
• 1.2.1 Full support
Full support requires a package be installed on Salesforce. The installation must be performed
by an administrator of your Salesforce environment.
Before you install the package Salesforce clearly describes exactly which changes will be made
to your Salesforce environment.
• 1.2.2 Partial support
Partial support does not require an extra package be installed on Salesforce. However, without
the extensions included in the package, the following Salesforce Connect functionality is
unavailable:
A. Sitecore cannot create new Salesforce contacts
B. Sitecore cannot authenticate Salesforce contacts
SUG Bangalore5/6/20178
© KPIT Technologies Limited
Salesforce Configurations
• Create new connected app for Sitecore
• Create a new permission set
• Create a new profile
• Create a new user
SUG Bangalore5/6/20179
© KPIT Technologies Limited
Sitecore Configurations
• Install the Salesforce Connect package in Sitecore
• Modify Domains.config to add Salesforce domain.
• Modify Web.config to activate and configure switching provider for Salesforce
• Modify Sitecore.config to map domain and provider
• Modify Sitecore.salesforce.config
Note: In previous versions of Sitecore, there were no separate Sitecore.config, the
Sitecore.config’s changes for those has to be done in Web.config itself.
SUG Bangalore5/6/201710
© KPIT Technologies Limited SUG Bangalore5/6/201711
Install Salesforce Connect Package to your Sitecore instance
© KPIT Technologies Limited SUG Bangalore5/6/201712
Once the installation of the package is successful, restart either the Sitecore Client or Server
© KPIT Technologies Limited
Post Installation
Below mentioned files/items will get added to the Sitecore instance post installation
• Config files: Sitecore.Salesforce.config in include folder
• Dlls in bin folder:
- Sitecore.Integration.Common.dll
- Sitecore.Salesforce.Client.dll
- Sitecore.Salesforce.dll
• Salesforce contact template and item in core database
SUG Bangalore5/6/201713
© KPIT Technologies Limited SUG Bangalore
Add salesforce domain in the Domains.config file present in App_Config/Security Folder
5/6/201714
© KPIT Technologies Limited SUG Bangalore
Activate and configure Switching provider for Salesforce by making changes in Web.config
5/6/201715
© KPIT Technologies Limited SUG Bangalore
Map Domain with Provider for Salesforce
5/6/201716
© KPIT Technologies Limited SUG Bangalore
Add details into the client node of Sitecore.Salesforce.config present in Include Folder
5/6/201717
© KPIT Technologies Limited SUG Bangalore
Salesforce domain gets added in the Domain Manager
5/6/201718
© KPIT Technologies Limited SUG Bangalore
Salesforce contacts can now be viewed as Sitecore Users in User Manager Interface, now we see 28 users
in the User Manager Interface in Sitecore
5/6/201719
© KPIT Technologies Limited SUG Bangalore
Add a new contact in Salesforce, lets say “Mr Salesforce Demo 3”
5/6/201720
© KPIT Technologies Limited SUG Bangalore
The newly added Salesforce Contact should now be reflected in the User Manager in Sitecore
5/6/201721
© KPIT Technologies Limited
Issues and troubleshooting
5/6/2017 SUG Bangalore22
• Issue 1: Could not create configuration
• Resolution: Please cross check the values you have entered in
client element of the Sitecore.Salesforce.config file. It should be
correct.
© KPIT Technologies Limited SUG Bangalore
• Issue 2: Authentication failure
5/6/201723
© KPIT Technologies Limited SUG Bangalore
Please note that the Salesforce connect module does not work on
sandboxes by default, since the sandboxes have URLs starting as
test.salesforce.com. This module is by default compatible only with
those Salesforce boxes which has the URLs starting with
login.salesforce.com as can be seen in the next two slides. Else, despite
correct configuration you will get to see an “Authentication Failure”
message in the log file. but we can make it work with sandboxes too
with a very little effort 
5/6/201724
© KPIT Technologies Limited SUG Bangalore5/6/201725
© KPIT Technologies Limited SUG Bangalore5/6/201726
The login.salesforce.com is set as the TokenRequestUri, as can be seen in the above screenshot.
© KPIT Technologies Limited SUG Bangalore
Resolution:
This module basically reads the information such as Consumer key,
consumer secret, username, password, security token from the
“Clients” section of the config file. Even the <tokenRequestUri> is
configurable, which can be added to “Clients section”. This should be
referring to a proper Sandbox URI and then you should be getting
the value of it from the configuration file. So in case we are using a
salesforce sandbox, we should configure <tokenRequesturi> in the
client’s section of the Sitecore.Salesforce.config file and also set the
url in the callback url in salesforce as sandbox url.
5/6/201727
© KPIT Technologies Limited SUG Bangalore
• Issue 3: Installed and configured well, but still Salesforce contacts are not visible in
User Manager.
You trace the error “An error occurred while sending the request.” in the log file, as
shown in the screen shot below:
• Resolution: Your Sitecore application is not able to communicate with your
Salesforce box. Please contact your Network Security team. It can be because of
Firewall, proxy server or an anti-virus preventing the connection from succeeding.
5/6/201728
© KPIT Technologies Limited
References
• www.sitecore.net
• https://login.salesforce.com
• http://www.fuseit.com/products/sitecore-salesforce-integration/
• https://github.com/adamconn/sitecore-salesforce-connect
• https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx
SUG Bangalore5/6/201729
© KPIT Technologies Limited
Questions
SUG Bangalore
Contact: shukla.amrita01@gmail.com
LinkedIn: https://www.linkedin.com/in/amrita-shukla-53a49180/
Blogs: http://sitecorestudy.com/
5/6/201730
© KPIT Technologies Limited
Thank you
SUG Bangalore5/6/201731

Weitere ähnliche Inhalte

Was ist angesagt?

Microsofttranscript Jungchanhsieh
Microsofttranscript JungchanhsiehMicrosofttranscript Jungchanhsieh
Microsofttranscript Jungchanhsieh
Jungchan Hsieh
 

Was ist angesagt? (19)

Salesforce Spring'15 release overview
Salesforce Spring'15 release overviewSalesforce Spring'15 release overview
Salesforce Spring'15 release overview
 
Grow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFxGrow your SharePoint development platform with SPFx
Grow your SharePoint development platform with SPFx
 
Lightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce DevelopersLightning Design System and Components for Visualforce Developers
Lightning Design System and Components for Visualforce Developers
 
Lightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with SalesforceLightning Connect Custom Adapters: Connecting Anything with Salesforce
Lightning Connect Custom Adapters: Connecting Anything with Salesforce
 
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform #Df17 Recap Series Build Apps Faster with the Salesforce Platform
#Df17 Recap Series Build Apps Faster with the Salesforce Platform
 
Two-Way Integration with Writable External Objects
Two-Way Integration with Writable External ObjectsTwo-Way Integration with Writable External Objects
Two-Way Integration with Writable External Objects
 
Microsofttranscript Jungchanhsieh
Microsofttranscript JungchanhsiehMicrosofttranscript Jungchanhsieh
Microsofttranscript Jungchanhsieh
 
SalesForce WebServices part 2
SalesForce WebServices part 2SalesForce WebServices part 2
SalesForce WebServices part 2
 
Building a Single Page App with Lightning Components
Building a Single Page App with Lightning ComponentsBuilding a Single Page App with Lightning Components
Building a Single Page App with Lightning Components
 
Microsoft SharePoint
Microsoft SharePointMicrosoft SharePoint
Microsoft SharePoint
 
Secure Development on the Salesforce Platform - Part 3
Secure Development on the Salesforce Platform - Part 3Secure Development on the Salesforce Platform - Part 3
Secure Development on the Salesforce Platform - Part 3
 
Secure Development on the Salesforce Platform - Part 2
Secure Development on the Salesforce Platform - Part 2Secure Development on the Salesforce Platform - Part 2
Secure Development on the Salesforce Platform - Part 2
 
Skype for business to Microsoft Teams- Guidance for a successful upgrade
Skype for business to Microsoft Teams- Guidance for a successful upgradeSkype for business to Microsoft Teams- Guidance for a successful upgrade
Skype for business to Microsoft Teams- Guidance for a successful upgrade
 
Coding Apps in the Cloud with Force.com - Part 2
Coding Apps in the Cloud with Force.com - Part 2Coding Apps in the Cloud with Force.com - Part 2
Coding Apps in the Cloud with Force.com - Part 2
 
Integrating with salesforce
Integrating with salesforceIntegrating with salesforce
Integrating with salesforce
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
 
Access External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning ConnectAccess External Data in Real-time with Lightning Connect
Access External Data in Real-time with Lightning Connect
 
Share point development services case study
Share point development services case studyShare point development services case study
Share point development services case study
 
MS_Learning_Transcript.PDF
MS_Learning_Transcript.PDFMS_Learning_Transcript.PDF
MS_Learning_Transcript.PDF
 

Ähnlich wie SUGBLR - Salesforce Integration with Sitecore

Ähnlich wie SUGBLR - Salesforce Integration with Sitecore (20)

Building Apps Faster with Lightning and Winter '17
Building Apps Faster with Lightning and Winter '17Building Apps Faster with Lightning and Winter '17
Building Apps Faster with Lightning and Winter '17
 
Building apps faster with lightning and winter '17
Building apps faster with lightning and winter '17Building apps faster with lightning and winter '17
Building apps faster with lightning and winter '17
 
Summer '15 Release Preview: Platform Feature Highlights
Summer '15 Release Preview: Platform Feature Highlights Summer '15 Release Preview: Platform Feature Highlights
Summer '15 Release Preview: Platform Feature Highlights
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Customizing Salesforce User Interfaces with Lightning Components
Customizing Salesforce User Interfaces with Lightning ComponentsCustomizing Salesforce User Interfaces with Lightning Components
Customizing Salesforce User Interfaces with Lightning Components
 
Salesforce Lightning Design System
Salesforce Lightning Design SystemSalesforce Lightning Design System
Salesforce Lightning Design System
 
Lightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the WorldLightning Out: Components for the Rest of the World
Lightning Out: Components for the Rest of the World
 
Discover Salesforce Commerce Cloud and Vlocity Integration Patterns
Discover Salesforce Commerce Cloud and Vlocity Integration PatternsDiscover Salesforce Commerce Cloud and Vlocity Integration Patterns
Discover Salesforce Commerce Cloud and Vlocity Integration Patterns
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
Salesforce Lightning Web Components - Open Source
Salesforce Lightning Web Components - Open SourceSalesforce Lightning Web Components - Open Source
Salesforce Lightning Web Components - Open Source
 
Summer '18 Developer Highlights
Summer '18 Developer HighlightsSummer '18 Developer Highlights
Summer '18 Developer Highlights
 
Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Webinar: 5 Game Changing Lightning Components on AppExchange
Webinar: 5 Game Changing Lightning Components on AppExchangeWebinar: 5 Game Changing Lightning Components on AppExchange
Webinar: 5 Game Changing Lightning Components on AppExchange
 
San Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning OverviewSan Diego Salesforce User Group - Lightning Overview
San Diego Salesforce User Group - Lightning Overview
 
SFDC Lightning Demo
SFDC Lightning DemoSFDC Lightning Demo
SFDC Lightning Demo
 
Lightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupLightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer Group
 
Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway
Build a Connected App in 10 Minutes or Less With Lightning + Data GatewayBuild a Connected App in 10 Minutes or Less With Lightning + Data Gateway
Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway
 
Making Your Apex and Visualforce Reusable
Making Your Apex and Visualforce ReusableMaking Your Apex and Visualforce Reusable
Making Your Apex and Visualforce Reusable
 

Mehr von Anindita Bhattacharya

Mehr von Anindita Bhattacharya (20)

SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business ToolsSUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
 
Sug bangalore - headless jss
Sug bangalore - headless jssSug bangalore - headless jss
Sug bangalore - headless jss
 
Sug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggetsSug bangalore - sitecore solr nuggets
Sug bangalore - sitecore solr nuggets
 
Sug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introductionSug bangalore - sitecore commerce introduction
Sug bangalore - sitecore commerce introduction
 
SUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay SinghSUG Bangalore - WFFM Customizations with Sanjay Singh
SUG Bangalore - WFFM Customizations with Sanjay Singh
 
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
SUG Bangalore - Overview of Sitecore Experience Accelerator with Pratik Satik...
 
SUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer ChelvamSUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
SUG Bangalore - Decoding DXF with Prasath Panneer Chelvam
 
SUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji ViswanadhanSUG Bangalore - Marketing Automation by Aji Viswanadhan
SUG Bangalore - Marketing Automation by Aji Viswanadhan
 
SUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha MuthuswamySUG Bangalore - Sitecore EXM with Jisha Muthuswamy
SUG Bangalore - Sitecore EXM with Jisha Muthuswamy
 
Sugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basicsSugblr sitecore search - absolute basics
Sugblr sitecore search - absolute basics
 
Sugblr problem solving coveo
Sugblr problem solving coveoSugblr problem solving coveo
Sugblr problem solving coveo
 
Sugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecoreSugblr deep dive data exchange framework with sitecore
Sugblr deep dive data exchange framework with sitecore
 
Sugblr sitecore forms
Sugblr sitecore formsSugblr sitecore forms
Sugblr sitecore forms
 
What's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz JamanWhat's new in Sitecore 9 by Kamruz Jaman
What's new in Sitecore 9 by Kamruz Jaman
 
Machine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin MujumdarMachine Learning with Microsoft by Nalin Mujumdar
Machine Learning with Microsoft by Nalin Mujumdar
 
Let's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna GujjulaLet's explore Helix by Gopikrishna Gujjula
Let's explore Helix by Gopikrishna Gujjula
 
Sitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor AuthenticationSitecore with Azure AD and Multifactor Authentication
Sitecore with Azure AD and Multifactor Authentication
 
Sitecore Goals – Why, What & How
Sitecore Goals – Why, What & HowSitecore Goals – Why, What & How
Sitecore Goals – Why, What & How
 
SUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecoreSUGBLR - Dependency injection in sitecore
SUGBLR - Dependency injection in sitecore
 
SUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in SitecoreSUGBLR - Explore working with mongo db in Sitecore
SUGBLR - Explore working with mongo db in Sitecore
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

SUGBLR - Salesforce Integration with Sitecore

  • 1. © KPIT Technologies Limited www.kpit.com SALESFORCE INTEGRATION WITH SITECORE By Amrita Shukla SUG Bangalore
  • 2. © KPIT Technologies Limited Agenda • Sitecore-Salesforce connectors. • Salesforce-Sitecore Integration using Salesforce Connect Module. • Salesforce configurations steps. • Sitecore configurations steps. • Demo: Salesforce Domain & Users in Sitecore User & Domain Manager • Issues/Blockers and the resolutions. SUG Bangalore5/6/20172
  • 3. © KPIT Technologies Limited Major Connectors Available • S4S connector by FuseIT • Salesforce Connect Module by Mr. Adam Conn SUG Bangalore5/6/20173
  • 4. © KPIT Technologies Limited S4S Connecter Features: • The S4S connector integrates Sitecore CMS with Salesforce allowing the seamless exchange of information. With real-time bi-directional communication • Almost any object in either system can be made visible to the other. For example, Salesforce documents can be made accessible on the website to selected users. • Even website login credentials can be stored and controlled in Salesforce contact records. • Among its many uses, S4S lets organizations collect leads from web forms and push the form data, along with Sitecore Experience Analytics, to Salesforce allowing fast and easy qualification. • Auto-add form leads to Salesforce campaigns • Capture web browsing analytics in Salesforce • Better qualify and filter leads - targeted campaigns • Personalize web content from Salesforce Link/s: http://www.fuseit.com/products/sitecore-salesforce-integration/ SUG Bangalore5/6/20174
  • 5. © KPIT Technologies Limited Salesforce Connect Module Features: • Salesforce contacts are exposed as Sitecore users • Sitecore user management tools can be used to create/edit/delete Salesforce contacts • Salesforce contact data is saved in xDB (as a contact facet) • Fully extensible pipeline-based architecture • API that allows you to read from and write to Salesforce • Source code is available Module: https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx Source code: https://github.com/adamconn/sitecore-salesforce-connect SUG Bangalore5/6/20175
  • 6. © KPIT Technologies Limited Capabilities • 1.1.1 Expose Salesforce contacts as Sitecore users Salesforce contact appear in Sitecore as users. This enables the following: Salesforce contacts can be created using the Sitecore API Salesforce contacts can be managed using the Sitecore User Manager Salesforce contacts can log into Sitecore sites Sitecore user profile can be populated with data from Salesforce SUG Bangalore5/6/20176
  • 7. © KPIT Technologies Limited SUG Bangalore 1.1.2 Capture Salesforce contact data in xDB xDB stores Sitecore contact data in facets. If a Sitecore contact is identified as a Salesforce contact, contact data from Salesforce is exposed to Sitecore through a Sitecore contact facet. This makes Salesforce contact data available for Sitecore segmentation and other uses. 1.1.3 Caching In order to minimize the number of API calls Sitecore must make to Salesforce the module makes extensive use of caching. 1.1.4 Multiple Salesforce Accounts Salesforce Connect is compatible with multiple Salesforce accounts. In other words, a single Sitecore instance can have connections to one or more Salesforce accounts. 5/6/20177
  • 8. © KPIT Technologies Limited Full vs Partial Salesforce Support • 1.2.1 Full support Full support requires a package be installed on Salesforce. The installation must be performed by an administrator of your Salesforce environment. Before you install the package Salesforce clearly describes exactly which changes will be made to your Salesforce environment. • 1.2.2 Partial support Partial support does not require an extra package be installed on Salesforce. However, without the extensions included in the package, the following Salesforce Connect functionality is unavailable: A. Sitecore cannot create new Salesforce contacts B. Sitecore cannot authenticate Salesforce contacts SUG Bangalore5/6/20178
  • 9. © KPIT Technologies Limited Salesforce Configurations • Create new connected app for Sitecore • Create a new permission set • Create a new profile • Create a new user SUG Bangalore5/6/20179
  • 10. © KPIT Technologies Limited Sitecore Configurations • Install the Salesforce Connect package in Sitecore • Modify Domains.config to add Salesforce domain. • Modify Web.config to activate and configure switching provider for Salesforce • Modify Sitecore.config to map domain and provider • Modify Sitecore.salesforce.config Note: In previous versions of Sitecore, there were no separate Sitecore.config, the Sitecore.config’s changes for those has to be done in Web.config itself. SUG Bangalore5/6/201710
  • 11. © KPIT Technologies Limited SUG Bangalore5/6/201711 Install Salesforce Connect Package to your Sitecore instance
  • 12. © KPIT Technologies Limited SUG Bangalore5/6/201712 Once the installation of the package is successful, restart either the Sitecore Client or Server
  • 13. © KPIT Technologies Limited Post Installation Below mentioned files/items will get added to the Sitecore instance post installation • Config files: Sitecore.Salesforce.config in include folder • Dlls in bin folder: - Sitecore.Integration.Common.dll - Sitecore.Salesforce.Client.dll - Sitecore.Salesforce.dll • Salesforce contact template and item in core database SUG Bangalore5/6/201713
  • 14. © KPIT Technologies Limited SUG Bangalore Add salesforce domain in the Domains.config file present in App_Config/Security Folder 5/6/201714
  • 15. © KPIT Technologies Limited SUG Bangalore Activate and configure Switching provider for Salesforce by making changes in Web.config 5/6/201715
  • 16. © KPIT Technologies Limited SUG Bangalore Map Domain with Provider for Salesforce 5/6/201716
  • 17. © KPIT Technologies Limited SUG Bangalore Add details into the client node of Sitecore.Salesforce.config present in Include Folder 5/6/201717
  • 18. © KPIT Technologies Limited SUG Bangalore Salesforce domain gets added in the Domain Manager 5/6/201718
  • 19. © KPIT Technologies Limited SUG Bangalore Salesforce contacts can now be viewed as Sitecore Users in User Manager Interface, now we see 28 users in the User Manager Interface in Sitecore 5/6/201719
  • 20. © KPIT Technologies Limited SUG Bangalore Add a new contact in Salesforce, lets say “Mr Salesforce Demo 3” 5/6/201720
  • 21. © KPIT Technologies Limited SUG Bangalore The newly added Salesforce Contact should now be reflected in the User Manager in Sitecore 5/6/201721
  • 22. © KPIT Technologies Limited Issues and troubleshooting 5/6/2017 SUG Bangalore22 • Issue 1: Could not create configuration • Resolution: Please cross check the values you have entered in client element of the Sitecore.Salesforce.config file. It should be correct.
  • 23. © KPIT Technologies Limited SUG Bangalore • Issue 2: Authentication failure 5/6/201723
  • 24. © KPIT Technologies Limited SUG Bangalore Please note that the Salesforce connect module does not work on sandboxes by default, since the sandboxes have URLs starting as test.salesforce.com. This module is by default compatible only with those Salesforce boxes which has the URLs starting with login.salesforce.com as can be seen in the next two slides. Else, despite correct configuration you will get to see an “Authentication Failure” message in the log file. but we can make it work with sandboxes too with a very little effort  5/6/201724
  • 25. © KPIT Technologies Limited SUG Bangalore5/6/201725
  • 26. © KPIT Technologies Limited SUG Bangalore5/6/201726 The login.salesforce.com is set as the TokenRequestUri, as can be seen in the above screenshot.
  • 27. © KPIT Technologies Limited SUG Bangalore Resolution: This module basically reads the information such as Consumer key, consumer secret, username, password, security token from the “Clients” section of the config file. Even the <tokenRequestUri> is configurable, which can be added to “Clients section”. This should be referring to a proper Sandbox URI and then you should be getting the value of it from the configuration file. So in case we are using a salesforce sandbox, we should configure <tokenRequesturi> in the client’s section of the Sitecore.Salesforce.config file and also set the url in the callback url in salesforce as sandbox url. 5/6/201727
  • 28. © KPIT Technologies Limited SUG Bangalore • Issue 3: Installed and configured well, but still Salesforce contacts are not visible in User Manager. You trace the error “An error occurred while sending the request.” in the log file, as shown in the screen shot below: • Resolution: Your Sitecore application is not able to communicate with your Salesforce box. Please contact your Network Security team. It can be because of Firewall, proxy server or an anti-virus preventing the connection from succeeding. 5/6/201728
  • 29. © KPIT Technologies Limited References • www.sitecore.net • https://login.salesforce.com • http://www.fuseit.com/products/sitecore-salesforce-integration/ • https://github.com/adamconn/sitecore-salesforce-connect • https://marketplace.sitecore.net/Modules/Salesforce_Connect_Module.aspx SUG Bangalore5/6/201729
  • 30. © KPIT Technologies Limited Questions SUG Bangalore Contact: shukla.amrita01@gmail.com LinkedIn: https://www.linkedin.com/in/amrita-shukla-53a49180/ Blogs: http://sitecorestudy.com/ 5/6/201730
  • 31. © KPIT Technologies Limited Thank you SUG Bangalore5/6/201731