This tutorial shows how to use the volume-based discount Smart Clause® to use a smart legal contract to calcualte a percentage discount, based on the volume of usage of a service.

No programming is required and the tutorial should only take you a few minutes.

Create a new contract

Create a new contract (either starting with a blank contract or by upload a Word or PDF document.

Add the volume discount smart clause

Press the Add Clause button and select the volume-discount advanced Smart Clause.

Copy the Trigger URL and Bearer token from the Triggers for the smart clause to the clipboard.

Open volume discount demo application:

https://clause-volume-discount-demo.netlify.com

Paste the Trigger URL and Bearer token into the demo user interface for the smart clause, adjust the volume using the slider and then press the Add button to add a volume reading. The smart clause will be triggered and will compute the volume discount based on the reading.