2. Create the Endpoint
You have to open the Anypoint Studio and pick an endpoint (e.g HTTP).
Once you select the endpoint you have to configure it. Below screenshot will give your
reference for the same.
The endpoint needs to be configured by providing the path and port.
3. Configure the Salesforce account
Before using the salesforce component you should have a salesforce
account.
Once you login with your credentials you will get a security token which
will be used while configuring the salesforce component.
After logging in to salesforce website go to account tab and click on
create view tab. You can add your own choice of fields from the list.
The fields you select would be visible in the default data set available
on salesforce website.
4. Configuring Salesforce component
Provide the security token you would have received in mail.
Configure the salesforce component as mentioned below with correct credentials.
Once you provide the required input just test the connection.
You can provide a query about the fields you want to see in the resultset. The data is being
retrieved from default data available in your salesforce account.
5. Configuring Salesforce
component. Contd..
Complete your flow by putting an Object to JSON component so that you can see the results in
a readable format.
Run the flow by calling the path and port you have mentioned in HTTP endpoint.