Integration examples
Selection of complete Landing SDK integration examples
Integration Low Code via Client SDK
Simple implementation that will load the related Landing SDK associated with the apiKey with the configuration provided in the method callLanding.
Once the Flow is completed, it will send the data to the address calbackPath indicated, and it will be enough to continue or direct the client's business logic from there.
const landingSDK = new LandingSDKClient('YOUR_APIKEY', {
uniqueUrl: true
});
landingSDK.callLanding({
customerId: '[email protected]',
documentNumber: '1234567A',
callbackPath: 'https://url-callback-example.com/api/onboarding'
});Integration No Code Landing SDK through a direct URL.
The Facephi team will provide an address with the Landing SDK already operational and preconfigured, which will automatically redirect to the address previously specified by the user.
<button type="button" onclick="goToLanding()">Register</button>
<script>
// Custom method to navigate to SDK Landing
function goToLanding() {
navigate('https://facephi-landing-url.com');
}
</script>Integration via embedded form
The Landing SDK will be called from a form in which the data to be sent will be entered.
Landing SDK via Rest API
The Landing SDK page request will be made from a backend request.
Last updated