Last modified by jhurst on 2021/04/21 10:01

Show last authors
1 **Configuration : Creating a connected Salesforce application + getting Salesforce URL server + Consumer key + Consumer secret**
2
3 {{ddtoc/}}
4
5 = Context =
6
7 This document explains how to get authentication information that Digdash needs to connect to your Salesforce account.
8
9 We need the following information:
10
11 * URL serveur Salesforce
12 * Clé consommateur
13 * Secret consommateur
14
15 Note: the Salesforce version may vary grom a user to another. The following instructions might not exactly correspond to the version the user is using.
16
17
18 = Prerequisites =
19
20 * A Salesforce account
21
22 = Salesforce server URL =
23
24 It is the domain name you chose at the creation of your Ssalesfroce account. It is indicated in you address bar.
25
26 It is in the following form:
27
28 https:~/~/{instanceDomain}.salesforce.com:{port}/...
29
30 with {instanceDomain} your own instance domain
31
32 and {port} the listening port.
33
34 = Consumer key and Consumer secret =
35
36 So Digdash can access to your Salesforce date, you need to create an entry point, creating a connected application in Salesforce.
37
38 At the end of this procedure, you will need to note two piecces of information that Digdash needs:
39
40 * The consumer key
41 * the consumer secret
42
43 == Creating a connected application in Salesforce ==
44
45 * Authenticate in Salesforce.
46 * Click on **Setup** in the upper right, next to your account name.
47
48 [[image:salesforce_connector_config_en_html_748f09a1738ee2ae.gif]]
49
50
51
52 * In the left side bar, go to **Build** > **Create** > **Apps**. In the **Connected Apps** category, click on **New**.
53
54 __[[image:salesforce_connector_config_en_html_9b32b01f91c795e7.png]]__
55
56
57 * Enter the required basic information (**Connected App Name**, **API Name** and **Contact Email**).
58 * Select **Enable OAuth Settings** under **API (Enable OAuth Settings).**
59
60 __[[image:salesforce_connector_config_en_html_3e0e39a744390ce0.png]]__
61
62
63
64 * Enter your callback URL (use the helper)
65 * Add **Provide access to your data via the Web (web)** to the **Selected OAuth Scopes **column
66 * Click **Save**.
67
68 [[image:salesforce_connector_config_en_html_423318772bc5b265.png]]
69
70
71 == Getting the Consumer key and the Consumer secret ==
72
73 Once your app is registered, the page will diplay your **Consumer Key** and **Consumer Secret**:
74
75 [[image:salesforce_connector_config_en_html_55017a9640beef4b.png||height="243" width="554"]]
76
77
78 Copy your Consumer Key and Consumer Secret to enter in Digdash.
79
80
81