> For the complete documentation index, see [llms.txt](https://usermanual.ergonode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://usermanual.ergonode.com/system/settings/api-keys.md). Agents can also search and read this documentation through its [MCP server](https://usermanual.ergonode.com/~gitbook/mcp).

# API Keys

Create, view or delete GraphQL API keys, optionally limited to one segment of products; a key cannot be changed once created.

{% hint style="info" %}
You can read a bit more about how to use our GraphQL API and read some examples [here](https://docs.ergonode.com/v/graphql-api/).
{% endhint %}

{% hint style="info" %}
Once a key is created it cannot be modified, so if you need to edit it, simply delete the old one and create a new one.
{% endhint %}

{% hint style="info" %}
It's possible to create an API key without a segment to include all products.
{% endhint %}

On the API Keys page, you’ll see an option to create a new API key. Click on ***Add key***. In the ***Add API key*** window, you’ll be asked to provide some information for your new API key.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FI2mqVchGZ0Q93pC9dwdx%2F12bab01fb3cf.png?alt=media&amp;token=52321cb0-b10a-4eb2-9c24-ceff5e41ea7a" alt=""><figcaption></figcaption></figure>

Type a key name, it can be anything. There is an option to limit products that will be available with this key to one of the [segments](https://usermanual.ergonode.com/products/segments). By default for security reasons all keys are read-only, if you need a key with write access, tick the "Allow to write" checkbox. Then click on ***Create***.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FIq3dZ2SaopzOmb7IyrTU%2F8bdaee93dd12.png?alt=media&amp;token=b7f57070-8e1a-43f1-941d-527e7adf1aca" alt=""><figcaption></figcaption></figure>

To delete created key click on \[1] ***bin icon***, or to see the actual key click on \[2] eye icon.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F1NSuTrWMxARwUKJJl5qC%2F3232fdffd5b0.png?alt=media&amp;token=96384fe7-4ad7-489a-a517-d834d9f7aea1" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://usermanual.ergonode.com/system/settings/api-keys.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
