--- title: "SetRealmGlobal" slug: "setrealmglobal" updated: 2024-06-28T13:14:48Z published: 2024-06-28T13:14:49Z canonical: "docs.datajet.app/setrealmglobal" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # SetRealmGlobal **PROTOTYPE** Adds or overwrites a realm level variable in the globalManager | Key | Value(s) | Description | | --- | --- | --- | | method | "SetRealmGlobal" | Adds or overwrites a realm level variable in the globalManager | | key | "keyname" | variable name. Required. | | value | "keyvalue"/true/false/N | variable value. Required. Can be string, bool or integer. | NOTE: SetRealmGlobal requires globalManagerRootPath to be configured in djclient.cnfg ```json { "method": "SetRealmGlobal", "key": "a-bool", "value": true, "project": "Demo" } ``` ```json { "method": "SetRealmGlobal", "key": "a-string", "value": "string value", "project": "Demo" } ``` ```json { "method": "SetRealmGlobal", "key": "anOtherFlag", "value": false, "project": "LargeDataSource" } ``` Use GetRealmGlobal to retrieve stored values.