Service Integration

Trillo applications integrate with several external services such as a credit agency, business verification service, Google Place, document generation service, payment service, email service, etc. We will discuss how we integrate with them in a serverless manner and make use of them in our application code.

The platform has an API Gateway Service as a part of its cluster. This API Gateway supports integration with external services. A service can be imported into the application by merely adding its Swagger file and its definition in a JSON file (security settings mainly). If the service uses OAuth2, the API Gateway transparently manages the life cycle of tokens (“access-token”, “refresh-token”). The server, in turn, publishes API like any other Gateway. Besides, the external APIs become available as callable methods and can be invoked from the serverless functions.