# 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](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-LvqvnhjrMOuPgI59Kwr%2Fopen-an-account-with-oanda.png?generation=1576100907542809\&alt=media)

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](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-Lvqvnhlo8V3Lh5XtG-B%2Fget-api-key.png?generation=1576100910419180\&alt=media)

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](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-LvqvlZAGmY-zeltmwwG%2F-Lvqvnhnvo1XaWYeDC_e%2Fcopy-api-key.png?generation=1576100910589556\&alt=media)

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.](https://3544171604-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvquTYs4Kw8odYPu7JS%2F-M1S2ZdJ-zS82Z24uyUE%2F-M1S3Hc5JShu2QBCNVmA%2Fimage.png?alt=media\&token=abe0c6cb-1e34-474f-929e-aa76b59f687a)
