> For the complete documentation index, see [llms.txt](https://docs.motivewave.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.motivewave.com/knowledge-base/connection/gain-connection.md).

# GAIN Connection

In GAIN, you will need to enable your GAIN account to work with MotiveWave. You can do this from the 3rd Party Software section in your account settings on the GAIN Futures website.

Go to [myaccount.gainfutures.com](https://myaccount.gainfutures.com/)

1. Log into your account
2. Once you have successfully logged into your account, click on **Other Links > Manage 3rd Party Software**.
3. Find ‘MotiveWave’ in the software table and click the **Enable (plus sign icon)**

In MotiveWave:

1. On the MotiveWave startup screen, choose **Options** > **Workspaces**
2. Create a new Workspace.
3. Type a name for the Workspace under **Workspace Name**.
4. Under **Service**, scroll down and select **GAIN**
5. Type your GAIN username in the **Username** field.
6. Under Connection, select whether it is a Simulation or Live account.
7. Click **Create Workspace**.


---

# 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://docs.motivewave.com/knowledge-base/connection/gain-connection.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.
