# Introduction

**Sub-account can only be enabled and created when logging in via third-party authorization (Apple/Google). It cannot be enabled when using 'Connect Wallet' login.**

### Setting up

The first step to use `1Dex developer kits` is setting up your environments.

<table data-view="cards"><thead><tr><th></th><th data-type="content-ref"></th><th></th></tr></thead><tbody><tr><td></td><td><a href="/pages/ctWiItHE5aBIu0fjvsEX">/pages/ctWiItHE5aBIu0fjvsEX</a></td><td>Apply for an API key for the primary account, to be used with both REST API and WebSocket stream.</td></tr><tr><td></td><td><a href="/pages/opmqOnI3wqXgxou0vGMy">/pages/opmqOnI3wqXgxou0vGMy</a></td><td>Enable subaccount function to isolate trading strategies through multiple subaccounts.</td></tr></tbody></table>

### Dev kits components

The development kits consist of the following components. Click the links below to access detailed documentation for each reference:

* [Restful API Reference](/developer/restful-api-reference/overview.md)
* [Websocket Streams](/developer/websocket-streams/overview.md)
* [Javascript SDK](/developer/sdks/javascript-sdk.md)


---

# 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.1dex.com/developer/getting-started/introduction.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.
