# Required components for initializing an ecommerce workflow

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

Guide: Exemption Certificate Management (ECM)

# Required components for initializing an ecommerce workflow

Learn about the essential components needed to initialize an ecommerce workflow in ECM.

Component

Description

Client ID (Company ID)

Identifies your ECM environment. This parameter is passed in the `Get Token` API call.

API documentation may refer to this as the client ID, but it’s listed in the UI as a company ID. Find your company ID in the ECM by going to Settings > Company Details. The company ID can be found in your browser’s address bar when viewing the details page. Alternatively, [find your company ID using an API command](https://developer.avalara.com/avatax/finding-your-companyid/).

Script source URL

-   Production URL: [https://app.certcapture.com/gencert2/js](https://app.certcapture.com/gencert2/js)

-   Sandbox URL: [https://sbx.certcapture.com/gencert2/js](https://sbx.certcapture.com/gencert2/js)

Customer Number

ECM identifies customers by their unique customer number.

ecommerce Token

A token is generated using the `CreateECommerceToken` API. The parameters are passed for each ecommerce SDK initialization.

Note

The generated token expires after 1 hour.

Ship Zone

The state, jurisdiction, or custom exposure zone to which the certificate applies.