> For the complete documentation index, see [llms.txt](https://community.commandersact.com/customer-success/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/customer-success/cookbooks-and-tutorials/consent-management/how-do-i-create-a-cookie-that-is-deposited-after-consent.md).

# How do I create a cookie that is deposited after consent?

## How to proceed

1. Go to the Options tab of TagCommander and select the 'data storage' tab&#x20;
2. Click on the 'add data storage' button&#x20;
3. Name the cookie, attach it to the desired container.&#x20;
4. Set its life span and usage, using the drop-down menus.&#x20;
5. Assign a privacy category to it&#x20;
6. Click on save&#x20;
7. Go to the TagCommander editing step. You can now generate and deploy your container. The cookie is ready to use.

<figure><img src="/files/2R3VBMTeythY8cEfD5oc" alt=""><figcaption></figcaption></figure>

## Downloads

{% file src="/files/0VTg9EyEza3m5AbAVH8O" %}
