> For the complete documentation index, see [llms.txt](https://help.optimusflow.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.optimusflow.app/connections/connection-to-oanda.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.optimusflow.app/connections/connection-to-oanda.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
