Skip to main content
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

  1. Log in to your Zenskar dashboard.
  2. Navigate to the Contracts > Contracts.
  3. Click + ADD NEW CONTRACT.
  4. 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:
    • Optional: Add description, tags, or custom attributes if needed.
  5. 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.
  1. Click the “ADD PRODCUT” button.
  2. This will open the “Add Product” modal dialog.
  3. In this modal, select + CREATE NEW PRODUCT.
  4. You will then see the Create Product form:
    • Product name: Enter Compute Usage.
    • (Optional: Fill in description, SKU, tax code, or custom attributes if needed).
  5. Click “SAVE & PROCEED”.
  6. You will be returned to the “Add Product” modal, with your new product (compute) selected. Now, under Pricing Details, click + ADD PRICE.
  7. This action will lead you to the **Add Pricing Details” form.
  8. Pricing Model: Select per unit.
    • Currency: USD.
    • Price: Enter 0.05.
  9. Usage: Select Metered.
    • Billable metric: Select Total CPU Hours (the metric you defined in step 3).
    • Unit: Enter per CPU hour.
  10. Billing Cadence: Select recurring, every 1 month.
  11. Click CONFIRM.
  1. Click the “ADD PRODCUT” button.
  2. This will open the “Add Product” modal dialog.
  3. In this modal, select + CREATE NEW PRODUCT.
  4. You will then see the Create Product form:
    • Product name: Enter Storage Usage.
    • (Optional: Fill in description, SKU, tax code, or custom attributes if needed).
  5. Click “SAVE & PROCEED”.
  6. You will be returned to the “Add Product” modal, with your new product (compute) selected. Now, under Pricing Details, click + ADD PRICE.
  7. This action will lead you to the **Add Pricing Details” form.
  8. Pricing Model: Select per unit.
    • Currency: USD.
    • Price: Enter 0.05.
  9. Usage: Select Metered.
    • Billable metric: Select Total Storage GB-Months (the metric you defined in step 3).
    • Unit: Enter per GB-Month.
  10. Billing Cadence: Select recurring, every 1 month.
  11. Click CONFIRM.
Once both products are configured, your contract is fully set up for usage-based billing.