# JavaScript In-line SDK

Akowe Popup provides a simple and convenient payment flow for web. It can be integrated in two easy steps, making it the easiest way to start using Akowe on your website.

The sample HTML and JavaScript below is all you need to get started.

{% tabs %}
{% tab title="HTML + JavaScript" %}
{% code lineNumbers="true" %}

```html
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="https://issuance.akowe.app/sdk/v1.js"></script>
</head>
<body>
    <button onclick="AkoweCreateTemplate('test@test.com');">Open Template</button>
    <button onclick="AkoweIssueCertificates('test@test.com');">Issue Loaded Certificates</button>
</body>
</html>
```

{% endcode %}
{% endtab %}
{% endtabs %}

That is all that is needed to get Akowe running on your website.

The script tag in the header references Akowe's JavaScript in-line SDK.

## Create Template

To create a new template on Akowe that can be used in future to issue certificates, call the function **`AkoweCreateTemplate`** and pass the email attached to your account as argument as seen in line 7 above. This will popup Akowe's template creation tool right on your website. You can follow the prompt, upload your certificate's image and set all paremeters.

{% hint style="info" %}
**Template creation full view**

To get a full overview of how template creation works visually and all you can do, please visit the [dashboard](https://issuance.akowe.app/) and click `Create New Certificate`.
{% endhint %}

## Issue Certificates

To issue certificates visually from your website and watch the progress in real time, call the function **AkoweIssueCertificates** and pass the email attached to your account as argument as seen in line 8 above.

{% hint style="warning" %}
**Before issuing certificates**

Please note that you must call the API endpoint&#x20;

*<https://developer.akowe.app/api/Customer/issuecertificate>*

before you can issue certificates via the popup.

Alternatively, you can use the dashboard to populate the certificates you wish to send, then they will also be available on the popup plugin.
{% endhint %}
