---
title: Create a configuration rule in the dashboard · Cloudflare Rules docs
lastUpdated: 2025-04-15T14:19:01.000Z
source_url:
  html: https://77261bbd.preview.developers.cloudflare.com/rules/configuration-rules/create-dashboard/index.md
  md: https://77261bbd.preview.developers.cloudflare.com/rules/configuration-rules/create-dashboard/
---

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.

2. Go to **Rules** > **Overview**.

3. Select **Create rule** > **Configuration Rule**.

4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.

5. Enter a descriptive name for the rule in **Rule name**.

6. Under **When incoming requests match**, select if you wish to apply the rule to all incoming requests or only to requests that match a custom filter expression.

7. (Optional) To define a custom expression, use the Expression Builder (specifying one or more values for **Field**, **Operator**, and **Value**) or manually enter an expression using the Expression Editor. For more information, refer to [Edit expressions in the dashboard](https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/edit-expressions/).

8. Under **Then the settings are**, add the [configuration settings](https://developers.cloudflare.com/rules/configuration-rules/settings/) you wish to change for requests matching the rule expression.

9. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**.

   If you are matching a hostname in your rule expression, you may be prompted to create a proxied DNS record for that hostname. Refer to [Troubleshooting](https://developers.cloudflare.com/rules/reference/troubleshooting/#this-rule-may-not-apply-to-your-traffic) for more information.
