# Connection to OANDA

This guide helps you in a few simple steps to configure the connection to OANDA with the correct settings.

1. Open real or demo trading account with OANDA on their [**official website**](https://www.oanda.com/).

![Open demo or real account with OANDA](/files/-LvqvnhjrMOuPgI59Kwr)

1. After completing registration and confirming your account, **go to your OANDA account**. To do this, use your *Username* and *Password*.
2. Click on **Manage API Access** in *My Services* to get a unique API key (Token API) in your personal cabinet.

![Get your personal API key](/files/-Lvqvnhlo8V3Lh5XtG-B)

1. **Generate your API key** and copy it carefully.&#x20;

{% hint style="success" %}
In case you have forgotten or lost your API key, you can create a new one at any time. To do this, click the **Revoke** button.
{% endhint %}

![Generate and copy your API key](/files/-Lvqvnhnvo1XaWYeDC_e)

1. Launch OptimusFLOW platform **(**[https://www.OptimusFLOW.com/](https://optimusfutures.com/OptimusFlow.php)**)** and select OANDA from the connection list. Choose demo or real connection and insert the API key.

![Connect to OANDA using your API Key.](/files/-M1S3Hc5JShu2QBCNVmA)


---

# 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://help.optimusflow.app/connections/connection-to-oanda.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.
