> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dc.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting Up a Percentage Discount Campaign

> Create a coupon code with a percentage discount and validity period

Goal: a code that grants a percentage discount on the order during the campaign period (for example, 10% in summer).

<Steps>
  <Step title="Create a coupon code with value type Percent">
    Open the **Coupon Codes** list, select **New** and fill in **Code** and **Description**. Set the **Value Type** to **Percent**.

    For details, see [Creating Coupon Codes](/docs/en/bc-coupon-codes/user-guide/gutschein-codes-erstellen).
  </Step>

  <Step title="Generate coupon lines">
    In the coupon code, select **Generate Coupon Lines** and define:

    * **Configuration:** for example the prefix `SOMMER-`, the suffix `-25`, the number of random characters and the number of coupon lines. This produces codes such as `SOMMER-X7K-25`.
    * **Coupon Type:** **Discount %**, for example 10.
    * **Conditions:** if required, **From Amount** (minimum order value) and **Max. Number of Uses**.
    * **Validity:** **Start/End Date** for the campaign period.

    Confirm with **OK**. For details, see [Generating Coupon Lines](/docs/en/bc-coupon-codes/user-guide/gutscheinzeilen-erzeugen).
  </Step>

  <Step title="Activate codes">
    Activate the codes directly during generation using the **Activate Generated Coupons** toggle, or later individually via **Release Coupon**.

    <Check>
      The campaign code is ready and can be redeemed in the order.
    </Check>
  </Step>
</Steps>

## Related Topics

<CardGroup cols={2}>
  <Card title="Generating Coupon Lines" icon="wand-magic-sparkles" href="/docs/en/bc-coupon-codes/user-guide/gutscheinzeilen-erzeugen">
    Generate codes automatically.
  </Card>

  <Card title="Orders" icon="cart-shopping" href="/docs/en/bc-coupon-codes/user-guide/bestellungen">
    Redeem a coupon code in an order.
  </Card>
</CardGroup>
