Full Example
This is a simple index.html file example
the highlight lines (marked with dark gery) indicates the rows you need to add to your app
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Minta Button Example</title>
<script src="https://minta-button.withminta.com/bundle.js"></script>
</head>
<body>
<button id="target-id"></div>
<script>
window.minta.init({ apiKey: "YOUR_API_KEY", targetElementId: "target-id" })
</script>
</body>
</html>