HTML and JavaScript Integration for Financing Onboarding Button
Basic Integration
Here's a basic example of integrating Tento's Financing Onboarding button into your HTML page:
<!DOCTYPE html>
<html>
<head>
<title>Tento Financing Integration</title>
<script src="https://scripts.tento.co/embed/embedded.min.js"></script>
</head>
<body>
<!-- Button for Financing Application -->
<button id="financing-button">Apply for Business Financing</button>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.getElementById('financing-button').addEventListener('click', () => {
window.Tento.loadFinancingWidget({
data: {
financing_amount: 50000,
financing_terms: 24,
business_name: 'ACME Corp',
owner_1_first: 'John',
owner_1_last: 'Doe'
}
});
});
});
</script>
</body>
</html>