> For the complete documentation index, see [llms.txt](https://docs.tallymarks.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tallymarks.io/getting-started/creating-your-first-rule.md).

# Creating Your First Rule

Setting up a rule is a 5 step proces&#x73;**.**  In this example we are going to set up an action rule that rewards 5 points when an action with a name space "Customer.Registration" is received from the platform.

Create a new rule by clicking "Add Rule" in the TallyMarks Console.

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1EyQvpALemaqqnVoGJ%2Fimage.png?alt=media&amp;token=5ce8982c-bcac-4393-9f22-a900aa515ac7" alt=""></div>

### **Step 1: Give your rule a name and description**

Give the rule a name and a description.

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1Ezoq8A8mI4igsKhiA%2Fimage.png?alt=media&amp;token=ca4ee5ab-fa42-4631-a61f-c5dc35577691" alt=""></div>

### **Step 2: Select an event type**

Select the "[Action](/key-concepts/events/actions.md)" Event Type.  For more information on Event Types see [Events](/key-concepts/events.md)

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1Eynb0Njbc04togd36%2Fimage.png?alt=media&amp;token=24e6c20c-4d1c-4080-8dde-42404c94d461" alt=""></div>

### **Step 3: Specify rules to assess the event**

Specify the rules to assess the event.  For more information on what criteria are available for configuration see [Assessment Criteria](/getting-started/creating-your-first-rule/assessment-criteria.md).

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1Ez-f1FYs4rIvxQd5n%2Fimage.png?alt=media&amp;token=5398d7c9-3b19-4181-bae9-53bd2781b4d7" alt=""></div>

### **Step 4: Specify one or many fulfilment actions if the event matches**

Specify the fulfilment actions that will take place if an Action event meets the assessment criteria configured in set 3.  For more information on the available fulfilment actions see [Fulfilment Actions](/getting-started/creating-your-first-rule/fulfilment-criteria.md).

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1Ez8h0jc3GpD3Hc-_I%2Fimage.png?alt=media&amp;token=013b7719-0071-43f3-8e83-ddf199134d73" alt=""></div>

### **Step 5: Set the rule status and date range it applies too.**

Configure the Status of the Rule and the Date Range the Rule applies.

<div align="left"><img src="https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1EzFImE6AYwrMXQXWv%2Fimage.png?alt=media&amp;token=1af9b5fa-f734-4efc-b717-a14723746e4c" alt=""></div>

### **Save**

Click "Save (Active)" and Confirm the modal dialog:

![](https://527556519-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LnbdMPh8vQZwG2bYg6f%2F-M1Eh6v30N217-JT0Ojo%2F-M1EzdSPcDjDWrDw_QEC%2Fimage.png?alt=media\&token=cd0ba05e-04e6-4a69-8654-26166507926d)

:white\_check\_mark: You have created your first rule.
