# OKX > Make a read-only API key on OKX, with its passphrase, and connect it to Port_. Source: https://docs.getport.app/adding/exchanges/okx/ **What you paste:** API key, API secret, passphrase. **Where the key is made:** [OKX's API key screen](https://www.okx.com/account/my-api) (you need to be signed in to OKX). **Checked before it is stored.** We ask OKX what the key can do and refuse it outright if it can trade or withdraw. The key is sealed with AES-256-GCM on our server and never returned by any route. What comes from OKX is how much of each coin you hold. What it is worth comes from our own price store. ## Making the key From [OKX’s own API FAQ](https://www.okx.com/en-eu/help/api-faq). 1. Sign in to OKX on the web, go to your profile, choose **API and connections**, then **Create API key**. 2. Fill in the key’s name and pick the account, as OKX asks. 3. Under **Permissions**, tick **Read** and nothing else. 4. Set a passphrase. It is a password you choose; OKX cannot show it again, so keep it with the key. 5. Copy the API key and the secret key. ## Connecting it 1. In Port\_, open **Add to your port** and pick OKX under Exchanges. 2. Paste the key, the secret and the passphrase into the fields the panel shows and press **Connect**. 3. We ask OKX what the key can do and accept it only if the answer is read only and nothing else. A key carrying any other permission is refused and the screen names it.