# Add field in client settings

**URL:** <https://forum.keycloak.org/t/add-field-in-client-settings/7861>\
**Category:** Configuring the server\
**Tags:** authentication, client-configuration\
**Created:** [March 10, 2021, 5:29pm UTC](https://forum.keycloak.org/t/add-field-in-client-settings/7861 "2021-03-10T17:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theanandankit](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/theanandankit/32/2355_2.png) [@theanandankit](https://forum.keycloak.org/u/theanandankit)\
**Post date:** [March 10, 2021, 5:29pm UTC](https://forum.keycloak.org/t/add-field-in-client-settings/7861/1 "2021-03-10T17:29:32Z")

</div>

Hello everyone, how can I add oneadditional field in client setting page so that i can store some data for every client or is there some other way to store some data and i also want to get this data in client REST API?

Thank you

---

<div class="post-metadata">

**Author:** ![jangaraj](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jangaraj/32/5175_2.png) [@jangaraj](https://forum.keycloak.org/u/jangaraj)\
**Post date:** [March 10, 2021, 8:06pm UTC](https://forum.keycloak.org/t/add-field-in-client-settings/7861/2 "2021-03-10T20:06:19Z")

</div>

Use client attributes and customize `client-detail.html` template. SAML config options use client attributes, so just mimic them.

But nothing stopping you to use Admin REST API (even without template modification). Client model has `attributes`, where you can save whatever you want (just use unique key, which will not collide with another Keycloak keys), e.g.:

```auto
{
...
"attributes": {
  "my-unique-key": "data which I want to save"
},
...
}

```

If you don’t understand, just create some SAML client, export it and check exported json client model to see how attributes are used.

---

<div class="post-metadata">

**Author:** ![theanandankit](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/theanandankit/32/2355_2.png) [@theanandankit](https://forum.keycloak.org/u/theanandankit)\
**Post date:** [March 11, 2021, 7:02am UTC](https://forum.keycloak.org/t/add-field-in-client-settings/7861/3 "2021-03-11T07:02:10Z")

</div>

@jangaraj Thanks, one last thing i want to ask, Can i save this client attributes value via Keycloak Admin Console or any override method that i can use in standalone module?

---

<div class="post-metadata">

**Author:** ![fgarcia5](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@fgarcia5](https://forum.keycloak.org/u/fgarcia5)\
**Post date:** [May 23, 2024, 2:35pm UTC](https://forum.keycloak.org/t/add-field-in-client-settings/7861/4 "2024-05-23T14:35:33Z")

</div>

Hello everyone. I am reactivating this thread to ask if there is any solution yet to this requirement you raise.
