You need to sign in to do that
Don't have an account?

What are the steps to Integrate Salesforce with assembla
I am newbie to Salesforce.
What I want to do is to integrate salesforce with assembla
The scenario is like whenever a case is created I need to call my REST API ( developed in JAVA ) which will call the Assmebla API.
I want to know what are the steps I need to follow to do this ?
Thanks
You should have a look at trailhead (https://developer.salesforce.com/fr/trailhead/force_com_programmatic_beginner/apex_triggers/apex_triggers_intro).
Also refere to https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts.htm.
Depending of what you have to do it should helps you.
Regards,
Fred
All Answers
You should have a look at trailhead (https://developer.salesforce.com/fr/trailhead/force_com_programmatic_beginner/apex_triggers/apex_triggers_intro).
Also refere to https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts.htm.
Depending of what you have to do it should helps you.
Regards,
Fred
Hi,
Thats really helpful.
But can you please tell me by using triggers and using apex callout is only way to connect with external APIs or is their any other than this to achieve this ?
Thanks
Of course not. You can use callout at least everywhere Apex is allowed.
This paper may help you understanding Apex Web Service integration https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts.
Also, notice you can have callout from Visualforce pages. For example have a look here http://elierodrigue.com/tag/visualforce/ or here http://saramorgan.net/2013/07/17/visualforce-controller-extensions-and-custom-controllers/ for something about custom controllers.
Which layer you decide to use callout depends of what you have to do (enrich user interface with external data? get external data before upsert? push data to legacy? and son on...)
Don't forget to mark this subject as Solved to help anyone if you're satisfied with the answers and encourage people with Like or Best answer tag ;)
Hope this helps.
Fred
Thanks for your answer Frédéric.
It solved my problem.
Currently I think I need to use Triggers and Callouts, both.
I will go through links you mentioned once again.
Thanks