Fonteva offers the ability to connect your application to External Apps through the use of API Services and associated configuration. The following is a guide to creating and implementing integrations for outgoing API calls.

Features include:

  • Support of multiple standard Authentication types.
  • Support for Authentication types that require custom code.
  • Grouping data within a single API call.
  • Configure custom connections in order to override defaults. 
  • Automatic creation of ReST Endpoints.
  • Look up of JSON data within nested objects.
  • Mapping relationships between two sObjects in your Fonteva app.
  • Trigger automatic updates to an External Application.


For Incoming API Calls

All API endpoints intended to receive incoming API calls must follow Salesforce's Authentication Model. See Understanding Authentication for more information.



API Services allow users to create connections to External Applications. You can access this function via the Spark Admin Dashboard 

  

API Services are used to hide sensitive data from end users to ensure that data remains secure. 

Before You Begin

You must add a Remote Site Setting in Salesforce before any API Service can make an Outgoing call. See Adding Remote Site Settingsfor more information.

Scenario: Connecting Twitter to Your Fonteva App

Fonteva creates wrappers within the code to include the parameters entered in the models. Instead of having to code things yourself, this makes your experience developing Fonteva applications more efficient.

As an example, we will build an integration with Twitter that brings tweets into our database based on a value entered into Twitter's search field. Each screenshot includes the parameters needed to connect Twitter using the UI. At the bottom of each page, a code snippet is included that in order help you understand what is going on in the code of your Fonteva app. 

See the Full Twitter Scenario for the complete example.

Continue to Setting Up a New API Service