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


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:

      FieldDescription / Example
      CustomerStart typing ACME Inc. and select your customer from the dropdown (the one created in step 1).
      Contract nameEnter a descriptive name, e.g., ACME Inc. Direct Billing Contract.
      Contract periodSet the start and end dates for the contract (e.g., July 01, 2025 to June 30, 2026 for a one-year contract).
      Start billing cycle onChoose the date when billing cycles for this contract should begin (e.g., July 01, 2025).
      CurrencySelect USD.
      Contract renewal policyChoose an appropriate policy (e.g., don't renew automatically for this quickstart).
    • 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.

CPU usage product
  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.

Storage usage product
  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.