> For the complete documentation index, see [llms.txt](https://docs.tread.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tread.fi/account-creation-and-api-key-connection/connecting-to-exchanges/deribit.md).

# Deribit

{% embed url="<https://www.youtube.com/watch?ab_channel=treadfi&v=pQwKpKdWb-I>" %}

### Create sub-account

#### Navigate to Subaccounts

* Once you’re logged in, navigate to your profile icon in the top-right corner.
* Click ”Subaccounts” from the dropdown menu.

#### Create a New Subaccount

* On the Subaccounts page, click ”Add a New Subaccount”.

#### Edit a New Subaccount

* Find the newly created subaccount. Next to the subaccount details, click on the pencil icon.

#### Separate login details for subaccounts

* Add email address/change name of the account/allows separate login/set a password/email address notifications and margin warnings/set up two factor authentication for the subaccount.

### Create API key for sub-account

#### Access API Management

* On the API Management screen, click "ADD NEW KEY".

#### Configure API Key Settings

* Set Account to `read`
* Set Trade to `read_write`
* Enter the IP address of the TaaS server to restrict API access using this key to requests coming from its address: `54.238.80.239`
* Once done, click "Create a new API key".

<figure><img src="/files/78X2JxndBZrRfGQ0OhkP" alt=""><figcaption></figcaption></figure>

### Linking API Key to tread.fi&#x20;

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

* Open up tread's Key Management menu. From the app.tread.fi home page, it can be accessed by clicking on the wallet icon on the top right.
* Click Connect CEX Account
* Select Deribit from the Exchange dropdown
* Set a name for this key for your own reference.
* Copy and Paste the API Key and Secret from Deribit  into the respective boxes.
* Click submit.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcxPKL5LuLWoy8DhaDHamKZHxvlg_XxfPWItdQAsszl7-i0PaGiYD1VCKxBeewjJBQUxbITppwpIrG5JuE6TM_I9P4BPOEM7eijX6gi6DPdUrhHYBW1QDER5NuRZEBfkap2GxjrOICcVywn-NCJS7Oe01XN?key=0Y_t4MkkxDXunkOK3-fvXw" alt=""><figcaption></figcaption></figure>

<br>
