Posts

Showing posts from February, 2013

How to integrate Web Application with Salesforce via Oauth

Image
This tutorial shows you the basic of Oauth. We have created a Java Web Application that authenticates the user to salesforce via Oauth 2.0 and then we have performed few CRUD operation via the new API. Setup: SSL enabled Tomcat Server as we have deployed our Web Application on tomcat. Click here for instruction on How to enable SSL on apache Tomcat 7.0 Salesforce Remote Access Application. Click here for instruction on How to create Remote Access Application on Salesforce? Download the application from here and change the name to Services. Run the Project: Check out the project from the above URL, import into the eclipse and Run as a Server. Navigate your browser to https://localhost:8443/Services . You will see the following page: Click on the link and it will take you the salesforce page for Authentication : Once you are login into salesforce, It will ask you to allow the Oauth_Apps to access your data: ...

How to create Remote Access Application on Salesforce?

Image
Before I'll start with how to create Remote Access Application. First let me explain what is actually Remote Access Application. What is Remote Access Application? A remote access Application is an application external to salesforce that uses the Oauth protocol to verify both the salesforce user and the external data. All remote access applications have been integrated with salesforce, such that they can access a subset of your salesforce data once you explicitly grant each application permission. How to create Remote Access Application? To create an Remote application, You must have your developer account, If you don’t have it then You can create it from here . Step to create your First Remote Access Application: Login to salesforce.com then click Your Name |Create | Apps and click on “new” button. Check below screenshot :     When you click on new button, you will see a page like this: Enter the name of the Application. This i...