> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.rocketfi.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting started

> Create keys, pick an environment, and make your first API calls.

## Before you begin

1. Use a **RocketFi** account on the environment you are targeting (for example **beta** at [beta.rocketfi.io](https://beta.rocketfi.io)).
2. Open **[API management](https://beta.rocketfi.io/api-management)** and create an **API key** for use with the **SDK** (signing transactions). Store it like a password—it is **not** sent as an HTTP auth header.
3. Point your client at the correct **REST base URL** and **WebSocket host** for that network — see [Environments](/guides/environments).

## Where to explore the API

| Tool                                                                                                                                      | Use for                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| **This documentation site**                                                                                                               | Narrated guides, grouped REST reference, AsyncAPI WebSocket reference, Mintlify playground |
| [Swagger UI](https://beta.rocket-cluster-1.com/docs/)                                                                                     | Trying REST operations with **Try it out** against the live beta cluster                   |
| Live [OpenAPI](https://beta.rocket-cluster-1.com/docs/openapi.json) / [AsyncAPI](https://beta.rocket-cluster-1.com/docs/ws-asyncapi.yaml) | Machine-readable contracts for codegen and CI                                              |

## Typical integration path

1. **Read-only:** call public REST routes (instruments, candles, fees, and so on) to learn payloads—no API key in headers.
2. **Account data:** use routes that take an **account** (and pagination) per OpenAPI; see [Authentication](/guides/authentication).
3. **Real-time:** open WebSocket `/ws`, subscribe with the JSON kinds in AsyncAPI, handle `Pong` and `Error` — [Public WebSocket streams](/guides/ws-public) and [Private WebSocket streams](/guides/ws-private).
4. **Trading / writes:** build **signed** requests with the **Rust or Python SDK** and your API key configuration; submit per the **REST API** and confirm on the socket where applicable.

## Security

Never commit API keys to git, log them in plain text, or expose them in front-end bundles. Prefer a secret store or environment variables on your server.
