# KEEP Create a required purpose for necessary cookies

The ePrivacy directive allows certain cookies to be exempted from the requirement of consent, provided that they satisfy one of the following criteria:

✅ The cookie is used “for the sole purpose of carrying out the transmission of a communication over an electronic communications network”.

✅ The cookie is “strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service”.<br>

\
Note, this is not an exemption from the obligation of information, and your Privacy/cookies Policy must inform users about the use of such cookies .

Didomi enables you to create a **required** purpose for these necessary cookies that the user cannot refuse.\ <br>

Steps for creating a **Required** purpose:

<br>

#### **1. Create a custom purpose for necessary cookies.**

To create a purpose, please refer to [our documentation.](https://support.didomi.io/create-a-custom-purpose-new-flow)\ <br>

#### **2. Link your purpose to a vendor**

To create a vendor, please refer to [our documentation](https://support.didomi.io/create-a-vendor-new-flow).\ <br>

1.

#### **3. Mark your purpose as "required"** <br>

1. Select your notice.
2. Go to the section called **1.** **Regulations** and the **Regulations** tab . **(2)**
3. Click on **Edit Vendors & Purposes** in the blue box next to each regulation **(3)** :\ <br>

![](https://support.didomi.io/hs-fs/hubfs/image-png-May-06-2025-09-19-05-1767-AM.png?width=2686\&height=896\&name=image-png-May-06-2025-09-19-05-1767-AM.png)\
\
4\. Select the vendor you created earlier in the vendors list.5. Scroll down to the **Purposes** section and look for the custom purpose you created earlier. \
\
![Screenshot 2023-03-13 at 09.53.34](https://support.didomi.io/hs-fs/hubfs/Screenshot%202023-03-13%20at%2009.53.34.png?width=688\&height=153\&name=Screenshot%202023-03-13%20at%2009.53.34.png)\
\
6\. Check the box "**Define as essential**" to make your purpose **Required**.\
\
![Screenshot 2023-03-13 at 09.53.47](https://support.didomi.io/hs-fs/hubfs/Screenshot%202023-03-13%20at%2009.53.47.png?width=688\&height=50\&name=Screenshot%202023-03-13%20at%2009.53.47.png)\
\
7\. Your purpose will be **REQUIRED** in the Preferences view (i.e., Purposes layer) of your consent notice, and the user will not be able to reject the vendor linked to this purpose.\
\
![](https://support.didomi.io/hs-fs/hubfs/Knowledge%20Base%20Import/downloads.intercomcdn.comio213052423c8709f06ab34b09ec5917a6crequiredddd+\(1\).png?width=554\&name=downloads.intercomcdn.comio213052423c8709f06ab34b09ec5917a6crequiredddd+\(1\).png)\
\
Don't forget to click on **SAVE & PUBLISH** when you are done!
