# Introduction

Since `v1.2.1` there is a configuration menu that walks you through the exchange and pair configuration.

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FZGhf3iahpAM1VBF2l408%2Fconfig_1.png?alt=media&#x26;token=6015cc99-39b7-4aea-b818-8547c6fc7285" alt=""><figcaption></figcaption></figure>

First, you will need to add an exchange for the bot to trade on. In this example, Coinbase is chosen.

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FhBy2xsI3y5G3VgUKHS0a%2Fconfig_2.png?alt=media&#x26;token=68d77f09-292a-4ebb-9389-0ab0f92ab9da" alt=""><figcaption></figcaption></figure>

Next, enter your API key information and enable the exchange. If you press `enter` it will use the default value inside the bracket. If no bracket exists then you *must* type a value.

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FSXxWFMKcAi3dWfmjBLS1%2Fconfig_3.png?alt=media&#x26;token=67b487f3-b4e3-4359-9c82-441ba1ef97d2" alt=""><figcaption></figcaption></figure>

Finally, create a trading pair to add to the exchange. The symbol on Coinbase is `BTC-USD`, but on another exchange it may differ.

<figure><img src="https://52669202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi8zuIwOp4HKMv0DfxDSf%2Fuploads%2FLvrAK7igEc2691ushjat%2Fconfig_4.png?alt=media&#x26;token=a1070f25-2d79-443f-b91d-fdc0ed56de42" alt=""><figcaption></figcaption></figure>

Finished! Press `q` to save and quit then restart phBot. You can edit your configuration before the bot starts by pressing `e`.

Remember, you can always edit `phBot.ini` to change an option that is not shown in the menu system.


---

# 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://crypto.phbot.org/configuration/introduction.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.
