1. Home
  2. Docs
  3. Getting Started with Sawfish Plugin
  4. Step 2: Setup the Connected App
  5. Setup the Connected App | Salesforce Lightning

Setup the Connected App | Salesforce Lightning

Select the Setup from the top right.

Once in the Setup page, click on Apps. Select App Manager.

You’ll be in the Lightning Experience App Manager page. Click New Connected App on the top right

This is where we will define the Connected App details

You may enter any name here, let’s enter WordPress Website Plugin Connection

Enter your email in the Contact Email field

We’ll need to set two more fields

First the Callback url – it tells Salesforce where our plugin resides. To get this url link navigate to the plugin page on your WordPress Dashboard.

Copy the Callback URL from the Plugin Page.

Back in Salesforce, in the API section of the Connected App, select the Enable oAuth Settings checkbox. The oAuth section is enabled, paste the Callback URL field.

in the Available oAuth Scopes option pick the api and refresh_token, offline_access scopes.

All Done! Scroll down all the way to the bottom and click Save

After saving you’ll see the confirmation screen, click Continue

The Connected App has been created, you will now see the Consumer Key and Consumer Secret values assigned to our app.

We will use these values to connect to Salesforce from our WordPress site.

In the final step we’ll copy these values to our Plugin and complete the connection.

If you’re interested about knowing more about the workings of Connected App, here’s a link to the Official Documentation from Salesforce

Was this article helpful to you? Yes No