@@ -298,15 +298,30 @@ You can read more about Jupyter Notebooks here: https://jupyter.org/
298298### Creating a connected app
299299
3003001 . Log in to salesforce as an admin. In the top right corner, click on the gear icon and go to ` Setup `
301- 2 . In the left hand side, search for "App Manager" and select the ` App Manager ` underneath ` Apps `
302- 3 . Click on ` New Connected App ` in the upper right
303- 4 . Fill in the required fields within the ` Basic Information ` section
304- 5 . Under the ` API (Enable OAuth Settings) ` section:
305- 1 . Click on the checkbox to Enable OAuth Settings.
306- 2 . Provide a callback URL like http://localhost:55555/callback
307- 3 . In the Selected OAuth Scopes, make sure that ` refresh_token ` , ` api ` , ` cdp_query_api ` , ` cdp_profile_api ` is selected.
308- 4 . Click on Save to save the connected app
309- 6 . From the detail page that opens up afterwards, click the "Manage Consumer Details" button to find your client id and client secret
301+ 2 . In the left hand column search for ` oauth `
302+ 3 . Select ` OAuth and OpenID Connect Settings `
303+ 4 . Toggle on ` Allow OAuth Username-Password Flows ` and accept the dialog box that pops up
304+ 5 . Clear the search bar
305+ 7 . Expand ` Apps ` , expand ` External Client Apps ` , click ` Settings `
306+ 8 . Toggle on ` Allow access to External Client App consumer secrets via REST API `
307+ 9 . Toggle on ` Allow creation of connected apps `
308+ 10 . Click ` Enable ` in the warning box
309+ 11 . Click ` New Connected App ` button
310+ 12 . Fill in the required fields within the ` Basic Information ` section
311+ 13 . Under the ` API (Enable OAuth Settings) ` section:
312+ a. Click on the checkbox to Enable OAuth Settings.
313+ b. Provide a callback URL like http://localhost:55555/callback
314+ c. In the Selected OAuth Scopes, make sure that ` refresh_token ` , ` api ` , ` cdp_query_api ` , ` cdp_profile_api ` is selected.
315+ d. Click on Save to save the connected app
316+ 14 . From the detail page that opens up afterwards, click the ` Manage Consumer Details ` button to find your client id and client secret
317+ 15 . Click ` Cancel ` button once complete
318+ 16 . Click ` Manage ` button
319+ 17 . Click ` Edit Policies `
320+ 18 . Under ` IP Relaxation ` select ` Relax IP restrictions `
321+ 19 . Click ` Save `
322+ 20 . Logout
323+ 21 . Use the URL of the login page as the ` login_url ` value when setting up the SDK
324+
3103257 . Go back to ` Setup ` , then ` OAuth and OpenID Connect Settings ` , and enable the "Allow OAuth Username-Password Flows" option
311326
312327You now have all fields necessary for the ` datacustomcode configure ` command.
0 commit comments