🚀 Quick Start Guide – Akowe Template SDK
The Akowe Template SDK lets you build and edit certificate templates with a drag-and-drop editor inside your own app.
1. Include the SDK
Add the SDK script to your page:
<script src="https://issuance.akowe.app/sdk"></script>2. Initialize the SDK
<script>
const certApp = new CertificateSDK({
onCreateCompleted: (data) => {
console.log("Template created:", data);
// send to Template Create API
},
onEditCompleted: (data) => {
console.log("Template edited:", data);
// send to Template Edit API
},
onError: (err) => {
console.error("SDK Error:", err);
},
onClose: () => {
console.log("User closed the modal");
},
});
</script>3. Create a Template
👉 Opens the drag-and-drop editor.
👉 Returns template JSON via onCreateCompleted.
4. Edit a Template
👉 Loads an existing template.
👉 Returns updated JSON via onEditCompleted.
5. Close the Modal
6. Send Data to API
Once you get the template JSON from the SDK, send it to the API:
✅ That’s it! In just a few lines, you can create, edit, and manage templates inside your own app.
Last updated