# Understand the basic workflow

Source: https://developer.avalara.com/products/ecm/integration-guides/document-management/rju3820342446164/

Guide: Exemption Certificate Management (ECM)

# Understand the basic workflow

Learn about the required fields and code snippet for your ecommerce integration.

This section provides the code snippet to use with your ecommerce integration. This code snippet includes only the following required fields:

-   `ship_zone`: The state or province to which the exemption certificate applies.

-   `token`: The authorization token that you generated in the previous section.

**Code snippet**

```

     GenCert.init(document.getElementById(&quot;form_container&quot;), {
      ship_zone: &quot;[State, jurisdiction, custom exposure zone]&quot;,
      token: &#39;token generated from your web application server&#39;
    });
   GenCert.show();

```