# How to create and setup Poloniex API key

In this article, we will show you how to create, configure, and connect your Poloniex API key to the Darkbot platform.\
\
**DarkBot** is a trading platform that allows you to work with numerous cryptocurrency exchanges from a unified interface with access to additional tools that are not available on the exchange.

All trading operations are created and processed by using an exchange API key which is unique for every user. An **API key** is a safest and reliable way to use a platform because it does not give access to your personal data and prevents any funds management (withdrawals & deposits).

#### 1. Log in to [Poloniex](https://poloniex.com/)

Log in to your Poloniex account or create a new one.

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FAFNdEP2rhKVNWIrBQ28q%2FScreenshot_21.png?alt=media&#x26;token=14e2f532-a637-4d03-961e-3560c060bc9e" alt="Login button on the Poloniex.com"><figcaption><p>Login button on the Poloniex.com</p></figcaption></figure>

#### 2. Go to API Keys page

From your account settings (top-right corner) navigate to **Profile**.

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FgDx0pMM8rEwerIpUJ1B1%2Fimage.png?alt=media&#x26;token=3b016538-1a8e-45e8-900f-69d387c15da6" alt="How to go to the Profile page"><figcaption><p>How to go to the Profile page</p></figcaption></figure>

And now it is necessary to select the **API keys** tab.

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FohwYsSBWcWc1wyZT7CJ9%2Fimage.png?alt=media&#x26;token=4ec230de-f5d5-44fe-80e0-0a9bf044bf87" alt="How to select API Keys tab"><figcaption><p>How to select API Keys tab</p></figcaption></figure>

#### 3. Enable API access

To enable **API access**. It is necessary to toggle the switch in the upper left corner.

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FWzL0faYVyThEkNHf3zbt%2Fimage.png?alt=media&#x26;token=bf211e05-45a5-43fc-8064-fc183d54ee21" alt="How to enable API access"><figcaption><p>How to enable API access</p></figcaption></figure>

#### 4. Create new API key

To create a new API key, click on \[**+ Create API]** (on the right side).&#x20;

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2F99pAeEZ9CacQoIlJGm3t%2Fimage.png?alt=media&#x26;token=6db5e261-0ba8-42b1-a2a4-20a65695d40f" alt="How to create API key"><figcaption><p>How to create API key</p></figcaption></figure>

#### 4. Setting permissions

In the pop-up that opens, you must configure the permissions for the API keys.<br>

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2F4ZYRojhG7lt19bUTGibN%2Fimage.png?alt=media&#x26;token=3fe87374-d353-4a71-bbf7-53a610ddad6e" alt="Configuring permissions"><figcaption><p>Configuring permissions</p></figcaption></figure>

Here is the list of required permissions:

1. Trading **on**
2. Witchdrawals off (disabled by default)
3. Select "Unrestricted (less secure, not recommended): This API key allows access from any IP address" under "Restrict access by IP"
4. When ready, click **\[Next]**

#### 5. Passing the verification

In the new pop-up, you need to verify by email and using an authenticator (if it is connected to your account).

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FZvmGR6JuIPHNNo7xjRgB%2Fimage.png?alt=media&#x26;token=a82ab36f-98bb-4d55-9823-397309e91f7d" alt="Passing verification"><figcaption><p>Passing verification</p></figcaption></figure>

List of necessary actions:

1. Click **\[Send code] >** Go to email and open email from Poloniex **>** Save verification code **>**  Return to the Poloniex website and enter verification code.
2. If you have the authenticator connected. Open the authenticator on your mobile device **>** Select Poloniex and copy verification code **>** Return to the Poloniex website and enter verification code.
3. Click **\[Submit].**

#### 6. Copy your API key and Secret key

Do not forget to save your API and secret keys. Otherwise, when you close the window, the keys will become hidden and you will have to start all over again.

<figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FjctBeiOzhAcSPZeHmnFS%2Fimage.png?alt=media&#x26;token=6885c113-e3cd-482e-a9d6-de2bb233ce45" alt="API and Secret keys"><figcaption><p>API and Secret keys</p></figcaption></figure>

**7. Match you API key with our application**

1. Login to your **Darkbot** account. (<https://app.darkbot.io/login>)
2. Navigate to the **Credentials** page<br>

   <figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FDO4zT0TqhWsyI9z031F3%2Fimage.png?alt=media&#x26;token=a253f9e2-0c43-424e-9a6a-76055fba287f" alt="Dashboard page"><figcaption><p>Dashboard page</p></figcaption></figure>
3. Click **\[Connect exchange]**<br>

   <figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2F35p9lDKpAD9s0hwUXBc3%2Fimage.png?alt=media&#x26;token=63384e05-68af-4117-8a44-4a3a8d41a67e" alt="Credentials page"><figcaption><p>Credentials page</p></figcaption></figure>
4. Select **Poloniex** exchange in the dropdown and enter **API** and **Secret** keys<br>

   <figure><img src="https://4293125416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjGlKIexsDCCDKIAN_z%2Fuploads%2FWWBq6YGM624mPeetiBb9%2Fimage.png?alt=media&#x26;token=c2d8cc0b-bb15-4fe5-94dc-22316b90a893" alt="Create credentials popup"><figcaption><p>Create credentials popup</p></figcaption></figure>
5. Click **\[Save]**
