# Creating an Apex API Key

{% embed url="<https://www.youtube.com/watch?v=Na-vR7O4O7E>" %}

On the Apex Website, click on your wallet address in the top right and then go to **API Management**.

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FLvn6WqZ8xgI2r8Md8lfY%2F4219ecfd86d15862c5cc28b55062d409.png?alt=media&#x26;token=c537b754-f161-42c4-8acd-e8310341f2e9" alt=""><figcaption></figcaption></figure>

Click on **Generate API** and type in a name.&#x20;

Enable **Trade** Permission. The key does **not** have withdrawal access for your security.

### IP Access Restrictions <a href="#ip-access-restrictions" id="ip-access-restrictions"></a>

For better key security, you can restrict IP access in the **IP field** and whitelist our server IPs. Hover over the box below and press the 'copy' button on the right to copy the text.

```
13.250.186.60 54.255.0.70 52.74.27.144 3.1.54.33 18.139.173.154 18.139.59.79 54.251.196.206 13.251.217.114 13.250.151.140 3.0.83.35 54.179.128.56 13.228.92.195 13.251.8.54 18.143.211.73 54.255.37.249 54.151.227.132 13.213.228.129 18.142.78.89
```

{% hint style="info" %}
It's important you copy and paste **all** of the IPs. There are 18 in total.
{% endhint %}

Copy the key to the [Terminal API Key input form](https://docs.insilicoterminal.com/documentation/setup/adding-your-api-key-to-the-terminal) or store them securely. Make sure you correctly match the **API Key**, **Secret** and **Passphrase** fields. Back in the Apex modal click on Done.<br>

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FPqp3aimu7sn4MklWGqgh%2Fe63f7ad271143071d84d20e94c2f528a.png?alt=media&#x26;token=17ae8e93-e2b1-44fb-aea7-b7ed92652262" alt=""><figcaption></figcaption></figure>

After that click on **Omni Key** at the top. Copy the key and paste it to the **OMNI Seed** field in the Terminal.&#x20;

<figure><img src="https://1855557010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuzWZkA5631kraBpRETyN%2Fuploads%2FWgnWbTlgXLuaadEHwyTe%2F87a7ea0c3812c88920da02131dadde6d.png?alt=media&#x26;token=0e580fac-fbc8-4d63-980d-868ab28f2ce3" alt=""><figcaption></figcaption></figure>
