> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/standard-apis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/standard-apis/api-docs/javascript/setnagkey.md).

# setNAGKey()

**Method signature**

```javascript
function setNAGKey(nagKey)
```

**Parameters**

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| `nagKey` | string | nagKey      |

**Example**

```javascript
var nagKey = "48656c6c6f2c20576f726c6421";

CircularProtocolAPI.setNAGKey(NAGKey);
```
