This is the last entry in a 4–part series. Here are links to the first three:
Part 1: Create Your Own REST API Endpoints in Salesforce Using Apex REST
Part 2: Generate a New Certificate with OpenSSL for Use with Salesforce Connected App
Part 3: Create a Connected App in Salesforce as Your Apex REST API Gateway
We’ve done all the preliminary work to allow an external app to connect to our Sales force org, via the REST API endpoints that we have setup (If you haven’t been following along, checkout the earlier parts using the links above). All we…
This entry is part three of a four-part series on “How to Create Your Own REST Endpoints in SalesForce and Consume Them From an External Application.” Here are links to parts 1 and 2:
In this installment, let’s explore how to create a new Connected App in Salesforce to serve as the Gateway into our org to external client apps that will be using the APIs we created.
From the Setup App, search…
OpenSSL is a free set of tools that lets you, among other things, create a TLS certificate. You can find out more about this project by visiting their website at openssl.org. I wrote this post as part of my series on “Creating API Endpoints in Salesforce”. This is Part 2 in that series. If you’re interested in that sort of thing, you can checkout Part 1 here: Create Your Own REST API Endpoints in Salesforce Using Apex REST. If you’re simply here to figure out how to generate a TLS (previous known as SSL) certificate using OpenSSL, carry on.
Apex REST allows one to create REST API endpoints within their Salesforce orgs that can then be consumed by outside applications. To create a new API endpoint, first create an Apex class. You can do so by utilizing the Developer Console.
Open the Developer Console by clicking on the gear icon and then selecting “Developer Console”
Create a new Apex Class by selecting File > New > Apex Class