Step 4: Create contract and add products
This step involves creating the contract for your customer and then directly adding and configuring the specific products (CPU and storage) with their usage-based pricing within that contract.
Prerequisites
Contracts
A contract in Zenskar is a structured digital representation of a commercial agreement between you and your customer.
Products
A product in Zenskar is a structured, reusable representation of a good or service offered by your business.
Create the basic contract
- Log in to your Zenskar dashboard.
- Navigate to the Contracts > Contracts.
- Click + ADD NEW CONTRACT.
- You will see the Create Contract. Fill in the contract details:
-
Get started with a plan (optional): Leave this empty, as we will add products manually.
-
Contract information:
Field Description / Example Customer Start typing ACME Inc.
and select your customer from the dropdown (the one created in step 1).Contract name Enter a descriptive name, e.g., ACME Inc. Direct Billing Contract
.Contract period Set the start and end dates for the contract (e.g., July 01, 2025
toJune 30, 2026
for a one-year contract).Start billing cycle on Choose the date when billing cycles for this contract should begin (e.g., July 01, 2025
).Currency Select USD
.Contract renewal policy Choose an appropriate policy (e.g., don't renew automatically
for this quickstart). -
Optional: Add description, tags, or custom attributes if needed.
-
- Once all the required fields are filled, click PROCEED to create the contract.
Add and configure products within the contract
Zenskar will navigate you to the newly created contract's summary page. This page provides an overview and allows you to add and configure products.
Now, you will manually add and define the pricing for your compute and storage products.
CPU usage product
-
Click the "ADD PRODCUT" button.
-
This will open the "Add Product" modal dialog.
-
In this modal, select + CREATE NEW PRODUCT.
-
You will then see the Create Product form:
- Product name: Enter
Compute Usage
. - (Optional: Fill in
description
,SKU
,tax code
, orcustom attributes
if needed).
- Product name: Enter
-
Click "SAVE & PROCEED".
-
You will be returned to the "Add Product" modal, with your new product (
compute
) selected. Now, under Pricing Details, click + ADD PRICE. -
This action will lead you to the **Add Pricing Details" form.
-
Pricing Model: Select
per unit
.- Currency:
USD
. - Price: Enter
0.05
.
- Currency:
-
Usage: Select Metered.
- Billable metric: Select
Total CPU Hours
(the metric you defined in step 3). - Unit: Enter
per CPU hour
.
- Billable metric: Select
-
Billing Cadence: Select
recurring
,every 1 month
. -
Click CONFIRM.
Storage usage product
-
Click the "ADD PRODCUT" button.
-
This will open the "Add Product" modal dialog.
-
In this modal, select + CREATE NEW PRODUCT.
-
You will then see the Create Product form:
- Product name: Enter
Storage Usage
. - (Optional: Fill in
description
,SKU
,tax code
, orcustom attributes
if needed).
- Product name: Enter
-
Click "SAVE & PROCEED".
-
You will be returned to the "Add Product" modal, with your new product (
compute
) selected. Now, under Pricing Details, click + ADD PRICE. -
This action will lead you to the **Add Pricing Details" form.
-
Pricing Model: Select
per unit
.- Currency:
USD
. - Price: Enter
0.05
.
- Currency:
-
Usage: Select Metered.
- Billable metric: Select
Total Storage GB-Months
(the metric you defined in step 3). - Unit: Enter
per GB-Month
.
- Billable metric: Select
-
Billing Cadence: Select
recurring
,every 1 month
. -
Click CONFIRM.
Once both products are configured, your contract is fully set up for usage-based billing.
Updated 25 days ago