> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/user-guide/api-key-creation/okx.md).

# OKX

## Step One

If you haven't already, go to [OKX](https://www.okx.com/join/3802272) website and create an account. Proceed with KYC.

## Step Two

Verify your account, add 2FA and get started with creation of sub-account

<figure><img src="/files/gUU3pQ7m5TtU4TP2LKYK" alt="okx api for origami tech, go to sub-accounts menu"><figcaption></figcaption></figure>

<figure><img src="/files/pB4ZHdq9rYl5IXg9nxxY" alt="okx api for origami tech, create sub-account"><figcaption></figcaption></figure>

Create a login name to Sub-account and use Standard sub-account → click on Submit all

<figure><img src="/files/02yrF3RePCABITRPDFNW" alt="okx api for origami tech, set up sub-account "><figcaption></figcaption></figure>

Complete creation of Sub-account with 2FA

<figure><img src="/files/SWUrFBJNYGXBrfixCNr5" alt="okx api for origami tech, 2 factor authentication "><figcaption></figcaption></figure>

## Step Three

Go to Sub-account page and click on Action → Manage API

<figure><img src="/files/xSG5lZf82IUxZ3yEoprp" alt="okx api for origami tech, go to actions, manage API"><figcaption></figcaption></figure>

Create API Name, choose Account (sub-account if created previously, Main if not).&#x20;

Use API trading Purpose, link this IP address to allowlist: **15.235.202.52**

Permissions: Read, Trade&#x20;

Come up with Passphrase (you must remember it)

<figure><img src="/files/sW4KkDJso4CXhjw7T48z" alt="okx api for origami tech, set up api"><figcaption></figcaption></figure>

Click on Submit all and proceed with Email and 2FA to finish API creation
