# Adding API Keys

1. Go to the [Add API Keys page](https://tradestream.xyz/add-account)
2. Select which exchange you want to add API Keys for
3. Follow the instructions for adding your API Keys
4. &#x20;Click "Add" to add the API Keys

{% hint style="info" %}
To get instructions for a specific exchange you can either find them here in the documentation or on the Add API Keys page
{% endhint %}

***

## Error Messages

<figure><img src="/files/5VOTHndb7gc4qpPoWxuW" alt=""><figcaption><p>A standard error message</p></figcaption></figure>

If your API Keys are invalid or TradeStream has a problem verifying them you will see an error message like the one above pop up.

{% hint style="danger" %}
Usually these error messages will explain what is wrong with the API Keys. But if you are confused why your API Keys are not valid please don't hesitate to contact us through the chat in the bottom-right.
{% endhint %}

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tradestream.xyz/accounts/adding-api-keys.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
