# How do I add a default user metadata to a new user on first login?

**URL:** <https://community.auth0.com/t/how-do-i-add-a-default-user-metadata-to-a-new-user-on-first-login/61541>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [April 22, 2021, 7:45am UTC](https://community.auth0.com/t/how-do-i-add-a-default-user-metadata-to-a-new-user-on-first-login/61541 "2021-04-22T07:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanoop.p](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sanoop.p/32/12846_2.png) [@sanoop.p](https://community.auth0.com/u/sanoop.p)\
**Post date:** [April 22, 2021, 7:45am UTC](https://community.auth0.com/t/how-do-i-add-a-default-user-metadata-to-a-new-user-on-first-login/61541/1 "2021-04-22T07:45:12Z")

</div>

Hi,  
I wanted to add some user metadata when a user first time login into our application.  
How do I add rule for that.

Thanks in advance for your support.

With best Regards,  
Sanoop

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 22, 2021, 5:12pm UTC](https://community.auth0.com/t/how-do-i-add-a-default-user-metadata-to-a-new-user-on-first-login/61541/3 "2021-04-22T17:12:47Z")

</div>

Hi @sanoop.p,

Welcome to the Community!

This doc shows how to add metadata to a user in a rule.

> **[Manage Metadata with Rules](https://auth0.com/docs/manage-users/user-accounts/metadata/manage-metadata-rules)**
>
> Learn how to manage with app metadata, user metadata, and client metadata using Rules.

You can see if it exists for your user, if not, then add it. Would that flow work for you?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 7, 2021, 5:13pm UTC](https://community.auth0.com/t/how-do-i-add-a-default-user-metadata-to-a-new-user-on-first-login/61541/4 "2021-05-07T17:13:07Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
