# Option 3: Buy Sentry Key via Xai Sentry Node CLI (command line interface)

#### After [downloading the Xai Sentry Node CLI](https://github.com/xai-foundation/sentry/releases) (command line interface), you can purchase a Sentry Key using the steps below:

1. Enter the command `mint-node-licenses`. Then hit 'Enter'.
2. Enter a quantity (e.g. 10). Then hit 'Enter'.
3. Enter the private key of the wallet you want to mint the tokens to. Then hit 'Enter'. Note: This wallet is also responsible for purchasing the keys, so make sure it contains sufficient funds in [Arb ETH](/xai-network/about-xai/sentry-key-purchase-and-setup/step-3-complete-requirements-to-accrue-esxai/step-3a-set-up-and-fund-the-sentry-wallet/how-to-obtain-arbitrum-eth.md).
4. Enter a promo code (if you have one). Then hit 'Enter'. Otherwise, leave it blank and hit 'Enter'.
5. Confirm that the specified number of licenses are minted both in the CLI and in your wallet.

{% hint style="info" %}
Below is an example of how these steps appear in the CLI.
{% endhint %}

<figure><img src="/files/ZoblPWr9FtrGDCJSCKJl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xai-foundation.gitbook.io/xai-network/about-xai/sentry-key-purchase-and-setup/step-1-purchase-a-sentry-key/option-3-buy-sentry-key-via-xai-sentry-node-cli-command-line-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
