Our Salesforce app allows you to pull in data from your Salesforce account and display this when you view a ticket, user or organization profile in Deskpro.
Sign into your Salesforce account in another browser tab and go to Setup.
Under Platform Tools, click Apps > App Manager > New Connected App (top right-hand corner).
On that page, fill in the required fields ('API Name' will auto-fill once you have entered a 'Connected App Name').
Check 'Enable OAuth Settings' under the API (Enable OAuth Settings) section. Add 'api' and 'refresh_token' OAuth scopes at least.
The 'Connected app callback URL' should automatically populate in the Deskpro app settings. Copy and paste this into the 'Callback URL' field in Salesforce.
Click 'Save', then 'Continue'. Note that is can take 2-10 minutes before you can use the connected app.
Once the Connected app is created, copy the 'Consumer Key' and 'Consumer Secret' from Salesforce into the installer form on Deskpro.
Click 'Update Settings' and you should get a pop up from Salesforce to authenticate the app. You'll need to allow pop-ups for your Deskpro site if you don't immediately get this pop-up.
Now that the app is installed, you can choose which fields you want to map from Salesforce into Deskpro. Currently you can map data from objects in Salesforce which match the email address of a ticket owner in Deskpro. The data you pull in will be listed in the collapsible app pane.
Select an object which can be mapped using the email address field, such as 'Contact' or 'Lead'.
Double-click on any of the object's fields that you want to display in Deskpro. Your selected fields will populate in a list on the right-hand side.
In the next drop-down, keep 'Ticket' selected to map the data when viewing a ticket in Deskpro.
In the next drop-down, select 'Email', as we will be mapping the email data. Then select 'Ticket Owner Email' in the selection box below.
Click 'Create Field Mapping' > 'Add Object'.