> 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/php/setnagkey.md).

# setNAGKey()

**Method signature**

```php
public function setNAGKey($NAGKey)
```

**Parameters**

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

**Example**

```php
<?php
require 'vendor/autoload.php';
use CircularProtocol\Api\CircularProtocolAPI;

$circular = new CircularProtocolAPI();
$text = "your_nag_key";

$circular->setNAGKey($text);
```
