# Generate a token

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

Guide: Exemption Certificate Management (ECM)

# Generate a token

Learn how to generate an authorization token for the ecommerce plugin using the AvaTax API.

Before you can launch the ecommerce plugin, you need to send an API call to request an authorization token. Generate a separate authorization token for each customer. Generate this token using the AvaTax API:

-   AvaTax: Refer to the [Create ecommerce Token documentation](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/ECommerceToken/CreateECommerceToken/). Use an AvaTax username and password to authenticate.

Try generating the token and combining it with various parameters at the [ecommerce Plugin Demo](https://developer.avalara.com/certcapture/cert-demo/) on developer.avalara.com. Alternatively, you can use an API client such as [Postman](https://www.postman.com/) to send the API call. Once the token is created, place the returned token value for that customer record in the token field in the ecommerce SDK code.