# Setup Perpetual Account

## Perpetual Instructions

To setup perpetual trading on James, you will need to obtain an API key and API ID from Vela Exchange.

1. Visit the [Vela App](https://app.vela.exchange/?refer=5Q1A6BWG) to obtain your API key and API ID!&#x20;

<figure><img src="/files/0VE514P0Ybi3oxuMLKVg" alt=""><figcaption></figcaption></figure>

Follow the steps [here ](https://docs.vela.exchange/vela-knowledge-base/developers/trade-bots-api#how-to-create-an-api-key-on-the-vela-app)for more instructions!&#x20;

2. Once you have your API key, open James BOT and click 'settings'.

<div align="left"><figure><img src="/files/rsb8K4ngSOsZOAFssHiI" alt="" width="375"><figcaption></figcaption></figure></div>

Then select '**Perpetual API Key settings'**

<div align="left"><figure><img src="/files/00TI5MGmTPXG7nyAfPP1" alt="" width="332"><figcaption></figcaption></figure></div>

You will then be given the option to '**Update Vela API Key**'

<img src="/files/wLMjW1qK3rlDADlP6hJd" alt="" data-size="original">&#x20;

3. Copy/paste your key into James Bot and hit enter.

**Remember, don't share your API key and Key ID with anyone. Keep them confidential to ensure your account's security.**

***

Join our [Telegram channel](https://t.me/Mr_JamesBot) to start your trading mission!


---

# 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://docs.jamesbot.ai/configuration/setup-perpetual-account.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.
