# API Keys

{% hint style="info" %}
You can read a bit more about how to use our GrpahQL 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 it. You’ll be asked to provide some information for your new API key.&#x20;

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FL85o2OejZsbY6FHYuLPu%2Fimage.png?alt=media&#x26;token=f8626ae8-3a76-46cf-a6b1-6bfb6830d2fb" alt=""><figcaption><p>System > Settings > API Keys - window</p></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.&#x20;

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FiiANqSznne4MW6BeyLSg%2Fimage.png?alt=media&#x26;token=86889b3b-c49b-4153-b80c-24b2c8921aeb" alt=""><figcaption><p>Add API key window</p></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%2Fo632YdPFIuCmJtrGPHct%2Fimage.png?alt=media&#x26;token=2bb02e8d-86db-4d37-9692-d2bd3ccc4b3f" alt=""><figcaption><p>List of API keys</p></figcaption></figure>
